Hugo theme skeleton
This commit is contained in:
parent
7c81a5a0dd
commit
4e77e64ab2
19 changed files with 249 additions and 0 deletions
10
themes/qogir/layouts/_default/single.html
Normal file
10
themes/qogir/layouts/_default/single.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
|
||||
{{ .Content }}
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue