Skip to content

Commit d47dc7e

Browse files
committed
Change Some Style.
1 parent df293a8 commit d47dc7e

12 files changed

+19
-14
lines changed

404.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#include "module/macro.ftl">
22
<#-- 只包含 Menu 的模板 -->
3-
<@layout title="404 - ${blog_title!}">
3+
<@layout title="404-${blog_title!}">
44
<#-- Top Menu -->
55
<#include "module/menu.ftl">
66

500.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#include "module/macro.ftl">
22
<#-- 只包含 Menu 的模板 -->
3-
<@layout title="500 - ${blog_title!}">
3+
<@layout title="500-${blog_title!}">
44
<#-- Top Menu -->
55
<#include "module/menu.ftl">
66

assets/less/markdown.less

+8-3
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,15 @@
132132
margin: 0.5em 0;
133133
border-radius: 6px;
134134
}
135-
pre > code.hljs:hover {
136-
cursor: copy;
137-
background-color: #fff2cf;
135+
pre > code.hljs {
136+
border-radius: 12px;
137+
transition: background-color 300ms ease-in-out;
138+
&:hover {
139+
cursor: copy;
140+
background-color: #fff2cf;
141+
}
138142
}
143+
139144
code, pre code {
140145
font-family: 'CodeFont', Consolas, monospace, sans-serif;
141146
overflow-x: scroll;

category.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#include "module/macro.ftl">
22
<#-- Post Page Template -->
3-
<@layout title="分类-${blog_title!}">
3+
<@layout title="${category.name!}-${blog_title!}">
44

55
<#-- Top Menu -->
66
<#include "module/menu.ftl">

journals.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<hr>
2222
<p>${journal.content!}</p>
2323
</li>
24-
<hr>
24+
<#-- <hr>-->
2525
</#list>
2626
</ul>
2727
</section>

module/cover.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<div class="title">
99
<h1>${title!}</h1>
10-
<h2>${subtitle!}</h2>
10+
<h3>${subtitle!}</h3>
1111
<#nested >
1212
</div>
1313
</header>

module/list-style.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<article class="new-post-list" onclick="to('${post.fullPath!}');">
66
<div class="background">
77
<img src="${(post.thumbnail?? && post.thumbnail != "")?string(post.thumbnail, settings.default_pic)}"
8-
alt=""/>
8+
alt="${post.title!}"/>
99
</div>
1010
<div class="content">
1111

settings.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ index:
3333
default: https://cdn.jsdelivr.net/gh/losgod/halo-theme-limit/assets/img/default-bg.jpg
3434
description: '网站默认图片, 所有使用图片的位置, 如果没有设置, 将默认为此图片。'
3535
default_avatar:
36-
name: default_pic
36+
name: default_avatar
3737
label: 默认头像
3838
type: attachment
3939
default: https://cdn.jsdelivr.net/gh/losgod/halo-theme-limit/assets/img/default-avatar.jpeg

sheet.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<#include "module/macro.ftl">
33
<#-- Post Page Template -->
4-
<@layout title="${sheet.title} - ${blog_title!}">
4+
<@layout title="${sheet.title!}-${blog_title!}">
55

66
<#-- Top Menu -->
77
<#include "module/menu.ftl">

sheet_none.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#include "module/macro.ftl">
22
<#-- 空模板 -->
3-
<@layout title="${blog_title!}">
3+
<@layout title="${sheet.title!}-${blog_title!}">
44
<div id="write" class="none">
55
${sheet.formatContent!}
66
</div>

sheet_only_menu.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#include "module/macro.ftl">
22
<#-- 只包含 Menu 的模板 -->
3-
<@layout title="${blog_title!}">
3+
<@layout title="${sheet.title!}-${blog_title!}">
44
<#-- Top Menu -->
55
<#include "module/menu.ftl">
66

tag.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#include "module/macro.ftl">
22
<#-- Post Page Template -->
3-
<@layout title="分类-${blog_title!}">
3+
<@layout title="${tag.name!''}-${blog_title!}">
44

55
<#-- Top Menu -->
66
<#include "module/menu.ftl">

0 commit comments

Comments
 (0)