Skip to content

nicelylit/secondorder-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Second Order (有点稳)

A personal blog built with Hugo and the Stack theme.

Site: nicelylit.net (Currently under construction; migrating from nicelylit.net)

Overview

This secondorder.net site is currently under construction. It represents a significant upgrade and migration from the previous nicelylit.net. While the original site was Chinese-only, this new version introduces bilingual support (Chinese and English) and an improved structure.

The site documents real-world problems and fundamental methods in software engineering, alongside reflections on growth, observation, and introspection beyond code.

Features

  • 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: Powered by Pagefind for fast, client-side search.
  • Math Support: LaTeX rendering for mathematical expressions.
  • Responsive Design: Optimized for mobile and desktop using the Stack theme.

Getting Started

Prerequisites

  • Hugo (Extended version recommended)
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/nicelylit/secondorder-site.git
    cd secondorder-site
  2. Initialize the theme submodule:

    git submodule update --init --recursive
  3. Install dependencies (if any):

    npm install

Development

Run the local development server:

hugo server -D

The site will be available at http://localhost:1313.

Building

To generate the static site for production:

hugo --minify

The output will be in the public/ directory.

Project Structure

  • 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).

Contributing

If you'd like to contribute or suggest changes, please open an issue or submit a pull request.

License

This project is open-source. Please refer to the theme's license in themes/stack/LICENSE for more details regarding the theme usage.

About

secondorder-site is the source repository for the Second Order blog (secondorder.net), built with Hugo and the Stack theme. It hosts the site configuration, multilingual content (zh-CN & en), and the templates/assets used to generate the static site.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors