- Notifications
You must be signed in to change notification settings - Fork654
✨A static blog template built with Astro.
License
NotificationsYou must be signed in to change notification settings
saicaca/fuwari
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A static blog template built withAstro.
🌏 README in中文 /日本語 /한국어 /Español /ไทย (Provided by the community and may not always be up-to-date)
- Built withAstro andTailwind CSS
- Smooth animations and page transitions
- Light / dark mode
- Customizable theme colors & banner
- Responsive design
- Search functionality withPagefind
- Markdown extended features
- Table of contents
- RSS feed
- Create your blog repository:
- Generate a new repository from this template or fork this repository.
- Or run one of the following commands:
npm create fuwari@latestyarn create fuwaripnpm create fuwari@latestbun create fuwari@latestdeno run -A npm:create-fuwari@latest
- To edit your blog locally, clone your repository, run
pnpm install
to install dependencies.- Installpnpm
npm install -g pnpm
if you haven't.
- Installpnpm
- Edit the config file
src/config.ts
to customize your blog. - Run
pnpm new-post <filename>
to create a new post and edit it insrc/content/posts/
. - Deploy your blog to Vercel, Netlify, GitHub Pages, etc. followingthe guides. You need to edit the site configuration in
astro.config.mjs
before deployment.
---title:My First Blog Postpublished:2023-09-09description:This is the first post of my new Astro blog.image:./cover.jpgtags:[Foo, Bar]category:Front-enddraft:falselang:jp# Set only if the post's language differs from the site's language in `config.ts`---
In addition to Astro's default support forGitHub Flavored Markdown, several extra Markdown features are included:
- Admonitions (Preview and Usage)
- GitHub repository cards (Preview and Usage)
- Enhanced code blocks with Expressive Code (Preview /Docs)
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install | Installs dependencies |
pnpm dev | Starts local dev server atlocalhost:4321 |
pnpm build | Build your production site to./dist/ |
pnpm preview | Preview your build locally, before deploying |
pnpm check | Run checks for errors in your code |
pnpm format | Format your code using Biome |
pnpm new-post <filename> | Create a new post |
pnpm astro ... | Run CLI commands likeastro add ,astro check |
pnpm astro --help | Get help using the Astro CLI |
Check out theContributing Guide for details on how to contribute to this project.
This project is licensed under the MIT License.
About
✨A static blog template built with Astro.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.