I never expect this becomes popular.
You will need Ruby and Bundler to use Jekyll. Following Using Jekyll with Bundler to fullfill the enviromental requirement.
Installed dependencies in the Gemfile
:
$ bundle install
localhost:4000
by default):$ bundle exec jekyll serve # alternatively, npm start
To modify the theme, you will need Grunt. There are numbers of tasks you can find in the Gruntfile.js
, includes minifing JavaScript, compiling .less
to .css
, adding banners to keep the Apache 2.0 license intact, watching for changes, etc.
Yes, they were inherited and are extremely old-fashioned. There is no modularization and transpilation, etc.
Critical Jekyll-related code are located in _include/
and _layouts/
. Most of them are Liquid templates.
This theme uses the default code syntax highlighter of jekyll, Rouge, which is compatible with Pygments theme so just pick any pygments theme css (e.g. from here and replace the content of highlight.less
.
Ports
Translation
Apache License 2.0. Copyright (c) 2015-present Huxpro
Hux Blog is derived from Clean Blog Jekyll Theme (MIT License) Copyright (c) 2013-2016 Blackrock Digital LLC.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。