fix(home): 优化部分细节

This commit is contained in:
LIlGG 2022-04-05 17:14:09 +08:00
parent 725bc90611
commit ed7db4bf74
4 changed files with 7 additions and 13 deletions

View File

@ -69,9 +69,9 @@
</div> </div>
</div> </div>
<#if settings.category_radar!true> <#if settings.category_radar!true>
<style type="text/css"> <style>
.tag-contents { .tag-contents {
margin-top: 14px; margin: 14px 0;
} }
#category-echarts { #category-echarts {
width: 100%; width: 100%;

View File

@ -282,7 +282,7 @@
</script> </script>
</#if> </#if>
<#if settings.category_radar!true> <#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'> <script type='text/javascript'>
var categoryRadar = { var categoryRadar = {
<@categoryTag method="list"> <@categoryTag method="list">

View File

@ -28,7 +28,7 @@
<link rel="stylesheet" href="${res_base_url!}/source/lib/justifiedGallery/justifiedGallery.min.css" media="noexist" onload="this.media='all'"> <link rel="stylesheet" href="${res_base_url!}/source/lib/justifiedGallery/justifiedGallery.min.css" media="noexist" onload="this.media='all'">
</#if> </#if>
<#if settings.katex!false && (is_post?? || is_sheet??)> <#if settings.katex!false && (is_post?? || is_sheet??)>
<link rel="stylesheet" href="https://unpkg.com/katex@0.12.0/dist/katex.min.css" /> <link rel="stylesheet" href="https://unpkg.com/katex@0.12.0/dist/katex.min.css" media="noexist" onload="this.media='all'"/>
</#if> </#if>
<#include "inc/decorate.ftl"> <#include "inc/decorate.ftl">
<script type="text/javascript"> <script type="text/javascript">

View File

@ -658,12 +658,6 @@ comment:
label: 开启 label: 开启
- value: false - value: false
label: 关闭 label: 关闭
comment_gravatar_source:
name: comment_gravatar_source
label: Gravatar 源地址
type: text
default: "//cn.gravatar.com/avatar"
description: "暂时用于适配 Halo 1.4.8 以下用户,当主题最低要求 Halo 1.4.8 之后将移除"
comment_loading_style: comment_loading_style:
name: comment_loading_style name: comment_loading_style
label: 评论加载样式 label: 评论加载样式
@ -1959,11 +1953,11 @@ others:
name: cdn_href name: cdn_href
label: CDN 地址 label: CDN 地址
type: select type: select
default: "//takagi-api.com/file/1/halo-theme-sakura/" default: "https://takagi-api.com/file/1/halo-theme-sakura/"
options: options:
- value: "//takagi-api.com/file/1/halo-theme-sakura/" - value: "https:///takagi-api.com/file/1/halo-theme-sakura/"
label: takagiの公共资源库 label: takagiの公共资源库
- value: "//cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@" - value: "https://cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@"
label: jsdelivr label: jsdelivr
i18n: i18n:
name: i18n name: i18n