-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #249 from LIlGG/next
merge next
- Loading branch information
Showing
23 changed files
with
13,147 additions
and
2,974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<#-- | ||
@package Akina | ||
--> | ||
<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme[email protected]", theme_base)/> | ||
<#global res_base_url = settings.cdn?then(settings.cdn_href + theme.version, theme_base)/> | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
|
@@ -43,8 +43,8 @@ | |
} | ||
</script> | ||
<script src="${res_base_url!}/source/js/404.js" type="text/javascript"></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/utils.min.js?ver=1.3.3'></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/i18n.min.js?ver=1.3.3'></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/utils.min.js?ver=${theme.version!}'></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/i18n.min.js?ver=${theme.version!}'></script> | ||
<script> | ||
var Poi = { | ||
"themeBase": "${res_base_url!}", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
<#-- | ||
/** | ||
* The template for displaying the footer. | ||
* | ||
* Contains the closing of the #content div and all content after. | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials | ||
* | ||
* @package Akina | ||
*/ | ||
--> | ||
<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/[email protected]", theme_base)/> | ||
<#macro footer> | ||
</div><!-- #content --> | ||
<#include "comments.ftl"> | ||
|
@@ -219,7 +207,6 @@ | |
"photosGutter": ${(settings.photos_gutter)!10}, | ||
"tocDepth": ${(settings.toc_depth)!0}, | ||
"i18n": "${settings.i18n!'auto'}", | ||
"mathjax": "${(settings.mathjax!false)?string('true','')}", | ||
"coverNum": "${(settings.rimage_cover_back_num)!'0'}", | ||
"rimageUrl": "${(settings.rimage_url)!''}", | ||
"coverOpen": "${(settings.rimage_cover_back_open!false)?string('true','')}", | ||
|
@@ -257,7 +244,7 @@ | |
}; | ||
/* ]]> */ | ||
</script> | ||
<script type='text/javascript' src='${res_base_url!}/script/utils.min.js?ver=1.3.3'></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/utils.min.js?ver=${theme.version!}'></script> | ||
<script type="text/javascript" src="${res_base_url!}/source/lib/lazysizes/lazysizes.min.js" async></script> | ||
<script type="text/javascript" src="${res_base_url!}/source/js/lib.js"></script> | ||
<!-- 相册 --> | ||
|
@@ -281,7 +268,7 @@ | |
<#if settings.post_toc!true> | ||
<script src="${res_base_url!}/source/lib/tocbot/dist/tocbot.min.js" defer></script> | ||
</#if> | ||
<script src="${settings.comment_mode!'//cdn.jsdelivr.net/gh/LIlGG/halo-comment[email protected]/dist/halo-comment.min.js'}" defer></script> | ||
<script src="${settings.comment_mode!'${res_base_url!}/source/js/comment/sakura-comment.min.js?ver=${theme.version!}'}" defer></script> | ||
<#if settings.tag_cloud!true> | ||
<script src="${res_base_url!}/source/lib/jqcloud2/jqcloud.min.js" defer></script> | ||
<script type='text/javascript'> | ||
|
@@ -295,7 +282,7 @@ | |
</script> | ||
</#if> | ||
<#if settings.category_radar!true> | ||
<script src="${res_base_url!}/source/js/echarts/echarts.min.js" defer></script> | ||
<script src="${res_base_url!}/source/js/echarts/echarts.min.js" async defer></script> | ||
<script type='text/javascript'> | ||
var categoryRadar = { | ||
<@categoryTag method="list"> | ||
|
@@ -308,8 +295,8 @@ | |
</#if> | ||
<script type='text/javascript' src='${res_base_url!}/source/js/qrcode.min.js' defer></script> | ||
<script type='text/javascript' src='${res_base_url!}/source/lib/flv.min/index.js' defer></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/i18n.min.js?ver=1.3.3' defer></script> | ||
<script type='text/javascript' src='${theme_base!}/script/app.min.js?ver=1.3.3'></script> | ||
<script type='text/javascript' src='${res_base_url!}/script/i18n.min.js?ver=${theme.version!}' defer></script> | ||
<script type='text/javascript' src='${theme_base!}/script/app.min.js?ver=${theme.version!}'></script> | ||
<#nested /> | ||
<#if settings.live2d_switch!true> | ||
<script src="${res_base_url!}/source/lib/jquery-ui/jquery-ui.min.js" async defer></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<#-- | ||
@package Akina | ||
--> | ||
<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme[email protected]", theme_base)/> | ||
<#global res_base_url = settings.cdn?then(settings.cdn_href + theme.version, theme_base)/> | ||
<#macro header title> | ||
<!DOCTYPE html> | ||
<html lang="zh-CN"> | ||
|
@@ -11,10 +11,9 @@ | |
<title itemprop="name">${title!}</title> | ||
<meta name="description" content="${meta_description!}"/> | ||
<meta name="keywords" content="${meta_keywords!}"/> | ||
<link rel="dns-prefetch" href="//cdn.jsdelivr.net"> | ||
|
||
<@global.head /> | ||
<link rel='stylesheet' href='${theme_base!}/styles/style.min.css?ver=1.3.3' type='text/css' media='all'> | ||
<link rel='stylesheet' href='${theme_base!}/styles/style.min.css?ver=${theme.version!}' type='text/css' media='all'> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+SerifMerriweather|Merriweather+Sans|Source+Code+Pro|Ubuntu:400,700|Noto+Serif+SC&display=swap" media="noexist" onload="this.media='all'"> | ||
<link rel="stylesheet" href="//at.alicdn.com/t/font_2010950_sh9o0r7ahar.css" media="noexist" onload="this.media='all'"> | ||
<link rel="stylesheet" href="${res_base_url!}/source/css/lib.css" media="noexist" onload="this.media='all'"> | ||
|
@@ -28,6 +27,9 @@ | |
<#if settings.photos_style == "justify"> | ||
<link rel="stylesheet" href="${res_base_url!}/source/lib/justifiedGallery/justifiedGallery.min.css" media="noexist" onload="this.media='all'"> | ||
</#if> | ||
<#if settings.katex!false && (is_post?? || is_sheet??)> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/katex.min.css" media="noexist" onload="this.media='all'"/> | ||
</#if> | ||
<#include "inc/decorate.ftl"> | ||
<script type="text/javascript"> | ||
if (!!window.ActiveXObject || "ActiveXObject" in window) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<#-- | ||
@package Akina | ||
--> | ||
<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/[email protected]", theme_base)/> | ||
|
||
<#include "header.ftl"> | ||
<@header title="${blog_title!}"> | ||
<div class="blank"></div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/[email protected]", theme_base)/> | ||
<#global res_base_url = settings.cdn?then(settings.cdn_href + theme.version, theme_base)/> | ||
<div style="background: white; | ||
width: 95%; | ||
max-width: 800px; | ||
|
Oops, something went wrong.