我刚刚从https://github.com/hugo-toha/hugo-toha.github.io克隆了Hugo模板站点,我尝试使用代码hugo server -t toha -w运行它,我得到了以下错误:hugo-toha.github.io/content/notes/bash/basic/index.bn.md:13:1": failed to extract shortcode: template for shortcode "note" not found
因为我刚刚从官方回购中克隆出来,它应该可以工作,如果我在本地运行它,并且应该像在https://hugo-toha.github.io/站点中一样,有人知道发生了什么?多谢各位
发布于 2022-04-07 15:23:53
当您在“布局/短代码”目录中添加“note.html”时,这将是“固定的”。
https://stackoverflow.com/questions/71775176
复制相似问题