-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
It would be useful to not provide a summary, and then the blog post content is rendered in full on the overview page. For a short post, this code:
<script>
import Author from '@/components/Author.svelte'
import Title from './_title.svelte'
import { page } from '@sveltech/routify'
</script>
<!-- routify:options blogpost={
"published": "2020-05-22T10:15:00.574Z",
"author": "wolfr",
"title": "An update (2)",
"summary": `The past few weeks we've seen three new Routify <a href="https://github.com/sveltech/routify/releases">releases</a>:
* 1.8: Support for service workers
* 1.7: Better support for configs through package.json and environment variables
* 1.6: Added afterPageLoad hook
`
} -->
<Title node = { $page } />
The past few weeks we've seen three new Routify <a href="https://github.com/sveltech/routify/releases">releases</a>:
* 1.8: Support for service workers
* 1.7: Better support for configs through package.json and environment variables
* 1.6: Added afterPageLoad hook
We are continuing to maintain Routify.
---
<Author />
Might as well be this code:
<script>
import Author from '@/components/Author.svelte'
import Title from './_title.svelte'
import { page } from '@sveltech/routify'
</script>
<!-- routify:options blogpost={
"published": "2020-05-22T10:15:00.574Z",
"author": "wolfr",
"title": "An update (2)"
} -->
<Title node = { $page } />
The past few weeks we've seen three new Routify <a href="https://github.com/sveltech/routify/releases">releases</a>:
* 1.8: Support for service workers
* 1.7: Better support for configs through package.json and environment variables
* 1.6: Added afterPageLoad hook
We are continuing to maintain Routify.
---
<Author />
Activity
Wolfr commentedon May 23, 2020
I assume this will be changed if we use the front-matter plugin instead @jakobrosenberg ?
jakobrosenberg commentedon May 23, 2020
Yes, it should look like this with the new plugin. (only available in the current beta)
Wolfr commentedon May 23, 2020
Are you using the site as a testbed?
jakobrosenberg commentedon May 23, 2020
I do occasionally. Ie. I used an instance of our site to test the frontmatter plugin.
I have thought about upgrading the site to the beta version and implement frontmatter in production.
Wolfr commentedon May 24, 2020
See roxiness/routify#190 (comment)
Wolfr commentedon Jun 30, 2020
The code referenced in this issue doesn't use .svx.
Some new ideas in linked post in #151 .