Instant loading and custom Meta-Data header #3186
-
I am experimenting with using customized YAML style meta-data header in my files as defined here: Sample YAML configuration: ---
title: my title
description: my description
author: me!
date: 2021-11-04
foo: bar
--- When using instant loading, I can see that only a few meta data items are updated. https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/javascripts/integrations/instant/index.ts /* Meta tags */
"title",
"link[rel=canonical]",
"meta[name=author]",
"meta[name=description]", What would be the best way to expand the list of meta names being updated via instant loading? "meta[name=date]",
"meta[name=foo]", |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for asking. You would need to patch them manually in the source code, since this is currently not officially supported. |
Beta Was this translation helpful? Give feedback.
Thanks for asking. You would need to patch them manually in the source code, since this is currently not officially supported.