Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ForceMultiplied

Source for scikud.github.io — an Astro static site. No client-side JavaScript is shipped.

The home page is the latest post. Every page carries an index of all posts: a sticky left pane on wide screens, an appendix below the article on narrow ones. Publishing a newer post automatically changes what / shows.

Working on it

npm install
npm run dev      # http://localhost:4321
npm run build    # static output in dist/
npm run preview  # serve the built output

Writing a post

Add a markdown file to src/content/posts/. The filename is the URL slug, so src/content/posts/my-post.md publishes at /posts/my-post/.

---
title: "My post"
date: 2026-08-01
summary: "The aside under the title. Be as flippant as you like."
description: "What search engines and link previews show."
---

Body text. Standard markdown, plus:

- LaTeX — `$inline$` and `$$display$$`, rendered at build time by KaTeX.
- Footnotes — `text[^1]` with `[^1]: the note` at the bottom.
- Code blocks — fenced with a language, highlighted at build time by Shiki.
- Images — put files in `public/images/` and reference them as `/images/foo.png`.

Only title and date are required. summary is rendered under the title; description never appears on the page — it exists so a one-word joke can be your dek without also becoming your search snippet. Omit it and summary is used instead. Set draft: true to keep a post out of the build entirely.

Layout

Path What it is
src/content/posts/ The posts
src/content.config.ts Frontmatter schema (a build fails on bad frontmatter)
src/consts.ts Site title, description, author; date/reading-time
src/layouts/Base.astro The <head>, masthead, page shell, footer
src/components/PostArticle.astro Renders one post — title, meta, body
src/components/PostIndex.astro The all-posts navigation pane
src/pages/ / (latest post) and /posts/<slug>/
src/styles/global.css All the styling
astro.config.mjs Markdown plugins and redirects from the old Jekyll URLs
public/ Copied to the site root as-is (images, favicons)

Layout knobs live at the top of global.css: --measure (content column), --index-width, and --index-gap. The two-column breakpoint is 64em.

Deploys

Pushing to master triggers .github/workflows/deploy.yml, which builds the site and publishes it to GitHub Pages. This requires Settings → Pages → Source → GitHub Actions on the repository.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages