admin page

This commit is contained in:
Harlekin committed 2026-10-25 20:29:26 +01:00
1 parent 5abad7c475
commit b84349c037
33 files changed
+2504 -110

No files matched your search

+3 -3
View File
@@ -1,14 +1,14 @@
---
title: This website
summary: My own site built with Node.js and Express, content as Markdown files, shipped as a Docker container.
summary: My own site built with Node.js and Express, maintained through a small admin interface, shipped as a Docker container.
---
I wanted a site I fully understand and can maintain without a CMS, so it's deliberately simple.
I wanted a site I fully understand and can maintain without an off-the-shelf CMS, so it's deliberately simple.
## How it's built
- **Server:** Node.js with Express, pages are rendered on the server with Nunjucks.
- **Content:** Every project is a folder with a YAML file for metadata and one Markdown file per language. New entries reach the server with `git pull` and are picked up without a restart.
- **Content:** Every project is a folder with a YAML file for metadata and one Markdown file per language. They're edited through admin pages that are only reachable from my home network. Changes go live right away, without a restart.
- **Images:** sharp resizes them on first request and keeps the results in a cache.
- **Hosting:** A Docker container managed in Dockge, with Nginx Proxy Manager in front for HTTPS. The container runs with a read-only filesystem and no extra privileges.