Remove old frontmatter based code
chore: Move lastUpdatedAt timestamp to @nuxt/content
We currently retrieve the lastUpdatedAt
time stamp via the
content_preparer scripts via git and load it into the pages with a
custom frontmatter extension.
This is very complicated. We can simply move this to a @nuxt/content
hook which adds the data to @nuxt/content
's database.
chore: remove unused frontmatter related code from VueX store
Until recently the only usage of the frontmatter related code was to
inject the "last modified" date at the bottom of our markdown pages. Now
that those are injected via @nuxt/content
, we can remove the code
related to it.
chore: remove content_preparer script
The content_preparer script was used for the following features:
- rendering the content from markdown: replaced with
@nuxt/content
- search indexing: replaced with the bridge between
@nuxtjs/lunr-module
and@nuxt/content
- rendering the component overview: replaced with
@nuxt/content
- adding "last modified dates": replaced with a small module adding the
data to the
@nuxt/content
database
As all of these uses have been replaced, we can get rid of the script.