A Simple Hexo Theme.
Download, unzip and place it under the Hexo theme directory
Basic configuration in the Global _config.yml
- Enable Theme
theme: hexo-theme-aomori
- Turn off Hexo default Highlight
highlight:
enable: false
Configuration in the Global _config.yml
aomori_logo: /images/avatar.jpg
aomori_menu:
Home: /
Archives: /archives
aomori_widgets:
- toc # Article navigation
- category # Article classification
- tag # Article tags
- recent_posts # latest articles
- archive # Article Archive
aomori_copyright: true # or false
icon
Boxicons Icon Name
url
Link address
aomori_social:
-
icon:
url:
-
icon:
url:
aomori_baidu_sitepush: true # or false
aomori_baidu_analytics: ''
aomori_google_analytics: 'UA-XXXXX-X'
Counting service provided by Busuanzi
aomori_busuanzi: true
Configuration in the Front-matter
Use Relative Path
, refer to resource folder Resource Folder
cover: xxx.jpg
Use Relative Path
, refer to resource folder Resource Folder
photos:
- xxx.jpg
- xxx.jpg
link_reprint:
-
url: url
title: title
-
url: url
title: title
link_refer:
-
url: url
title: title
-
url: url
title: title
Configuration in the Front-matter
layout: tweet
Configuration in the Global _config.yml
Input Disqus ID
aomori_disqus_shortname: ''
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
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 (c) 2020 LIN HONG - Released under the MIT license.