This is a personal blog to document and share code, projects, learnings, lessons in programming and application security.
The blog uses DoIt hugo theme for easier content management and documentation. The theme is content-rich template theme.
Some of the main features of the theme are:
- Custom Header
- Custom CSS Style
- A new home page, compatible with the latest version of Hugo
- A lot of style detail adjustments, including color, font size, margins, code preview style
- More readable dark mode
- Some beautiful CSS animations
- Easy-to-use and self-expanding table of contents
- More social links, share sites and comment system
- Search supported by algolia, Fuse.js or Pagefind
- Copy code to clipboard with one click
- Extended Markdown syntax for Font Awesome icons
- Extended Markdown syntax for ruby annotation
- Extended Markdown syntax for fraction
- Mathematical formula supported by KaTeX
- Diagram syntax shortcode supported by mermaid
- Interactive data visualization shortcode supported by ECharts
- Mapbox shortcode supported by Mapbox GL JS
- Embedded music player supported by APlayer and MetingJS
- Bilibili player supported
- Kinds of admonitions shortcode supported
- Custom style shortcodes supported
- CDN for all third-party libraries supported
- Multiple Authors supported
The theme can be installed on the base of hugo theme through use of git as follows:
- Add this repo as a submodule of your site directory.
git submodule add https://github.com/HEIGE-PCloud/DoIt.git themes/DoIt
- Later you can update the submodule in your site directory to the latest commit using this command:
git submodule update --remote --merge