clean style theme
make sure that you have already installed
ruby
,jekyll
, jekyll-installation
-
To install a theme, first, clone it to your dir
$ git clone git@github.com:stuarthua/jekyll-hux-theme.git $ gem install jekyll-paginate rouge
-
Then, custom config file
_config.yml
:# Site settings title: Stuart Hua's Blog auther: Stuart Hua SEOTitle: Stuart Hua's Blog header-img: assets/theme/img/home-bg.jpg email: stuarthua.cn@gmail.com description: "关于技术、产品、生活、思考 | Life Lovers / Engineer" keyword: "StuartHua, 产品, 技术, 生活, 思考, Life Lovers, Engineer" url: "https://xxxxxx.com" # your host, for absolute URL baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog' # SNS settings RSS: true # weibo_username: 339719222 # zhihu_username: stuarthua github_username: stuarthua twitter_username: stuarthua_sir facebook_username: stuarthua.sir # linkedin_username: firstname-lastname-idxxxx # Friends settings # friends: [ # { # title: "Stuart Hua", # href: "https://blog.stuarthua.com" # },{ # title: "Github", # href: "https://github.com" # } # ] # Disqus settings disqus_username: stuarthua # Netease settings # netease_comment: false # Analytics settings # Baidu Analytics # ba_track_id: xxxxxx # Google Analytics # ga_track_id: 'UA-xxxxxxx-xx' # Format: UA-xxxxxx-xx # ga_domain: xxxxx.com # Google Adsense settings # google_ad_client: 'xxxxxxx-xxxxx-xx' # Sidebar settings sidebar: true # whether or not using Sidebar. sidebar-about-description: "Rethink to be Better!" sidebar-avatar: /assets/theme/img/avatar-stuart.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
-
Config
about
on/_includes/about/zh.md
,/_includes/about/en.md
This project is licensed under the MIT license.