* Beginning of hugo driven theming

This commit is contained in:
shockrah
2021-08-14 13:46:18 -07:00
parent f5844e5d51
commit 06fa590790
15 changed files with 400 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{{ $dateTime := .PublishDate.Format "2017-01-01" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
{{ with .Params.tags }}
{{ range . }}
{{ $href := print (absURL "tags/") (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">{{ . }}</a>
{{ end }}
{{ end }}