https://github.com/ziteh/ziteh.github.io
My blog
https://github.com/ziteh/ziteh.github.io
Last synced: 9 months ago
JSON representation
My blog
- Host: GitHub
- URL: https://github.com/ziteh/ziteh.github.io
- Owner: ziteh
- License: mit
- Created: 2020-04-03T13:15:12.000Z (almost 6 years ago)
- Default Branch: astro-papers/main
- Last Pushed: 2025-05-02T14:21:44.000Z (10 months ago)
- Last Synced: 2025-05-06T06:08:20.865Z (9 months ago)
- Language: Astro
- Homepage: https://ziteh.github.io
- Size: 7.44 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AstroPaper-S
AstroPaper-S is a fork of [satnaing/astro-paper v4.5.0](https://github.com/satnaing/astro-paper), based on [Astro](https://astro.build/).
Main changes:
- [Hexo](https://github.com/hexojs/hexo) compatibility, includes routing and markdown frontmatter.
- Auto-generated post descriptions, based on word count or until the `` tag.
- Table of contents with [tocbot](https://tscanlin.github.io/tocbot/).
- Code block syntax highlighter with [rehype-pretty-code](https://github.com/rehype-pretty/rehype-pretty-code).
- Added `loading="lazy"` attribute to `
` tags and added ``.
- Added [Disqus](https://disqus.com/) for comments.
- Static i18n (internationalization) support.
- Tweaked some layout and styles.
- Comment out a few components like the scroll progress bar and breadcrumb.
Most of the other features, such as light/dark mode, fuzzy search, sitemap generation, and more, remain largely unchanged.
## Usage
For development:
```bash
pnpm install
pnpm run dev
```
To build static site:
```bash
pnpm run build
```