hexo-theme-terminal
v1.0.1
Published
Terminal theme for Hexo.
Downloads
49
Readme
hexo-theme-terminal
Terminal theme for Hexo.
Install & Usage 安装使用
npm install hexo-theme-terminal
Then, change your theme to terminal
:
然后修改配置文件,将主题改为terminal
即可:
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: terminal
Theme has two languages: en-us
and zh-cn
, you can change the language by setting language
in _config.yml
:
主题内置了en-us
和zh-cn
两种语言,可通过language
配置来指定:
language: zh-cn
Configuration 配置
You can set the following configuration in theme_config
:
在theme_config
配置中,可以使用以下配置项:
menus
An object, to config top navbar 一个对象,用于配置博客的顶部导航栏favicon
A string, specify favicon file 一个字符串,用于配置博客的faviconfooters
An object, contains links in footer (e.g. copyright links) 一个对象,用于配置博客底部的链接信息(如版权链接、备案链接等)google_analytics
An object to config google analytics, put the id intracking_id
property 一个对象,用于配置博客的Google Analytics,将ID写在tracking_id
属性中
example 示例:
theme_config:
menus:
首页: /
月度报告: /categories/月度报告
关于: /about/
favicon: '/favicon.png'
footers:
'© Tinkink': 'https://tinkink.net'
google_analytics:
tracking_id: G-XXXXXXXXX
Demo: https://blog.tinkink.net
History 历史记录
1.0.1 (2022-07-11)
- Change
maiyatang
totinkink
1.0.0(2021-12-15)
- initial release 首次发布