mirror of https://gitlab.com/curben/blog
2106e13206 | ||
---|---|---|
scaffolds | ||
source | ||
themes/typing | ||
.gitignore | ||
.gitlab-ci.yml | ||
.npmrc | ||
.nvmrc | ||
.snyk | ||
LICENSE.md | ||
README.md | ||
_config.yml | ||
netlify.toml | ||
package.json |
README.md
curben.netlify.com
Forked from GitLab's Hexo example with Typing theme.
Installation
Refer to this post for more detailed instruction.
Changes
The following are the major changes I made compared to the upstream.
Hexo site
- Updated .gitlab-ci.yml to use the latest version of Node.js in Alpine docker image.
- All packages are installed from their respective master branch, instead of npm published version.
- Removed unused packages, hexo-generator-category and hexo-renderer-stylus from the default packages.
- Replaced the bundled Landscape theme with Typing theme.
Typing theme
- Homepage shows index of posts (same as /archives).
- Removed jQuery, fancyBox, web analytics, comment plugins and donation links.
- Utilise relative length, instead of absolute length in the css.
- Add a "Copy" button to each code block.
Plugins
- Installed hexo-nofollow for SEO purpose to prevent search engines from following external links.
- Installed hexo-yam to pre-compress static assets (html, css, js and svg).
License
The content of this blog is licensed under the CC-BY-SA license, and the underlying source code used to format and display that content is licensed under the MIT license, unless indicated otherwise.
Useful links: