翔翔の据点

Arrogance is the only obstacle to survival. Not weakness or ignorance.

0%

hexo美化

测试quote功能

Elegant in code, simple in core

-1. 官方文档

官方文档http://theme-next.iissnan.com/getting-started.html

https://theme-next.org/docs/getting-started/

2.4 使用pjax,可加速?

https://theme-next.org/docs/theme-settings/

内容概要:

  1. 控制台显示最新版本发布
  2. cache开关
  3. hexo g后是否去除多余文件
  4. 产权???
  5. 文本对齐???
  6. 窄的设备上减少padding
  7. 用户logo(不是头像
  8. 代码块风格
  9. 阅读进度(屏幕顶部
  10. 书签(保存阅读进度
  11. 右上角github
  12. 字体设置

0. 文件结构

  1. 站点配置文件 - hexo\themes\next\_config.yml
  2. 主题配置文件 - hexo\themes\next\_config.yml
  3. 自定义配置文件 - 主题配置文件中,custom_file_path字段规定

选中颜色修改

内容选中默认是蓝色的,偶然看到推酷网站上面是绿色的,很喜欢就打算把自己博客也改改。
打开hexo\themes\next\source\css\_schemes\Gemini下面的index.styl在最下面添加如下代码,需要配置选中背景色和字体颜色

1
2
3
4
5
6
7
8
9
::selection
background #33a183
color #fff
::-moz-selection
background #33a183
color #fff
::-webkit-selection
background #33a183
color #fff

pdf显示

坑!把类似IDM之类的浏览器插件都关了,或者取消监视

image-20200408202520694

hexo下,Install module to source/lib directory:

1
$ git clone https://github.com/theme-next/theme-next-pdf source/lib/pdf

主题配置文件中,pdf.enable: true

pdf还是放在和md文件同名的文件夹里

引用方式

就是这些~不需要安装hexo-pdf

-------------------------- the end~    thanks for your reading~ --------------------------