hugo-theme-mofo

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

index.html (248B)


      1 {{- define "content" -}}
      2 <section id="posts">
      3 <ol class="post-list">
      4 {{- range where .Site.RegularPages "Type" "post" }}
      5 <li>{{ dateFormat "2006-01-02" .Date }}: <a href="{{ .RelPermalink }}">{{ .Title }}</a>
      6 {{- end }}
      7 </ol>
      8 </section>
      9 {{- end }}