因为作者个人原因,Hugo Stellar 主题暂停更新直到今年六月底。一直鸽到了 11 月份。🙏🙏🙏
Hexo theme stellar 的 Hugo 移植版本。
Yharim Area:https://yharim.com/
请使用 hugo extended
v0.109.0或更新版本。
全自动建站脚本:
mkdir mySite
cd mySite
git init
git submodule add https://github.com/Yharimium/hugo-stellar themes/hugo-stellar
cp -R themes/hugo-stellar/exampleSite/* .
预览网站:
hugo server
如果网站不能实时显示最新效果的话请使用:
hugo server --disableFastRender
content 目录结构:支持 posts(博客)和 docs(文档)两种模式。
content/
├── posts/
│ ├── test.md <- example.com/posts/test.html
│ └── folder/
│ ├── index.md <- example.com/posts/index.html
│ └── test.md <- example.com/posts/folder/test.html
└── docs/
└── test.md <- example.com/docs/test.html
注:此功能可能存在 bug,请谨慎使用。此功能已稳定。
支持在正文中使用 mkdocs 语法,例如:
!!! note
`markdown` text
详见 扩展语法支持
