term.html (647B)
1 {{ define "main" }} 2 <article> 3 <h1>{{ .Title }}</h1> 4 {{- with .OutputFormats.Get "RSS" -}} 5 <a href="{{ .RelPermalink }}">{{ T "rssFeed" }}</a> 6 {{- end }} 7 {{ .Content -}} 8 </article> 9 <hr> 10 <div class="pages"> 11 {{- range .Pages }} 12 <div class="page-item" id="{{ .File.ContentBaseName }}"> 13 {{ $dateTime := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} 14 {{- $dateF := .Date | time.Format ":date_medium" -}} 15 {{- $timeF := .Date | time.Format ":time_short" -}} 16 <div> 17 <span><time datetime="{{ $dateTime }}">{{ $dateF }} {{ $timeF }}</time>:</span> 18 </div> 19 <div> 20 <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> 21 </div> 22 </div> 23 {{- end }} 24 </div> 25 {{ end }}