docs: update theme preview image and fix some docs error (#151)

This commit is contained in:
Dillon
2020-03-14 21:47:51 +08:00
committed by GitHub
parent b82c990d9a
commit 61d76c54b4
17 changed files with 89 additions and 71 deletions

View File

@@ -549,9 +549,9 @@ hugo
通过定义自定义 `.scss` 样式文件, **LoveIt** 主题支持可配置的样式.
包含自定义 `.scss` 样式文件的目录相对于 **你的项目** 的路径为 `config / css`.
包含自定义 `.scss` 样式文件的目录相对于 **你的项目根目录** 的路径为 `config/css`.
`_override.scss` 中, 你可以覆盖 `themes/LoveIt/assets/css/_variables.scss` 中的变量以自定义样式.
`config/css/_override.scss` 中, 你可以覆盖 `themes/LoveIt/assets/css/_variables.scss` 中的变量以自定义样式.
这是一个例子:
@@ -560,7 +560,7 @@ hugo
$code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospace;
```
`_custom.scss` 中, 你可以添加一些 CSS 样式代码以自定义样式.
`config/css/_custom.scss` 中, 你可以添加一些 CSS 样式代码以自定义样式.
## 4 多语言和 i18n