diff --git a/404.ftl b/404.ftl index 2c525a2..58bbd05 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 @@ } - - + + - + @@ -307,8 +295,8 @@ - - + + <#nested /> <#if settings.live2d_switch!true> diff --git a/header.ftl b/header.ftl index 1879aaa..4152df6 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 /> - + diff --git a/index.ftl b/index.ftl index 4082393..7a49801 100644 --- a/index.ftl +++ b/index.ftl @@ -1,8 +1,6 @@ <#-- @package Akina --> -<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@1.3.3", theme_base)/> - <#include "header.ftl"> <@header title="${blog_title!}">
diff --git a/mail_template/mail_reply.ftl b/mail_template/mail_reply.ftl index f382144..85007a5 100644 --- a/mail_template/mail_reply.ftl +++ b/mail_template/mail_reply.ftl @@ -1,5 +1,4 @@ - -<#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)/>