mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-06 07:51:36 -05:00
This makes them more specific. For example, section.html can't accidentally be a fallback for taxonomy.html, and page.html can't for term.html. Fixes #88
218 B
218 B
{{ with .File -}} {{ with (.Path | readFile) -}} {{ . -}} {{ else -}} {{ errorf "file not found: %s" .Path -}} {{ end -}} {{ else -}} {{ errorf "no file available for markdown template?" -}} {{ end -}}