Blog Template #351
developit
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been toying with a simple Blog Template for WMR.
It uses the ls-plugin recipe from the wiki, which is being replaced with our new official
@wmr-plugins/directory-import
.Each page is defined as Markdown, which gets converted to HTML by WMR and loaded using fetch() at runtime or during prerendering. This is super important, because it means that page content is not inlined into JavaScript and has no effect on loading performance.
You can see a preview here: https://wmr-blog.glitch.me/
Here's the work-in-progress source: https://glitch.com/edit/#!/wmr-blog?path=public%2Fpages%2Findex.md%3A1%3A0
Screen.Recording.2021-02-20.at.5.06.21.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions