Skip to content

alnah/alnah.me

Repository files navigation

alnah.me

Static Astro source for alnah.me.

Structure

  • src/content/ Markdown posts and standalone pages
  • src/pages/ routes and special pages such as home, articles, tags, about, privacy, RSS, robots.txt, and index.json
  • src/components/ reusable UI components
  • src/layouts/ shared page and post layouts
  • src/assets/ local assets used by the site
  • public/ static files and generated publish artifacts
  • scripts/ build-time helpers and verification scripts

Writing posts

Posts live in src/content/posts/<slug>/index.md.

Required frontmatter:

---
title: 'Post Title'
date: 2026-03-01
draft: false
description: 'Brief description for feeds and cards.'
tags:
  - tag1
  - tag2
---

# Post Title

Content in Markdown format...

Optional frontmatter:

lastmod: 2026-03-02
aliases:

- /old-post/
  publishDate: 2026-03-01
  expiryDate: 2026-12-31
  cover: ./cover.jpg
  • the Markdown body must start with a leading # H1
  • the H1 must match the frontmatter title
  • description is the summary used for feeds, cards, and search previews
  • draft: false means the post is public

Changing titles and branding

If you want to change the text that appears in the browser tab or page metadata:

  • Global site name and author metadata:
    • src/config/site.ts
  • How page titles are formatted in the browser tab:
    • src/lib/seo.ts
  • Post titles:
    • src/content/posts/<slug>/index.md
    • keep the YAML title and the Markdown # H1 identical
  • Standalone content pages such as About and Privacy:
    • src/content/pages/a-propos.md
    • src/content/pages/confidentialite.md
  • System pages such as home, archive, tags, and 404:
    • src/pages/index.astro
    • src/pages/articles/[...page].astro
    • src/pages/etiquettes/[tag].astro
    • src/pages/404.astro

Development

Quick start:

make install
make dev

Useful commands:

make help
make build
make preview
make verify

About

This is the codebase for my blog alnah.me built with Astro.

Topics

Resources

License

Stars

Watchers

Forks

Contributors