longbiaochen / hexo-theme-amber

:tada: A bootstrap blog theme for hexo

Home Page:https://mitscherlich.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔊: MAINTAINER NEEDED
Currently, I'm not focusing on this project anymore. Since it a little bit out of date and Vue.js 3 is coming soon next year, if you're also interested in this theme, please contact me and I'll transfer this repo to you.

hexo-theme-amber

Build Status juejin MIT License

Hexo theme based on Vue.js and Bootstrap for mitscherlich.me.

Preview

Language: 🇺🇸🇨🇳

⚠️ Note: This theme cannot be use as a individual Vue.js spa. You need to setup a Hexo blog.

Install

via this repo:

$ git clone https://github.com/Mitscherlich/hexo-theme-amber.git themes/amber

Then modify you _config.yml:

# ...
## Theme
theme: amber  # this enable your theme config
# ...

Enjoy your writing!

$ hexo clean && hexo serve

Develop

This theme provide prebuild static assets on default branch. You may need to checkout develop branch if you want to custom the theme. There is no difference with Vue development you are familiar with:

$ git clone https://github.com/Mitscherlich/hexo-theme-amber.git -b develop themes/amber-dev
$ cd themes/amber-dev && npm install # Also, yarn will be ok

Just follow the installation, but notice that you have to run both hexo serve and yarn serve at the same time. Otherwise you will not get the posts data.

$ cd /path/to/blog/theme/amber-dev
$ yarn serve

Then open another terminal:

$ cd /path/to/blog
$ hexo clean && hexo serve --port 4000

Note: hexo server must running on port 4000. You may need to modifiy the vue.config.js under theme root if using other specific port.

License

MIT

About

:tada: A bootstrap blog theme for hexo

https://mitscherlich.me/

License:MIT License


Languages

Language:JavaScript 86.0%Language:HTML 13.7%Language:CSS 0.3%