Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Edit: make RSS canonicalUrl required (#453)
* edit: make RSS canonicalUrl required * refactor: rename "canonicalUrl" to "site" * import and use ImportMetaEnv component (#454) @bholmesdev - please check this, and adjust as necessary to get it to render properly. This might require fiddling, but the ideas are: 1. Where ever you're seeing {{}} in the preview render instead of import.meta.env, then you need to import (I've done) and use (I've done) this component instead of typing the phrase out directly. The rest of the expression can be passed as the`path=" "` attribute, and it will be formatted as code. 2. This component must be inside an HTML element, and can't be written inside regular Markdown. I've tried the simplest version first (just <p> tags around the line it's in). If this isn't sufficient, or screws up the rest of the rendering, then you'll have to "work your way out" converting larger and larger chunks to HTML until you have the rendering you need. (Or, you figure out whether it's ABSOLUTELY NECESSARY to write the phrase import.meta.env. Dealer's choice.) Hope this helps. Co-authored-by: Ben Holmes <[email protected]> * fix: slay import.meta.env demon the cheap way * chore: remove unused import Co-authored-by: Sarah Rainsberger <[email protected]>
- Loading branch information