From 9840bf36d34424d2db9c293a1bd65b788a6bd548 Mon Sep 17 00:00:00 2001 From: Arjun Menon Date: Tue, 17 Oct 2023 13:01:29 -0400 Subject: [PATCH] Update ideas.md: add note on a `permalink` front matter field --- ideas.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ideas.md b/ideas.md index 2f3830d..ebaeca1 100644 --- a/ideas.md +++ b/ideas.md @@ -13,6 +13,7 @@ Flexible Static Site Generator * Implement --seed for seeding the initial environment. * Obsidian Vault recognition. * Auto site gen symlink swap. Have a `site-gen-output` directory. Gen output to a time-stamped directory inside it, e.g. `site-gen-2023-11-15-HH-MM-milliseconds`. Create a `current` symlink inside the `site-gen-output` directory that points to it. If a `current` already exists, make a copy of it called `previous` (overwriting any old `previous`). Then, create `current` (overwriting, if necessary). But, before overwriting an existing `previous`, get the directory it points, and `shutil.rmtree` that directory. Thus, outside use can simply be achieved by pointing to `site-gen-output/output`. +* A `permalink` front matter field, which changes what `FileNode.getLinkName` returns. * Require full path when there is a name registry name conflict? * Need to have dev dependencies listed somewhere separately somehow, to avoid pulling needless deps when users install. * Move support with a root-level `move.json` file and `--move` file. Auto-generating a redirect page, with a built-in redirect HTML template that can be overriden with a user-provided template.