A simple & minimal theme for personal blog sites, crafted for Astro framework.
View demo at https://yashjawale.github.io/saral-theme-astro/
View in Astro themes at https://astro.build/themes/details/saral/
Like what you see? Consider starring the repository 🌟
Derived from yashjawale.github.io
- Image optimization on build
- Accessible emojis
- Automatic reading time display for posts
- Automatic last update status for posts
- Dark mode support
- RSS feed
- Includes GitHub workflows for linting & formatting
- Clone this repository
- Install dependencies with
npm i - Start dev server with
npm run dev - Remove
<meta name="robots" content="noindex" />tag fromsrc/components/BaseHead.astrofile - Remove
.github/workflows/deploy.ymlif not deploying to GitHub Pages - Update
basevalue insrc/consts.tsfile - if your site is not in a subdirectory, make it empty string - Update favicons & opengraph images (realfavicongenerator.net is a nice site to get the favicons cropped)
- Update page content & images
- Publish your site 🚀
- Add
your-blog-post.mdfile undersrc/content/blog(filename denotes the URL slug) - Write content in file using Markdown syntax
- Add cover image at
src/assets/blogimages/<YOUR_SLUG>/cover.jpg- Recommended dimensions:853x480px - For adding images to content, use the folowing syntax for caption support
 - Create a PR & merge after passing workflow checks
Tip
Facing any issues or want a feature? Feel free to create a new issue
