A starter theme for Astro.
π§βπ Features:
- β Designed for company website and blog
- β Simple enough for personal website and/or blog
- β Markdown support (.mdx)
- β Sitemap.xml generation
- β Style is highly customisable with Tailwind CSS
- β Search capability using lightweight client-side JS
- β RSS feed (rss.xml) generation
- β Web map / geolocation
- β View transitions
Refer to Sobraine Documentation.
Below is an overview.
/
βββ public/
β βββ assets
β βββ _leaflet
β βββ robots.txt
β βββ favicon.ico
βββ src/
β βββ components/
β βββ layouts/
β βββ pages/
β βββ index.astro
β βββ doc.mdx
β βββ search.astro
β βββ map.astro
β βββ 404.astro
β βββ about.mdx
β βββ privacy.mdx
β βββ rss.xml.ts
β βββ blog/
β βββ [...page].astro
β βββ few_sample_posts.mdx
βββ astro.config.mjs
Astro looks for .astro
or .mdx
files in the src/pages/
directory. Each page is exposed as a route based on its file name.
Any static assets, like images, are placed in the public/
directory.