LIVE DEMO HERE
This is a customized Hexo theme forked from Dreyer/hexo-theme-artemis, which is based on theme pinggod/hexo-theme-apollo.
- Fix logo alignment and content margin on mobile screen.
- Add tags and categories of posts.
- Change colors to dark theme.
- Highlight code block with Ocean theme
- Replace theme dev-dependency grunt-contrib-sass with grunt-sass, which compiles SASS to CSS in Node.js. No need of Ruby anymore.
For other original features and configs, please refer to Artemis and Apollo.
cd
to your hexo project folder & install dependencies. This theme renders html layout from .pug
files.
npm install --save hexo-renderer-pug hexo-generator-feed hexo-generator-sitemap
Clone repo to path theme/artemis-night.
git clone https://github.com/yuugou727/hexo-theme-artemis-night.git themes/artemis-night
hexo new page tags
This creates /tags/index.md
in the /source
folder.
Add two new lines to its front-matter block like this:
type: "tags"
comments: false
---
In _config.yml
, change theme
to artemis-night
.
At /artemis-night
folder, install dependencies.
npm install
There are two avaliable commands to complie /scss
to source/css/theme.css
:
npm run watch
- watch.scss
files' change and build instantlynpm run build
- build for once
This theme is forked from Dreyer/hexo-theme-artemis and partly customized.
According to classical Greek mythology, Artemis is the twin sister of Apollo and as this theme is virtually identical to hexo-theme-apollo ...
While Apollo is the god of sun, Artemis is the goddess of moon. It's literal suitable to be a night-like dark theme.
MIT