~captainepoch/blogtheme

ref: 0d3209ac9c7a7f3ae2373f91ef67955b647f3434 blogtheme/layouts/_default/section.html -rw-r--r-- 328 bytes
0d3209ac — Adolfo Santiago Update README 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{- define "main" -}}
<div>
  <h1>{{ .Title }}</h1>
</div>
<div>
  {{- .Content -}}
</div>
<ul>
  {{- range .Paginator.Pages -}}
  <li>{{ with .Date }}{{ .Format "2006-01-02 15:04" }} - {{ end }}<a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ with .Description }}: {{ . }}{{ end }}</li>
  {{- end -}}
</ul>
</main>
{{- end -}}