Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/overflowcat/blog
我的 blog
https://github.com/overflowcat/blog
astro blog
Last synced: 3 months ago
JSON representation
我的 blog
- Host: GitHub
- URL: https://github.com/overflowcat/blog
- Owner: OverflowCat
- License: mit
- Created: 2019-07-14T15:37:52.000Z (over 5 years ago)
- Default Branch: src
- Last Pushed: 2024-10-27T01:32:22.000Z (3 months ago)
- Last Synced: 2024-10-27T08:46:45.703Z (3 months ago)
- Topics: astro, blog
- Language: HTML
- Homepage: https://blog.xinshijiededa.men/
- Size: 117 MB
- Stars: 25
- Watchers: 3
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![新世界的大门 Logo](https://user-images.githubusercontent.com/20166026/203767771-c977f2cb-30da-49a9-8936-761fc4ee3450.svg#gh-dark-mode-only)
![新世界的大门 Logo](https://user-images.githubusercontent.com/20166026/203770324-bafac264-f05f-4ce4-b944-d28e5de06e0d.svg#gh-light-mode-only)新世界的大门 blog
[![Built with Astro](https://astro.badg.es/v2/built-with-astro/tiny.svg)](https://astro.build)
![Build status](https://github.com/OverflowCat/blog/actions/workflows/pages.yml/badge.svg)About this blog, see [About](https://blog.xinshijiededa.men/about/). Below are technical details.
## Develop
- `pnpm install`: install deps
- `pnpm bump`: update deps
- `pnpm new `: create a new article## License
The code is licensed under the [MIT License](/LICENSE).
Article contents ususally are licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/), but you should check the license section on each generated pages, or the corresponding article's frontmatter.
The source code is not intended to be used as a starter template, as it contains many custom components designed especially for my own use cases. You can reach me out for help (and I'm happy to do so) if you do want to use this framework for your blog, though.
## Changelog
### Astro 3.0
#### scopedStyleStrategy
Remove postcss `inaccurate-pseudo-where`, as using classes is available in [email protected] and 3.0 uses data attributes.
#### Image
- `sharp`: see [Missing Sharp](https://docs.astro.build/en/reference/errors/missing-sharp/).
Moving images from [`/public`](/public/) to the content collection.
- [ ] Use `image()` in frontmatter
Problem: Many covers are not local images.
- [ ] Fix og image
https://docs.astro.build/en/guides/images/#generating-images-with-getimage#### RSS
```sh
λ src/pages/atom.xml.ts
13:25:37 [astro] Lower case endpoint names are deprecated and will not be supported in Astro 4.0. Rename the endpoint get to GET.
└─ /atom.xml (+142ms)
```