List.
This commit is contained in:
parent
9abdee5f7c
commit
ef0717e289
4
layouts/_default/content.html
Normal file
4
layouts/_default/content.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{{ $dateFormat := default "02-01-2006 15:04" (index .Site.Params "date_format") }}
|
||||||
|
|
||||||
|
<h2>{{ .Title | markdownify }}{{ if not .Date.IsZero }} <small>{{ .Date.Format $dateFormat }}</small>{{ end }}</h2>
|
||||||
|
{{ .Content }}
|
@ -0,0 +1,8 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
|
||||||
|
{{ range .Pages }}
|
||||||
|
{{ .Render "content" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user