added
This commit is contained in:
commit
38ae828d82
85 files changed
+11990
No files matched your search
@@ -0,0 +1,18 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Content }}{{ . }}{{ end }}
|
||||
|
||||
{{ if .Pages }}
|
||||
<div class="page-list">
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
<article class="page-list-item">
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
{{ with .Date }}<p class="page-meta">{{ .Format "January 2, 2006" }}</p>{{ end }}
|
||||
{{ with .Summary }}<p>{{ . | plainify }}</p>{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
<p>No pages found.</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user