Skip to content

Commit

Permalink
Update ideas.md: add note on a permalink front matter field
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-menon authored Oct 17, 2023
1 parent c1dc3a8 commit 9840bf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ideas.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9840bf3

Please sign in to comment.