Compare commits

...

2 Commits

3 changed files with 17 additions and 0 deletions

View File

@ -13,6 +13,9 @@ taxonomies:
markup: # this just keeps the bobatheme markup styling
_merge: deep
outputs:
_merge: deep
params:
author:
name: bbaovanc

View File

@ -12,6 +12,11 @@ taxonomies:
author: authors
series: series
outputs:
page:
- html
- markdown
privacy:
googleAnalytics:
disable: true

View File

@ -0,0 +1,9 @@
{{ with .File -}}
{{ with (.Path | readFile) -}}
{{ . -}}
{{ else -}}
{{ errorf "file not found: %s" .Path -}}
{{ end -}}
{{ else -}}
{{ errorf "no file available for markdown template?" -}}
{{ end -}}