From 3d2ca2089cb20bfe0322118445fd859a9a4c331d Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 18 Jun 2024 22:27:38 +0200 Subject: Simplified template --- templates/base.html | 7 +++---- templates/post.html | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/base.html b/templates/base.html index 8627937..db9940b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -36,12 +36,11 @@ font-family: sans-serif; max-width: 760px; margin: 0 auto; + display: flex; + flex-direction: column; + gap: 1em; } - main { margin-bottom: 1em; } - - header { margin-bottom: 1em; } - header nav { display: flex; align-items: center; diff --git a/templates/post.html b/templates/post.html index 79a950a..c8925fa 100644 --- a/templates/post.html +++ b/templates/post.html @@ -21,7 +21,7 @@ {{ if and (eq .Type "post") (not .Draft) }}
  • {{ .Title }}
  • {{ end }} - {{ end }} + {{ end }} -- cgit v1.2.3