diff options
Diffstat (limited to 'layouts/articles')
| -rw-r--r-- | layouts/articles/automotive-spreadsheets.html | 6 | ||||
| -rw-r--r-- | layouts/articles/page.html | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/layouts/articles/automotive-spreadsheets.html b/layouts/articles/automotive-spreadsheets.html new file mode 100644 index 0000000..b2e27ab --- /dev/null +++ b/layouts/articles/automotive-spreadsheets.html @@ -0,0 +1,6 @@ +{{ define "main" }} + {{ partial "articles/header.html" . }} + {{ .Content }} + {{ partial "asset-table.html" (resources.Match "auto/*.ods") }} + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} +{{ end }} diff --git a/layouts/articles/page.html b/layouts/articles/page.html index 8b8eb16..e15623e 100644 --- a/layouts/articles/page.html +++ b/layouts/articles/page.html @@ -1,11 +1,5 @@ {{ define "main" }} - {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} - {{- $dateHuman := .Date | time.Format "2006-01-02" -}} - <div> - <h1 class="title">{{ .Title }}</h1> - <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> - </div> - + {{ partial "articles/header.html" . }} {{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ end }} |