mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-28 16:17:30 -05:00
See https://gohugo.io/templates/new-templatesystem-overview/ Under layouts/ - mv _default/* . - mv partials _partials - mv shortcodes _shortcodes - mv taxonomy/list.html taxonomy.html - mv taxonomy/term.html term.html
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 -}}