diff --git a/pgml-dashboard/src/components/layouts/head/template.html b/pgml-dashboard/src/components/layouts/head/template.html index 5b465ee25..e0b36d896 100644 --- a/pgml-dashboard/src/components/layouts/head/template.html +++ b/pgml-dashboard/src/components/layouts/head/template.html @@ -53,12 +53,13 @@ "> - <% } %> + + <% for link in preloads { %> type="image/webp"> <% }; %> diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index b67412bfb..58707bbaf 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -933,7 +933,6 @@ pub fn mkdocs<'a>(root: &'a AstNode<'a>, arena: &'a Arena>) -> anyho } &mut NodeValue::Text(ref mut text) => { - // Strip .md extensions that gitbook includes in page link text if text.ends_with(".md") { if let Some(parent) = node.parent() {