This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a Jekyll static site blog hosted on GitHub Pages at https://farice4.github.io. The site is written primarily in Chinese and documents the author’s journey in IT, covering topics like OpenStack, Kubernetes, Python, and Linux.
# Install dependencies
bundle install
# Serve locally with live reload
bundle exec jekyll serve
# Build for production
bundle exec jekyll build
├── _config.yml # Site configuration (title, URL, theme, pagination, comments)
├── _layouts/ # HTML templates (default, post, page, demo)
├── _includes/ # Reusable HTML snippets (header, footer, head, comments)
├── _posts/ # Blog posts organized by category (OpenStack, Kubernetes, Python, Linux, etc.)
├── _drafts/ # Unpublished posts
├── _sass/ # SCSS partials imported by main.scss
├── css/ # Compiled stylesheets
├── js/ # JavaScript files (main.js, scroll.js, pageContent.js, etc.)
├── page/ # Static pages (about, collections)
├── index.html # Homepage with pagination and sidebar
└── 404.md # Custom 404 page
Posts use YAML front matter with these fields:
---
layout: post
title: "Post Title"
date: YYYY-MM-DD
categories: Category
tags: [tag1, tag2]
author: Author Name
---
css/main.scss imports partials from _sass/assets/font/header.html - Site navigation headerfooter.html - Site footerhead.html - HTML head with meta tags and stylesheetscategory.html / tag.html - Display post categories and tagscomments.html - Disqus comments integrationbackToTop.html - Back to top button