Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / hugo-clarity / layouts / partials / post-meta.html
blob: f39b050f95a4a312bf7016fa34fdc6b9baccfaf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class = 'post_meta'>
  <svg class="icon">
    <use xlink:href="#calendar"></use>
  </svg>
  <span class="post_date">
    {{ .Date.Format "Jan 2, 2006" -}}
  </span>
  {{- with .Params.tags -}}
  {{- range . }}
  {{- $tag := . | urlize }}
  <a href = '{{ absURL (printf "tags/%s" $tag) }}' class = 'post_tag button button_translucent'>
    {{- . }}
  </a>
  {{- end }}
  {{- end }}
</div>