This repo is no longer actively maintained
Once you've downloaded the template with npx degit TheOtterlord/manual
, install dependencies and start the dev server:
npm install
npm run dev
- Astro - Blazingly fast static site generation & type-safe frontmatter
- Tailwind CSS - Quick & efficient styling
- Pagefind - Powering static search
- RSS - Syndication feed
- OpenGraph - Social media previews (including procedurally generated images)
Inside your project, you'll see the following useful folders and files:
/
βββ public/
β βββ favicon.svg
βββ src/
β βββ components/
β β βββ Navigation.astro
β βββ content/
β β βββ blog/
β β βββ docs/
β | βββ config.ts
β βββ layouts/
β β βββ Base.astro
β β βββ Blog.astro
β β βββ Docs.astro
β βββ lib/
β βββ pages/
β β βββ blog/
β β | βββ [id].astro
β β | βββ index.astro
β β βββ docs/
β β | βββ [...id].astro
β β βββ images/
β β | βββ [...id].png.ts
β β βββ 404.astro
β β βββ index.astro
β β βββ rss.xml.ts
β βββ site_config.ts
βββ astro.config.mjs
βββ package.json
βββ tailwind.config.js
Content is stored in the src/content
folder. This is where you'll find your blog posts (blogs/
), documentation (docs/
), and configuration (config.ts
). The config.ts
file is where the frontmatter type definitions are made.
OpenGraph images are procedurally generated from the src/pages/images
folder. You can change the default image by editing the HTML defined in src/pages/images/[...id].png.ts
.
Manual is licensed under the MIT License.