phseiff / phseiff.github.io

The source code repo for my personal website
https://phseiff.com
Other
10 stars 2 forks source link

Diversify URL schemes #37

Open phseiff opened 3 years ago

phseiff commented 3 years ago

I want to overhault the way hashtags in the URL are processed by the website.

Currently, the URL phseiff.com/#foo leads to the essay foo. And for every essay foo, a file is hosted under phseiff.com/e/foo and phseiff.com/essays/foo that redirects to phseiff.com/#foo.

I want the behavior to be like the following, instead:

I could then easily add a list of essay-dirs to the builder (like e, essays, about), and for every essay-dir bar and every essay foo, a file is hosted under phseiff.com/bar/foo that redirects to phseiff.com/#bar/foo.