From aad1b8b0170e0433f5bbc998371ebbb4ba802c78 Mon Sep 17 00:00:00 2001 From: Yue Yang Date: Tue, 7 Jan 2025 21:17:01 +0800 Subject: [PATCH] v3.10.0 --- docs/pages/CHANGELOG.md | 5 +++++ layouts/_default/_markup/render-codeblock-mermaid.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/pages/CHANGELOG.md b/docs/pages/CHANGELOG.md index 2c529ee9..47aa65c2 100644 --- a/docs/pages/CHANGELOG.md +++ b/docs/pages/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [3.10.0] - 2025-01-07 + ### Added - Add `imageZoomableInPost` param to control the zoomable of images in the single post page [#345](https://github.com/g1eny0ung/hugo-theme-dream/pull/345) @@ -15,9 +17,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - Make TOC scrollable when it is too long [#340](https://github.com/g1eny0ung/hugo-theme-dream/pull/340) +- Bump Mermaid version to 11.4.1 +- Now external links will open in a new tab by default ### Fixed +- Fix Disqus styling issues - Add background color to the dark mode switch button ## [3.9.0] - 2024-11-17 diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html index 94ea0cad..8036c240 100644 --- a/layouts/_default/_markup/render-codeblock-mermaid.html +++ b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -1,4 +1,4 @@
-  {{- .Inner | safeHTML }}
+  {{- .Inner | safeHTML -}}
 
{{ .Page.Store.Set "hasMermaid" true }}