1.0.1 • Published 2 years ago

hexo-theme-terminal v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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-uszh-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 一个字符串,用于配置博客的favicon
  • footers An object, contains links in footer (e.g. copyright links) 一个对象,用于配置博客底部的链接信息(如版权链接、备案链接等)
  • google_analytics An object to config google analytics, put the id in tracking_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 to tinkink

1.0.0(2021-12-15)

  • initial release 首次发布
1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-alpha.5

2 years ago

1.0.0-alpha.4

2 years ago

1.0.0-alpha.3

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago