mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-14 20:35:58 -06:00
10 lines
218 B
Markdown
10 lines
218 B
Markdown
|
{{ with .File -}}
|
||
|
{{ with (.Path | readFile) -}}
|
||
|
{{ . -}}
|
||
|
{{ else -}}
|
||
|
{{ errorf "file not found: %s" .Path -}}
|
||
|
{{ end -}}
|
||
|
{{ else -}}
|
||
|
{{ errorf "no file available for markdown template?" -}}
|
||
|
{{ end -}}
|