惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Vercel News
Vercel News
F
Fortinet All Blogs
B
Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
月光博客
月光博客

Dlog

数字时代的沉默守护者:致敬 KeePass 之父 Dominik Reichl 🔐 Web Key Directory (WKD) 部署指南 刀锋上的晨间哲学:316L 不锈钢与我的理容仪式 📘 Git 极简生存指南 📘 TortoiseGit 子模块核验手册:如何看懂 PaperMod 改了什么? 📘 TortoiseGit 子模块更新(升级)操作手册 平安夜,给这个 17 岁的数字家园挂上一串代码风铃 🎄 数字世界的火漆印章:我为什么要给博客文章加上 GPG 签名 异星工场蓝图代码 重构实录:Hugo+PaperMod 的终极现代化改造 上帝视角:为 PaperMod 接入 Microsoft Clarity 用户行为分析 Markdown 写作指南:像写代码一样写文章 🛶 “寻路者”的回归:海洋与波利尼西亚文化的重生 PaperMod 主题微调:Profile Mode 下的中文排版精修 告别腾讯 404,重构幽灵页面 南太平洋的极客简史:从石币区块链到草编飞机 数字领土的隐秘江湖:那些关于域名的疯狂往事 R2速率限制规则配置 蝴蝶效应:一张 25MB 的图片,让我买下了 .org 大良印记买锅记 海棠血泪 修复访客地图 PaperMod 中的 Google Analytic 配置 fnOS极简版「智能屏幕管理」方案 fnOS「开机10分钟后自动关闭屏幕」配置方案 Markdown中常用的HTML代码 再看海贼王 修复Microsoft Store应用更新 新旧交替之际 剃须装备
Hexo NexT主题相关设置及优化(不定期更新)
Chow Ray · 2017-07-21 · via Dlog

背景图片的设置

打开\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设置

Front-matter 是 md 文件最上方以---分隔的区域,用于指定个别文件的变量,如下例:

---
title: Hello World
date: 2017/7/21 20:46:25
---
  1. 关闭某个页面/文章的评论,在 md 文件的 front-matter 中增加 comments: false
  2. 关闭某个文章的版权说明,在 md 文件的 front-matter 中增加copyright: false
    未完待续