Welcome to mirror list, hosted at ThFree Co, Russian Federation.

entry-meta.html « partials « layouts - github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 95287cacdecbb993456461b4786631d76365cda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<span class="posted-on">
  {{ partial "icons/ui/watch" }}
  {{ $dateFormat := $.Site.Params.dateFormat | default "January 2, 2006" }}
  <a href="{{ .RelPermalink }}">{{ .PublishDate.Format $dateFormat }}</a>
</span>

{{ $tags := slice }}
{{ with .Params.tags }}
<span class="cat-links">
  {{ partial "icons/ui/tag" }}
  <span class="screen-reader-text">Posted in</span>
  {{ range . }}
  {{ $href := print ("tags/" | absLangURL) (. | urlize) "/" }}
  {{ $element := printf "<a href=\"%s\" rel=\"category tag\">%s</a>" $href . }}
  {{ $tags = $tags | append $element }}
  {{ end }}
  {{ delimit $tags ", " }}
</span>
{{ end }}