hugo-ataru

Hugo theme with titleless posts and microformats2 support

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

single.html (564B)

    1 {{ define "main" }}
    2 <main class="h-entry">
    3   <header>
    4     {{ $timestamp := .Date.Format "2006-01-02T15:04:05Z07:00" }}
    5     <a class="u-url" href="{{ .RelPermalink }}">
    6       <time class="dt-published" datetime="{{ $timestamp }}">{{- $timestamp -}}
    7     </time></a>{{ partial "language.html" . }}
    8     <span style="float:right;"><a href="{{ "/" | relLangURL }}" class="u-author">⏎</a></span>
    9     {{ with .Title }}<h1 class="p-name">{{ . }}</h1>{{ end }}
   10   </header>
   11   <div class="e-content">{{ .Content }}</div>
   12   {{ partial "hyperskip.html" . }}
   13 </main>
   14 {{ end }}