English document | 中文简体
A simple style blog theme based on the hexo system, the theme is pale in color, and the visual effect is soft. It adopts a double-column card design and is fully functional.
If you can click a small star before using it, the author would be very grateful; of course, if you find it troublesome, it doesn't matter, welcome to use the theme, and hope to bring you a good experience.
The warehouse will be maintained for a long time. Welcome to leave a message on Issues or come to my blog to communicate.If you want to use certain functions, but the theme does not have it, you are welcome to submit your ideas in Issues, and the author thinks good suggestions will be adopted.
Supports perfect display on PC and mobile terminals.
Welcome to use the blog of this topic and leave your site in Issues.
ps:The coupling of this theme is extremely low, and the combination of pages can be freely matched, and interested students can explore in the code.
- github repo:https://github.com/Nov8nana/hexo-theme-simple99
- gitee repo:https://gitee.com/shuxhan/hexo-theme-simple99
- home
- archive
- categories
- tags
- message
- about
It integrates the functions that a blog should have, and can be explored in use, including but not limited to: comments, directories, topping, visitor statistics, classification tags, etc.
You will find a lot of different things, some content I did not put in the configuration, but it does not affect your normal use, but as a surprise waiting for you to discover.
- Download theme source code
cd themes
git clone https://github.com/Nov8nana/hexo-theme-simple99.git
- _config.yml
theme: hexo-theme-simple99
- Run the project
hexo s
- post article
It is strongly recommended to use the following command to publish new content to the github repository
hexo clean && hexo g -d
Click the code directly to download the original file, and then copy it to your themes
folder.
Then modify the theme: hexo-theme-simple99
in the project configuration
In addition to the default dependencies, each hexo theme also has functional plug-ins introduced later by each author. Each theme is different.
The following are the plug-ins recommended for this theme, which can be downloaded according to your needs:
- Search function plugin
npm install --save hexo-generator-search
- Total word count of blog
npm install --save hexo-wordcount
- Top function plugin
npm uninstall hexo-generator-index --save
npm install hexo-generator-index-pin-top --save
- Real-time edit preview plugin
This is an auxiliary plug-in, users can freely choose whether to install it.
Whenever you save the code with ctrl + s
, the browser will automatically refresh instead of manual f5
, and the terminal and browser will pop up a short subtitle to remind the page has been modified.
npm install --save hexo-browsersync
- The blog can be configured with the
config.yml
theme configuration - The comment system has built-in twikoo static comment system, you can refer to official document for configuration,
../themes/hexo-theme-simple99/layout/partials/comments.ejs
file is Comment system configuration file - [about]
When modifying, enter
../themes/hexo-theme-simple99/layout/about.ejs
to fill in your own content, if you don’t need [About], please comment outabout: /about
in the theme configuration - Article generation (all label content, you can choose what you need when using it)
---
title: hello,world
date: 2020-12-17 # release time
tags: tags
categories: categories
top: 9 # Whether the article is topped or not, the default is not to write top, not top; if the top is selected, the number can be selected, if there are multiple tops, sort by number
toc: true # Whether to generate a directory (true generation; default does not write toc, no generation)
cover: # Title background image
---
- If you have other questions
- You can leave a message in Issues
- Send an email to [email protected]
- Message in the message area of my blog,
I will see and reply the first time
Star
orFork
this repository, add a little encouragement to the author- Ask or discuss in Issues