.
This commit is contained in:
parent
6623ee03f6
commit
44c8324063
120 changed files with 22842 additions and 4673 deletions
|
|
@ -1,4 +1,20 @@
|
|||
{{ define "main" }} {{ range where site.RegularPages "Type" "in"
|
||||
site.Params.mainSections }}
|
||||
<a href="{{ .RelPermalink}}">{{ .Title }}</a>
|
||||
{{ end }} {{ end }}
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ $years := .Pages.GroupByDate "2006" }}
|
||||
<ul class="year-list">
|
||||
{{ range $years }}
|
||||
<li>
|
||||
<span class="year">{{ .Key }}</span>
|
||||
<ul class="post-list">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<time>{{ .Date.Format "Jan 2" }}</time>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue