diomed / Sobraine

Sobraine theme / template for Astro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sobraine

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.

πŸš€ Project Structure

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.

πŸ‘€ Want to learn more?

About

Sobraine theme / template for Astro

License:MIT License


Languages

Language:Astro 83.6%Language:MDX 10.0%Language:TypeScript 3.0%Language:JavaScript 2.8%Language:CSS 0.6%