Lists and Headers
This commit is contained in:
+6
-6
@@ -4,12 +4,12 @@
|
|||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<hr>
|
{{ if .Pages }}
|
||||||
|
<ul>
|
||||||
{{ range .Pages.ByDate }}
|
{{ range .Pages.ByDate }}
|
||||||
<a href="{{ .RelPermalink }}"><h2>{{ .Title }}</h2></a>
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||||
{{ .Content }}
|
{{ end }}
|
||||||
<hr>
|
</ul>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
{{ define "title" }}SWP - {{ .Page.Title }}{{ end }}
|
{{ define "title" }}SWP - {{ .Page.Title }}{{ end }}
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h2>{{ .Title }}</h2>
|
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user