memos/server/router/frontend
Gordon Bleux 2741a1cac7 feat(web): render index.html as template to inject HTML tags
render the SPA differently based on the route. if a page is
available as RSS feed, inject a link element into the head
element of the HTML variant. this ensures feeds are discoverable.

this change replaces the middleware with custom router handlers
to serve either assets from the embedded filesystem or the SPA
document.

closes #4276
2025-12-22 14:16:57 +01:00
..
dist chore: update gitignore 2024-05-01 10:31:26 +08:00
frontend.go feat(web): render index.html as template to inject HTML tags 2025-12-22 14:16:57 +01:00
template.go feat(web): render index.html as template to inject HTML tags 2025-12-22 14:16:57 +01:00