First try at a HUGO theme for phiax.nl
This commit is contained in:
commit
4d1ddd22ed
13 changed files with 342 additions and 0 deletions
12
layouts/page.html
Normal file
12
layouts/page.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{{ define "main" }}
|
||||
<article class="article-box">
|
||||
<article class="article-content">
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
<div class="article-meta"><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></div>
|
||||
<div class="article-title">{{ .LinkTitle }}</div>
|
||||
{{ .Content }}
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
</article>
|
||||
</article>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue