除非特殊注明,否则在转载或改编博客里的原创内容(文字,图片等)前,请先通过 [zcat336886@outlook.com] 联系Zcat233。
Hi! This is Zcat Blog. I can record my life, thoughts, feelings, and everything I'd like to record in this blog.
Stated below is the README of Hux Blog.
I never expected this to become 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 - Serve the website (
localhost:4000by default):
$ bundle exec jekyll serve # alternatively, npm startTo 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.
Interesting to know more? Checkout the full user manual!
Ports
- Out of date. Helps wanted for updating it on par with the main repo
Translation
Apache License 2.0 (for code) CC BY-NC-ND 4.0 (for content) Copyright (c) 2024-2026 Zcat233
Zcat Blog is derived from Hux Blog (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.
