Layout weitermodeln
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
body {
|
||||
font-family: system-ui, sans-serif;
|
||||
margin: 0;
|
||||
background-color: red;
|
||||
font-family: system-ui, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,12 +1,14 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ .Title }}
|
||||
{{ .Content }}
|
||||
|
||||
<hr>
|
||||
|
||||
{{ range .Pages.ByDate }}
|
||||
<a href="{{ .RelPermalink }}"><h2>{{ .Date.Format "2006-01-02" }}</h2></a>
|
||||
<a href="{{ .RelPermalink }}"><h2>{{ .Title }}</h2></a>
|
||||
{{ .Content }}
|
||||
<hr>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{{ define "title" }}SWP - {{ .Page.Title }}{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Date.Format "2006-01-02" }}</h2>
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user