Skip to content

devLythen/astro-endfield-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astro-endfield-theme

A bilingual (Chinese/English) blog theme for Astro, themed after Arknights: Endfield.

Quick Start

  1. Clone & Enter the repo:
git clone https://github.com/devLythen/astro-endfield-theme.git astro-blog
cd astro-blog
  1. Install the dependencies (bun's example)
bun install
  1. Do what you wanna do
bun run dev     # Start the developing server
bun run build   # Build the static pages

Customize

Copy and edit theme.toml.exampletheme.toml:

[site]
title = "My Blog"
lang = "zh-CN"

[about]
description = "wow another blog"
tagline = "OBSERVE · RECORD · CREATE"

# [build]
# outDir = "dist"

Create Posts

Add .md files to src/content/posts/:

---
title: My First Post
date: 1980-01-01
description: A short summary
tags: [tag1, tag2]
draft: false
---

Your content here.

Update

git pull origin main

Theme files update automatically. Your config and posts are protected by .gitignore — no merge conflicts.

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages