






















打开\themes\next\source\css\_custom中的custom.styl文件,如下填写代码:
// Custom styles.
body {
background: url(/images/background.jpg);
background-attachment: fixed;
}
注:去掉background-attachment: fixed;,则背景图随着页面移动而移动;添加则反之。
背景图文件放在\themes\next\source\images文件夹中,名称任意,与上文代码对应即可。也可使用网络图片。
注:仅限Pisces主题。
在\themes\next\source\css\_custom\custom.styl中添加如下代码:
// Custom styles.
.site-meta {
background: #5591DB; //修改为自己喜欢的颜色或图片。
}
未完待续
Front-matter 是 md 文件最上方以---分隔的区域,用于指定个别文件的变量,如下例:
---
title: Hello World
date: 2017/7/21 20:46:25
---
comments: false。copyright: false。此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。