hugo-ataru

Hugo theme with titleless posts and microformats2 support

git clone git://git.shimmy1996.com/hugo-ataru.git

list.html (604B)

    1 {{ define "main" }}
    2 <nav>
    3   <span class="menu">
    4     {{ range $i, $menu := .Site.Menus.main }}
    5     <a class="entry" href="{{ .URL | relURL }}">{{ .Name }}</a>
    6     {{ end }}
    7     {{ partial "language.html" . }}
    8   </span>
    9   <span class="menu-right">
   10     {{ partial "nav_page.html" . }}
   11   </span>
   12 </nav>
   13 <main class="h-feed">
   14   {{ $pag := partial "get_paginator.html" . }}
   15   {{ if (not $pag.HasPrev) }}
   16   {{ .Content }}
   17   {{ end }}
   18   {{ range $pag.Pages.ByDate }}
   19   <div class="h-entry">
   20     {{ partial "header.html" . }}
   21     <div class="e-content">{{ .Content }}</div>
   22   </div>
   23   {{ end }}
   24 </main>
   25 {{ end }}