2018-10-23 01:15:50 -04:00
|
|
|
{{ define "header" }}
|
|
|
|
{{ partialCached "header.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2018-12-11 11:02:36 -05:00
|
|
|
<main class="site-main section-inner thin animated fadeIn faster">
|
2018-10-23 01:15:50 -04:00
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{- if .Content }}
|
|
|
|
<div class="content">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
{{- range .Data.Pages.GroupByDate "2006" }}
|
|
|
|
<div class="posts-group">
|
|
|
|
<div class="post-year">{{ .Key }}</div>
|
|
|
|
<ul class="posts-list">
|
|
|
|
{{- range .Pages }}
|
|
|
|
<li class="post-item">
|
|
|
|
<a href="{{.Permalink}}">
|
|
|
|
<span class="post-title">{{.Title}}</span>
|
|
|
|
<span class="post-day">{{ .Date.Format .Site.Params.dateformShort }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
</main>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "footer" }}
|
|
|
|
{{ partialCached "footer.html" . }}
|
2018-12-11 11:02:36 -05:00
|
|
|
{{ end }}
|