【文件属性】:
文件名称:contrast-hugo:简约雨果主题
文件大小:1.8MB
文件格式:ZIP
更新时间:2021-05-05 21:30:04
JavaScript
Jekyll主题的改编。
安装
要将Contrast安装为默认主题,请首先将此存储库安装在themes/目录中:
$ cd themes/
$ git clone https://github.com/niklasbuschmann/contrast-hugo.git
其次,在config.toml文件中将“ contrast-hugo指定为默认主题。 只需添加行
theme = "contrast-hugo"
在文件的顶部。
配置示例
title = "Davids Blog"
author = "David Wallace"
theme = "contrast-hugo"
[params]
minimal = false
excerpts = false
description = "my blog"
[menu]
[[menu.main]]
identifi
【文件预览】:
contrast-hugo-master
----images()
--------tn.png(122KB)
--------screenshot.png(166KB)
----layouts()
--------404.html(150B)
--------_default()
----archetypes()
--------default.md(8B)
----theme.toml(381B)
----static()
--------css()
--------katex()
--------fonts()
----.gitignore(10B)
----README.md(907B)
----LICENSE.txt(1KB)