Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change URL for news items? #47

Open
dwhswenson opened this issue Nov 15, 2022 · 0 comments
Open

Change URL for news items? #47

dwhswenson opened this issue Nov 15, 2022 · 0 comments

Comments

@dwhswenson
Copy link
Member

dwhswenson commented Nov 15, 2022

Right now, our URLs for news items include the "categories" (which we're actually treating as unordered tags). Example, a URL with categories lomap and release gives:

https://openfree.energy/lomap/release/2022/03/15/lomap-conda-forge/

Since we don't have a defined ordering on these, this could just as easily have been release/lomap/2022/03/15/lomap-conda-forge/. I think we should change this. Two ways to change (both about equally easy):

  1. Distinguish between actual categories and tags. Each post must have 1 category. Possible categories include:

    • releases
    • hirings
    • presentations
    • science
    • misc

    We aren't locked into any set; we can always add more categories later as needed. This could be nice from a URL standpoint because we could have openfree.energy/releases/ as an index with all releases, and then within it openfree.energy/releases/2022/03/15/lomap-conda-forge/ .

  2. Completely remove these labels from the URL. In this case, I'd probably want to add news/ as a level, and the URL would be openfree.energy/news/2022/03/15/lomap-conda-forge/

Either solution should be easy to implement (probably took me longer to write this issue).

Note that changing the URLs will break any existing links to them... but I highly doubt we have many incoming links to our 2 little news items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant