Skip to content

Latest commit

 

History

History

Blog-src

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Blog-src

11ty source for the Blog app. Builds to ../Blog, which is the folder that actually gets published (same as every other app in Apps/). This -src folder is never uploaded — the publish tooling skips *-src folders — only the build output is.

No package.json / node_modules — 11ty is run ad hoc via npx, pinned to major version 3 for stability.

# from inside Blog-src/
npx @11ty/eleventy@3 --serve   # local dev server with live reload
npx @11ty/eleventy@3           # one-off build into ../Blog

Then publish ../Blog like any other app.

Adding a post

Add a new .md file under content/posts/, e.g.:

---
title: My New Post
date: 2026-07-20
---

Post body here.

It picks up the posts tag and post layout automatically from content/posts/posts.json, and shows up on the home page.

Notes

  • pathPrefix in .eleventy.js is set to /agentscript/apps/Blog/ to match where this deploys on acequia — required so CSS/nav links resolve correctly. If the deploy path ever changes, update it there.