Skip to content

Commit 01bd6e8

Browse files
authored
Merge pull request #322 from dillonzq/develop
2 parents e3d774f + 97c00eb commit 01bd6e8

39 files changed

+536
-134
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Hugo default output directory
22
public/
33
/exampleSite/resources/
4-
/resources/_gen/assets/scss/temp
54

65
node_modules/
76
build/

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ English README | [简体中文说明](https://github.com/dillonzq/LoveIt/blob/ma
99

1010
> **LoveIt** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/).
1111
12-
It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/liuzc/LeaveIt).
12+
It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt).
1313

1414
Since the three themes have a similar look, if you have questions about their differences,
1515
read [Why choose LoveIt](#why-choose-loveit) so that you can choose the one that works best for you.
@@ -89,7 +89,8 @@ I hope you will LoveIt ❤️!
8989
* **Valine** comment system supported by [Valine](https://valine.js.org/)
9090
* **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
9191
* **Telegram comments** system supported by [Telegram Comments](https://comments.app/)
92-
* **Commento** comments system supported by [Commento](https://commento.io/)
92+
* **Commento** comment system supported by [Commento](https://commento.io/)
93+
* **Utterances** comment system supported by [Utterances](https://utteranc.es/)
9394

9495
### Extended Features
9596

@@ -131,6 +132,7 @@ LoveIt supports the following languages:
131132
* Polish
132133
* Brazilian Portuguese
133134
* Italian
135+
* Spanish
134136
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
135137

136138
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)

README.zh-cn.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
> [LoveIt](https://github.com/dillonzq/LoveIt) 是一个**简洁****优雅****高效**[Hugo](https://gohugo.io/) 博客主题。
1111
12-
它的原型基于 [LeaveIt 主题](https://github.com/liuzc/LeaveIt)[KeepIt 主题](https://github.com/liuzc/LeaveIt)
12+
它的原型基于 [LeaveIt 主题](https://github.com/liuzc/LeaveIt)[KeepIt 主题](https://github.com/Fastbyte01/KeepIt)
1313

1414
由于三个主题外观的相似性,如果你对于它们的不同之处有疑问,请阅读 [为什么选择 LoveIt](#为什么选择-LoveIt),以便你能选择最适合你的一个。
1515

@@ -85,6 +85,7 @@
8585
* 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统
8686
* 支持 **[Telegram comments](https://comments.app/) 评论**系统
8787
* 支持 **[Commento](https://commento.io/)** 评论系统
88+
* 支持 **[Utterances](https://utteranc.es/)** 评论系统
8889

8990
### 扩展功能
9091

@@ -126,6 +127,7 @@ LoveIt 支持下列语言:
126127
* 波兰语
127128
* 巴西葡萄牙语
128129
* 意大利语
130+
* 西班牙语
129131
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
130132

131133
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)

assets/css/_core/_layout.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
.wrapper {
33
display: flex;
44
flex-direction: column;
5-
min-height: 97.5vh;
5+
min-height: 100vh;
66
width: 100%;
77

88
main {
99
flex: 1 0 auto;
1010

1111
.container {
12-
padding-left: 1rem;
13-
padding-right: 1rem;
12+
padding: 0 1rem;
1413
}
1514
}
1615
}

assets/css/_page/_home.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,21 @@
1717
@include border-radius(100%);
1818
@include box-shadow(0 0 0 .3618em rgba(0, 0, 0, .05));
1919
@include transition(all 0.4s ease);
20-
cursor: pointer;
2120

2221
&:hover {
2322
position: relative;
2423
@include transform(translateY(-.75rem));
25-
cursor: pointer;
2624
}
2725
}
2826
}
2927

28+
.home-title {
29+
font-size: 1.2rem;
30+
font-weight: bold;
31+
margin: 0;
32+
padding: .4rem;
33+
}
34+
3035
.home-subtitle {
3136
font-size: 1rem;
3237
font-weight: normal;

assets/css/_partial/_footer.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ footer {
22
height: 2rem;
33
width: 100%;
44
text-align: center;
5-
line-height: 1.5rem;
6-
padding-top: 2rem;
5+
line-height: 1.25rem;
6+
padding: 1rem 0;
77

88
.footer-container {
99
font-size: .875rem;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
.comment {
1+
#comments {
22
padding: 4rem 0;
33
}

assets/css/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,4 +371,4 @@ $admonition-background-color-map: (
371371
) !default;
372372
// ========== Admonition ========== //
373373

374-
$MAX_LENGTH: 9999px;
374+
$MAX_LENGTH: 12000px;

assets/js/theme.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/theme.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)