mirror of https://gitlab.com/curben/blog
01b278f798 | ||
---|---|---|
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
- Update .gitlab-ci.yml to use the latest version of Node.js in Alpine docker image.
- Update package.json to use latest version of hexo and its related packages.
- Replace the bundled Landscape theme with Typing theme.
Typing theme
- Homepage shows index of posts (same as /archives).
- Use the latest version of clipboard.js and Fork Awesome (disabled by default).
- Remove jQuery, fancyBox, web analytics, comment plugins and donation links.
- Use more relative length, instead of absolute length in the css.
- Add a "Copy" button to each code block.
Hexo packages
- All dependencies 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.
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: