A theme of Hexo Inspired by Chiang-Mai City 🇹🇭
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
languages Update Theme May 20, 2017
layout Update head layout Jan 9, 2018
source Remove google fonts Jan 29, 2018
.gitignore Update Theme May 23, 2017
LICENSE Update LICENSE Oct 29, 2017
README.md Update README.md Nov 25, 2017
_config.yml Update entire layouts Dec 1, 2017
gulpfile.js Update Theme May 19, 2017
package.json #7 #8 Updated Nov 4, 2017
yarn.lock #7 #8 Updated Nov 4, 2017

README.md

hexo-theme-chiangmai

hexo-theme-chiangmai is kind of Hexo theme using HTML5, SCSS, Pug, Gulp. An example page with hexo-theme-chiangmai could be found at the below.
https://www.holaxprogramming.com/




Install

Prerequisite Modules

$ hexo init my-blog
$ cd my-blog
$ npm install
$ npm install --save hexo-renderer-pug hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive
$ git clone https://github.com/stunstunstun/hexo-theme-chiangmai.git themes/chiangmai

Use gulp to build

$ cd themes/chiangmai
$ npm install --save-dev gulp gulp-sass gulp-autoprefixer
$ gulp

Configuration Theme

You can configure theme by _config.yml

examples

theme: chiangmai

# hexo-generator-archive
archive_generator:
    per_page: 0
    yearly: false
    monthly: false
    daily: false

Configuration Theme Details

You can configure details ./theme/chiangmai/_config.yml

Examples

menu:
    Archives: /archives/
    LinkedIn: ${URL}
# Site Images
favicon: /favicon.ico
logo: /logo.png
# Profiles
profile: /image/profile.jpg
profile_url: ${URL}
# Google Analytics
ga: ${YOUR_GA_ID}
# Facebook App Id for Comments
fb: ${YOUR_FB_APP_ID}
# Facebook Page URL
fb_page: ${URL}
# Copyright Infomation
startyear: 2012

Deploy

$ hexo clean
$ hexo generate
$ hexo deploy

Update Theme

cd themes/chiangmai
git pull

License

The MIT License (MIT)

Copyright (c) 2017 Minhyeok Jung

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.