diff --git a/404.ftl b/404.ftl index 2c525a2b..58bbd05e 100644 --- a/404.ftl +++ b/404.ftl @@ -1,7 +1,7 @@ <#-- @package Akina --> -<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@1.3.3", theme_base)/> +<#global res_base_url = settings.cdn?then(settings.cdn_href + theme.version, theme_base)/> @@ -43,8 +43,8 @@ } - - + + - + @@ -281,7 +268,7 @@ <#if settings.post_toc!true> - + <#if settings.tag_cloud!true> <#if settings.category_radar!true> - + - - + + <#nested /> <#if settings.live2d_switch!true> diff --git a/header.ftl b/header.ftl index 3852ee52..6e441684 100644 --- a/header.ftl +++ b/header.ftl @@ -1,7 +1,7 @@ <#-- @package Akina --> -<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@1.3.3", theme_base)/> +<#global res_base_url = settings.cdn?then(settings.cdn_href + theme.version, theme_base)/> <#macro header title> @@ -11,10 +11,9 @@ ${title!} - <@global.head /> - + @@ -28,6 +27,9 @@ <#if settings.photos_style == "justify"> + <#if settings.katex!false && (is_post?? || is_sheet??)> + + <#include "inc/decorate.ftl">