mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-14 15:52:57 -05:00
Compare commits
1 Commits
73568b2c43
...
2ca8d0bde4
Author | SHA1 | Date | |
---|---|---|---|
2ca8d0bde4 |
@ -16,6 +16,11 @@ author:
|
|||||||
markup: # this just keeps the bobatheme markup styling
|
markup: # this just keeps the bobatheme markup styling
|
||||||
_merge: deep
|
_merge: deep
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
page:
|
||||||
|
- html
|
||||||
|
- markdown
|
||||||
|
|
||||||
params:
|
params:
|
||||||
# these are for the OpenGraph/Twitter embeds in Hugo
|
# these are for the OpenGraph/Twitter embeds in Hugo
|
||||||
description: Example website for bobatheme
|
description: Example website for bobatheme
|
||||||
|
9
layouts/_default/single.markdown.md
Normal file
9
layouts/_default/single.markdown.md
Normal 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 -}}
|
Loading…
x
Reference in New Issue
Block a user