aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-06-18 22:27:38 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-06-18 22:27:38 +0200
commit3d2ca2089cb20bfe0322118445fd859a9a4c331d (patch)
tree60c187df2871d3580132a2ad0faaa03b6fb2c9a0 /templates
parent98305f7183e28c672c391a686317c8b742fb7f79 (diff)
downloadmitjafelicijan.com-3d2ca2089cb20bfe0322118445fd859a9a4c331d.tar.gz
Simplified template
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html7
-rw-r--r--templates/post.html2
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 @@
36 font-family: sans-serif; 36 font-family: sans-serif;
37 max-width: 760px; 37 max-width: 760px;
38 margin: 0 auto; 38 margin: 0 auto;
39 display: flex;
40 flex-direction: column;
41 gap: 1em;
39 } 42 }
40 43
41 main { margin-bottom: 1em; }
42
43 header { margin-bottom: 1em; }
44
45 header nav { 44 header nav {
46 display: flex; 45 display: flex;
47 align-items: center; 46 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 @@
21 {{ if and (eq .Type "post") (not .Draft) }} 21 {{ if and (eq .Type "post") (not .Draft) }}
22 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> 22 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
23 {{ end }} 23 {{ end }}
24 {{ end }} 24 {{ end }}
25 </ul> 25 </ul>
26</section> 26</section>
27 27