summaryrefslogtreecommitdiff
path: root/themes/hugo-book/layouts/partials/docs/post-meta.html
blob: 457e2c0c7b8d8edbb8ce152929d6443f5e033ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ with .Date }}
  <div class="flex align-center text-small book-post-date">
    <img src="{{ "svg/calendar.svg" | relURL }}" class="book-icon " alt="" />
    <span>{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat) }}</span>
  </div>
{{ end }}

{{ range $taxonomy, $_ := .Site.Taxonomies }}
  {{ with $terms := $.GetTerms $taxonomy }}
  <div class="text-small">
    {{ range $n, $term := $terms }}{{ if $n }}, {{ end }}
      <a href="{{ $term.RelPermalink }}">{{ $term.Title }}</a>
    {{- end }}
  </div>
  {{ end }}
{{ end }}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.