From af2e8e0ae26d5543308d6cc29d0c3ef8fc278da5 Mon Sep 17 00:00:00 2001 From: Dan <39170265+chillenberger@users.noreply.github.com> Date: Mon, 11 Dec 2023 11:05:12 -0700 Subject: [PATCH] make sortable available to notebooks --- pgml-dashboard/src/components/layouts/head/template.html | 3 ++- pgml-dashboard/src/utils/markdown.rs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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() {