Update config

This commit is contained in:
2021-04-12 21:13:49 +02:00
parent 204ae7988e
commit 7ad8b7039b
21 changed files with 138 additions and 217 deletions
+3 -3
View File
@@ -121,7 +121,7 @@ class NoteView(@Named("styles") styles: String) : View(styles) {
}
fun renderedNote(loggedInUser: LoggedInUser?, note: PersistedNote, shared: Boolean) = renderPage(
note.meta.title,
note.title,
loggedInUser = loggedInUser,
scripts = listOf("/highlight.10.1.2.js", "/init-highlight.0.0.1.js")
) {
@@ -136,9 +136,9 @@ class NoteView(@Named("styles") styles: String) : View(styles) {
}
div("flex items-center justify-between mb-4") {
h1("text-3xl fond-bold underline") { +note.meta.title }
h1("text-3xl fond-bold underline") { +note.title }
span("space-x-2") {
note.meta.tags.forEach {
note.tags.forEach {
a(href = "/notes?tag=$it", classes = "tag") {
+"#$it"
}