bobatheme/layouts/_default/single.markdown.md

218 B

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