Skip to content

Updates MyLittleContentEngine to 0.0.2#16

Open
phil-scott-78 wants to merge 2 commits intospectreconsole:mainfrom
phil-scott-78:main
Open

Updates MyLittleContentEngine to 0.0.2#16
phil-scott-78 wants to merge 2 commits intospectreconsole:mainfrom
phil-scott-78:main

Conversation

@phil-scott-78
Copy link
Copy Markdown
Contributor

This does 3 pretty big things, hopefully combined which will effectively change nothing for users

  • The big change is that when there is a path like /cli/first-post.md I'm now writing to /cli/first-post/index.html instead of /cli/first-post.html. This is how a lot of other static generators work for SEO and ease of file extension handling, so if the time ever comes to use a different engine the transition can be very smooth. I am writing redirects so that if someone has /cli/first-post bookmarked or linked to it'll get them to the right spot. Makes testing locally easier too with dotnet serve
  • Adds cache busting at dev time for CSS. Maybe that fixes the issue with stale CSS? I have another idea up my sleeve if not.
  • Adds the Razor Island SPA, makes the site a bit more peppy and easier to navigate with the long TOC on the left.

With those four changes I would recommend pulling it down and running locally before a merge. Should be fine

…ioned resource URLs, enable flat file redirects, and standardize trailing slashes in page routes.
…amic SPA resource loading, and update layouts for enhanced content rendering.
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

Successfully merging this pull request may close these issues.

1 participant