A personal blog built with Hugo and the Stack theme.
Site: blog.nicelylit.net
The site documents real-world problems and fundamental methods in software engineering, alongside reflections on growth, observation, and introspection beyond code.
- Bilingual Support: Content is available in both Chinese and English.
- Categories:
- Engineering (工程): Problems, Methods, and Reflections in Software Engineering.
- Writing (随笔): Thinking, Reading, Living, and Practice.
- Search: Uses Stack’s built-in search page.
- Comments: giscus powered by GitHub Discussions.
- Math Support: LaTeX rendering for mathematical expressions.
- Responsive Design: Optimized for mobile and desktop using the Stack theme.
- Analytics: Baidu site statistics integrated, English version TBD.
- Deployment: CI builds on push and syncs the generated site to an OSS bucket.
- CDN: Speedup with Aliyun CDN for visits from CN, global speedup TBD.
-
Clone the repository:
git clone https://github.com/nicelylit/secondorder-site.git cd secondorder-site -
Initialize the theme submodule:
git submodule update --init --recursive
Run the local development server:
hugo server -DThe site will be available at http://localhost:1313.
To generate the static site for production:
hugo --minifyThe output will be in the public/ directory.
content/: Contains all blog posts and pages, organized by language (zh-cn,en).layouts/: Custom layout overrides for the theme.static/: Static assets like images and favicons.config.yaml: Main configuration file for Hugo.themes/: The Stack theme (managed as a submodule).
If you'd like to contribute or suggest changes, please open an issue or submit a pull request.
This project is open-source. Please refer to the theme's license in themes/stack/LICENSE for more details regarding the theme usage.