diff options
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r-- | layouts/_default/terms.html | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 20347df..3455ec5 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,15 +1,26 @@ {{ partial "header.html" . }} -<div class="content"> - {{ if not .IsHome }} - <h1>{{ .Title | markdownify }}</h1> - {{ end }} - <ul> - {{ range $key, $value := .Data.Terms }} - <li> - <a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}">{{ $key }}</a> - ({{ len $value }}) - </li> - {{ end }} - </ul> -</div> +<main> + <header class="header-inline"> + <div class="heading"> + <div class="info"> + <div class="content"> + {{ if (gt .Params.date 0) }} {{ .Date.Format "January 2, 2006" }} {{ end }} {{ if (gt .Params.author 0) }} by {{ with .Params.author }} {{ . }} {{ end }} {{ end }} + </div> + </div> + <div class="content"> + <h1>{{ .Title | markdownify }}</h1> + </div> + </div> + </header> + <div class="content"> + <ul> + {{ range $key, $value := .Data.Terms }} + <li> + <a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}">{{ $key }}</a> + ({{ len $value }}) + </li> + {{ end }} + </ul> + </div> +</main> {{ partial "footer.html" . }} |