mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 08:10:41 +00:00
Add partials
This commit is contained in:
parent
16103599b3
commit
9f753226f6
6 changed files with 52 additions and 11 deletions
9
layouts/partials/content-details.html
Normal file
9
layouts/partials/content-details.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ if not .Date.IsZero }}
|
||||
<span title='{{ .Date.Format "January 2 2006" }}'>{{ .Date.Format "2006-01-02" }}</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
{{ range $1, $e := .Params.tags }}
|
||||
<a href="/tags/{{ urlize . }}">#{{ . }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue