Hugo 主题
畏光
一个为 Hugo 打造的无聊的暗黑主题。
安装
作为 Hugo 模块(推荐)
- 从你的项目根目录,初始化 Hugo 模块。
hugo mod init <git_repo_domain>/<your_user>/<your_project>
- 将主题的仓库添加到你的
config.[yaml,toml]
theme: github.com/setsevireon/photophobia
theme = ["github.com/setsevireon/photophobia"]
作为 Git 子模块
在你的 Hugo 站点文件夹中运行
git submodule add https://github.com/setsevireon/photophobia.git themes/photophobia
更多信息请阅读 Hugo 的官方设置指南。
配置文件
你可以在 demo/config.yaml
中找到示例配置文件。
贡献
如果你发现错误或有功能想法,请随意使用问题跟踪器告知我。