From 5e6929fe1467e6b7eb1796e980e7073fc93cd22c Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 14 Apr 2025 21:49:11 +0200 Subject: [PATCH] refactor: clean-up and modernize templates a little --- content/docs/index.smd | 2 +- content/faq.smd | 2 +- content/index.smd | 2 +- layouts/home.shtml | 1 - layouts/index.shtml | 6 ++++++ layouts/templates/base.shtml | 20 ++++++++++---------- 6 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 layouts/home.shtml diff --git a/content/docs/index.smd b/content/docs/index.smd index bd0dd88..b70e339 100644 --- a/content/docs/index.smd +++ b/content/docs/index.smd @@ -2,7 +2,7 @@ .title = "Flow Control - a programmer's text editor", .date = @date("2020-07-06T00:00:00"), .author = "CJ van den Berg", -.layout = "home.shtml", +.layout = "index.shtml", .draft = false, --- diff --git a/content/faq.smd b/content/faq.smd index 9b9cf60..9e179a8 100644 --- a/content/faq.smd +++ b/content/faq.smd @@ -2,7 +2,7 @@ .title = "FAQ", .date = @date("2020-07-06T00:00:00"), .author = "CJ van den Berg", -.layout = "home.shtml", +.layout = "index.shtml", .draft = false, --- diff --git a/content/index.smd b/content/index.smd index 8bbd4e5..4659c0a 100644 --- a/content/index.smd +++ b/content/index.smd @@ -2,7 +2,7 @@ .title = "Flow Control", .date = @date("2020-07-06T00:00:00"), .author = "CJ van den Berg", -.layout = "home.shtml", +.layout = "index.shtml", .draft = false, --- diff --git a/layouts/home.shtml b/layouts/home.shtml deleted file mode 100644 index 010d80a..0000000 --- a/layouts/home.shtml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layouts/index.shtml b/layouts/index.shtml index 010d80a..54e79c5 100644 --- a/layouts/index.shtml +++ b/layouts/index.shtml @@ -1 +1,7 @@ + + + +

+
+ \ No newline at end of file diff --git a/layouts/templates/base.shtml b/layouts/templates/base.shtml index 72d2469..d2619c7 100644 --- a/layouts/templates/base.shtml +++ b/layouts/templates/base.shtml @@ -1,17 +1,18 @@ - - - - - + + + + + + - -