hugo-theme-mofo

Minimal theme for Hugo
git clone https://git.bracken.jp/hugo-theme-mofo.git
Log | Files | Refs | LICENSE

list.html (271B)


      1 {{- define "content" -}}
      2 {{- .Content }}
      3 <section id="posts">
      4 <ol class="post-list">
      5 {{- range .Pages }}
      6 <li>
      7 {{- if eq .Type "post" -}}{{ dateFormat "2006-01-02" .Date }}: {{ end -}}
      8 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
      9 {{- end }}
     10 </ol>
     11 </section>
     12 {{- end }}
     13