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

Asset URLs compete with mention URLs and lose #54

Open
marcuswhybrow opened this issue Apr 20, 2024 · 0 comments
Open

Asset URLs compete with mention URLs and lose #54

marcuswhybrow opened this issue Apr 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@marcuswhybrow
Copy link
Owner

  • The asset ./assets/2012-03-24-milk is output to ./build/milk/index.html which becomes raypeat.rodeo/milk/ when deployed to GitHub pages.
  • The mention [[Milk]] also becomes ./build/milk/index.html and likewise raypeat.rodeo/milk/ when deployed.
  • Mention output files are created after asset output files, so mentions override extant assets with the same name.

Context

  • I don't want to URL namespacing for raypeat.rodeo/assets/ and raypeat.rodeo/mentions/ to solve this issue, because I like the idea of URLs being verbally sharable for both topics and assets.

Solutions?

  1. Check for conflicts and fail to build. — Sucky dev experience, because suddenly the dev server stops refreshing.
  2. Warning banner at top of website during nix develop -c modd (dev server) + fail to build during nix build (deployment)?
@marcuswhybrow marcuswhybrow added the bug Something isn't working label Apr 20, 2024
@marcuswhybrow marcuswhybrow changed the title Asset URLs compete with mention URLs and loose Asset URLs compete with mention URLs and lose Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant