Skip to content

Latest commit

 

History

History
257 lines (178 loc) · 3.72 KB

README.md

File metadata and controls

257 lines (178 loc) · 3.72 KB
Action Release license

image

Aomori

A Simple Hexo Theme.

中文文档

Demo

https://linhong.me

Install

Download, unzip and place it under the Hexo theme directory

Using

Basic configuration in the Global _config.yml

  1. Enable Theme
theme: hexo-theme-aomori
  1. Turn off Hexo default Highlight
highlight:
  enable: false

Theme Features

Configuration in the Global _config.yml

Avatar

aomori_logo: /images/avatar.jpg

Navigation Menu

aomori_menu:
  Home: /
  Archives: /archives

Sidebar Menu

aomori_widgets:
  - toc # Article navigation
  - category  # Article classification
  - tag # Article tags
  - recent_posts  # latest articles
  - archive # Article Archive

Creative Commons License

aomori_copyright: true # or false

Social Media

icon Boxicons Icon Name

url Link address

aomori_social:
  -
    icon:
    url:
  -
    icon:
    url:

Baidu Submission

aomori_baidu_sitepush: true  # or false

Baidu Analytics

aomori_baidu_analytics: ''

Google Analytics

aomori_google_analytics: 'UA-XXXXX-X'

Busuanzi Count

Counting service provided by Busuanzi

aomori_busuanzi: true

Article Features

Configuration in the Front-matter

Cover Image

Use Relative Path, refer to resource folder Resource Folder

cover: xxx.jpg

Article Header Image

Use Relative Path, refer to resource folder Resource Folder

photos:
- xxx.jpg
- xxx.jpg

Reprint Link

link_reprint:
  -
    url: url
    title: title
  -
    url: url
    title: title

Reference Link

link_refer:
  -
    url: url
    title: title
  -
    url: url
    title: title

Article Style

Configuration in the Front-matter

Tweet

layout: tweet

Comment

Configuration in the Global _config.yml

Disqus

Input Disqus ID

aomori_disqus_shortname: ''

Gitalk

aomori_gitalk:
  enable: true
  clientID: GitHub Application Client ID
  clientSecret: GitHub Application Client Secret
  repo: GitHub repo
  owner: GitHub repo owner
  admin: 
    - GitHub repo owner and collaborators
    - GitHub repo owner and collaborators
  distractionFreeMode: true // Facebook-like distraction free mode

Page

Friends Links

First create the page,

hexo new page friends

Go to source/friends/index.md,Set up Front-matter

title:
layout: friends
comment: true # or false

Create data, refer to Data Files

Create source/_data/friends.json,The format is as follows

[
  {
    "name": "test1",
    "url": "https://linhong.me"
  },
  {
    "name": "test2",
    "url": "https://linhong.me"
  }
  ...
]

Copyright & License

Copyright (c) 2020 LIN HONG - Released under the MIT license.