惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
GbyAI
GbyAI
U
Unit 42
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
D
DataBreaches.Net
N
Netflix TechBlog - Medium
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
Martin Fowler
Martin Fowler
月光博客
月光博客
MongoDB | Blog
MongoDB | Blog
MyScale Blog
MyScale Blog
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
罗磊的独立博客
B
Blog RSS Feed
J
Java Code Geeks
The GitHub Blog
The GitHub Blog

Hugo - 分类 - cywhat's blog

Hugo的Loveit主题修改sitemap Site.webmanifest异常处理 Loveit开启评论功能 Loveit主题开启文章赞赏 Loveit主题的一些美化设置
Failed to Extract Shortcode:template for Shortcode Admoni...
cywhat · 2022-10-13 · via Hugo - 分类 - cywhat's blog

1、问题

换新设备后迁移基于hugo构建的静态博客出现的报错,报错如下:

failed to extract shortcode: template for shortcode "admonition" not found

2、原因

未使用hugo_extended版本,导致loveit主题自带的"admonition"模块没有渲染出来报错了

3、解决

1
2
3
4
5
1、下载安装hugo_extended版本

2、初始化submodule

git submodule update --init --recursive

安装hugo_extended

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏