From 54124d5134995fce52e4c2fc0a5d4d1743d6264d Mon Sep 17 00:00:00 2001 From: bibi2233 <1191693505@qq.com> Date: Thu, 2 Jun 2022 20:55:34 +0800 Subject: [PATCH] fix: assets URL is missing `baseurl` in self-hosted mode (#591) --- _includes/head.html | 12 ++++++------ _includes/js-selector.html | 8 ++++---- _includes/mermaid.html | 2 +- _includes/search-loader.html | 2 +- _includes/toc.html | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index bd267e0..aaa23a0 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -68,7 +68,7 @@ {% endfor %} - + {% endif %} @@ -90,25 +90,25 @@ {% endif %} - + - + {% if site.toc and page.toc %} - + {% endif %} {% if page.layout == 'page' or page.layout == 'post' %} - + {% endif %} - + {% unless site.theme_mode %} {% include mode-toggle.html %} diff --git a/_includes/js-selector.html b/_includes/js-selector.html index c0402bf..89b93a4 100644 --- a/_includes/js-selector.html +++ b/_includes/js-selector.html @@ -7,7 +7,7 @@ {% if page.layout == 'post' %} {% if site.google_analytics.pv.proxy_endpoint or site.google_analytics.pv.cache_path %} - + {% endif %} {% endif %} @@ -79,14 +79,14 @@ } }; - - + {% endif %} - + {% if jekyll.environment == 'production' %} diff --git a/_includes/mermaid.html b/_includes/mermaid.html index 51eea69..e89a12e 100644 --- a/_includes/mermaid.html +++ b/_includes/mermaid.html @@ -2,7 +2,7 @@ mermaid-js loader --> - + + +