From f7bc1a7d9f241fa93a851eb3e456cd038c1b33ad Mon Sep 17 00:00:00 2001 From: Nikita Shubin Date: Tue, 19 May 2026 14:49:51 +0300 Subject: misc: Add support for mermaid themes Done in a strait ugly way, becouse hugo refuses to respect render-codeblock-mermaid.html or even render-codeblock.html. So all done in js. TODO: This issue should be addressed. Signed-off-by: Nikita Shubin --- template/layouts/partials/head-additions.html | 26 ++++++++++++++++++++++++++ template/themes/landau-hacker | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 template/layouts/partials/head-additions.html diff --git a/template/layouts/partials/head-additions.html b/template/layouts/partials/head-additions.html new file mode 100644 index 0000000..0aa1935 --- /dev/null +++ b/template/layouts/partials/head-additions.html @@ -0,0 +1,26 @@ + + diff --git a/template/themes/landau-hacker b/template/themes/landau-hacker index 1b9a1f5..075ee5a 160000 --- a/template/themes/landau-hacker +++ b/template/themes/landau-hacker @@ -1 +1 @@ -Subproject commit 1b9a1f570d7e90b84dca74ee1623101fb8f4332b +Subproject commit 075ee5aa6ba08c8b57040dd0f036156765620bfb -- cgit v1.2.3