From e4f7ff621810b6b1ac518e35f3e7d97a20892591 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 24 Jun 2025 22:37:47 +0100 Subject: [PATCH] Polish the list template --- conf.example.toml | 4 ++-- templates/list.tmpl.html | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/conf.example.toml b/conf.example.toml index afe9c25..98cc612 100644 --- a/conf.example.toml +++ b/conf.example.toml @@ -10,10 +10,10 @@ base = "base.tmpl.html" [static] dir = "/var/www/gonotes/static" -# These are not for changing! -root = "/static/" assets = [ { path = "css/bootstrap.min.css", url = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" }, { path = "css/tiny-mde.min.css", url = "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.css" }, { path = "js/tiny-mde.min.js", url = "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.js" }, + { path = "icons/pencil-square.svg", url = "https://raw.githubusercontent.com/twbs/icons/refs/heads/main/icons/pencil-square.svg" }, ] +# These are not for changing! diff --git a/templates/list.tmpl.html b/templates/list.tmpl.html index 908d784..f705d90 100644 --- a/templates/list.tmpl.html +++ b/templates/list.tmpl.html @@ -1,10 +1,12 @@ {{define "title"}}All Notes{{end}} {{define "main"}} - + {{end}}