Skip to content

Commit

Permalink
Merge pull request #374 from dillonzq/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq authored May 19, 2020
2 parents 2e82277 + 2528db3 commit b77d0f2
Show file tree
Hide file tree
Showing 81 changed files with 406 additions and 431 deletions.
2 changes: 2 additions & 0 deletions assets/css/_partial/_single/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
[theme=dark] & {
color: $global-font-secondary-color-dark;
}

@include link(false, false);
}

.post-info-md {
Expand Down
4 changes: 4 additions & 0 deletions assets/css/_partial/_single/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
display: none;
margin: .8rem 0;

&[kept=true] {
display: block;
}

.toc-title {
display: flex;
justify-content: space-between;
Expand Down
16 changes: 8 additions & 8 deletions assets/data/social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ youtubechannel:
# 012: Tumblr
tumblr:
weight: 12
template: https://%s.tumblr.com/
template: https://%v.tumblr.com/
title: Tumblr
icon:
class: fab fa-tumblr fa-fw
Expand Down Expand Up @@ -225,7 +225,7 @@ spotify:
# 029: Bandcamp
bandcamp:
weight: 29
template: https://%s.bandcamp.com/
template: https://%v.bandcamp.com/
title: Bandcamp
icon:
class: fab fa-bandcamp fa-fw
Expand Down Expand Up @@ -281,7 +281,7 @@ foursquare:
# 036: Hacker News
hackernews:
weight: 36
template: https://news.ycombinator.com/user?id=%s
template: https://news.ycombinator.com/user?id=%v
title: Hacker News
icon:
class: fab fa-hacker-news fa-fw
Expand Down Expand Up @@ -385,7 +385,7 @@ jsfiddle:
# 049: DeviantArt
deviantart:
weight: 49
template: https://%s.deviantart.com/
template: https://%v.deviantart.com/
title: DeviantArt
icon:
class: fab fa-deviantart fa-fw
Expand All @@ -409,7 +409,7 @@ dribbble:
# 052: WordPress
wordpress:
weight: 52
template: https://%s.wordpress.com/
template: https://%v.wordpress.com/
title: WordPress
icon:
class: fab fa-wordpress fa-fw
Expand All @@ -425,7 +425,7 @@ vine:
# 054: Google Scholar
googlescholar:
weight: 54
template: https://scholar.google.com/citations?%s
template: https://scholar.google.com/citations?%v
title: Google Scholar
icon:
simpleicons: googlescholar
Expand Down Expand Up @@ -472,7 +472,7 @@ gitea:
# 060: XMPP
xmpp:
weight: 60
template: xmpp:%s
template: xmpp:%v
title: XMPP
icon:
simpleicons: xmpp
Expand All @@ -496,7 +496,7 @@ bilibili:
# 063: Email
email:
weight: 63
template: mailto:%s
template: mailto:%v
title: Email
icon:
class: far fa-envelope fa-fw
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/theme.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.TinySegmenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;(function (root, factory) {
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(factory)
Expand Down Expand Up @@ -203,4 +203,4 @@
lunr.TinySegmenter = TinySegmenter;
};

}));
}));
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -378,4 +378,4 @@

lunr.Pipeline.registerFunction(lunr.ar.stopWordFilter, 'stopWordFilter-ar');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.da.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -281,4 +281,4 @@

lunr.Pipeline.registerFunction(lunr.da.stopWordFilter, 'stopWordFilter-da');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.de.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -381,4 +381,4 @@

lunr.Pipeline.registerFunction(lunr.de.stopWordFilter, 'stopWordFilter-de');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.du.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -447,4 +447,4 @@

lunr.Pipeline.registerFunction(lunr.du.stopWordFilter, 'stopWordFilter-du');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -596,4 +596,4 @@

lunr.Pipeline.registerFunction(lunr.es.stopWordFilter, 'stopWordFilter-es');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -700,4 +700,4 @@

lunr.Pipeline.registerFunction(lunr.fr.stopWordFilter, 'stopWordFilter-fr');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -562,4 +562,4 @@

lunr.Pipeline.registerFunction(lunr.hu.stopWordFilter, 'stopWordFilter-hu');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.it.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -614,4 +614,4 @@

lunr.Pipeline.registerFunction(lunr.it.stopWordFilter, 'stopWordFilter-it');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -185,4 +185,4 @@
lunr.Pipeline.registerFunction(lunr.jp.trimmer, 'trimmer-jp');
lunr.Pipeline.registerFunction(lunr.jp.stopWordFilter, 'stopWordFilter-jp');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -445,4 +445,4 @@

lunr.Pipeline.registerFunction(lunr.nl.stopWordFilter, 'stopWordFilter-nl');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.no.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -255,4 +255,4 @@

lunr.Pipeline.registerFunction(lunr.no.stopWordFilter, 'stopWordFilter-no');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -567,4 +567,4 @@

lunr.Pipeline.registerFunction(lunr.pt.stopWordFilter, 'stopWordFilter-pt');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -388,4 +388,4 @@

lunr.Pipeline.registerFunction(lunr.ru.stopWordFilter, 'stopWordFilter-ru');
};
}))
}))
2 changes: 1 addition & 1 deletion assets/lib/lunr/lunr.stemmer.support.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;(function (root, factory) {
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(factory)
Expand Down
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -253,4 +253,4 @@

lunr.Pipeline.registerFunction(lunr.sv.stopWordFilter, 'stopWordFilter-sv');
};
}))
}))
2 changes: 1 addition & 1 deletion assets/lib/lunr/lunr.th.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.tr.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -1084,4 +1084,4 @@

lunr.Pipeline.registerFunction(lunr.tr.stopWordFilter, 'stopWordFilter-tr');
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.vi.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -81,4 +81,4 @@
lunr.Pipeline.registerFunction(lunr.vi.trimmer, 'trimmer-vi');
lunr.vi.stopWordFilter = lunr.generateStopWordFilter('là cái nhưng mà'.split(' '));
};
}))
}))
4 changes: 2 additions & 2 deletions assets/lib/lunr/lunr.zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand Down Expand Up @@ -138,4 +138,4 @@
'的 一 不 在 人 有 是 为 以 于 上 他 而 后 之 来 及 了 因 下 可 到 由 这 与 也 此 但 并 个 其 已 无 小 我 们 起 最 再 今 去 好 只 又 或 很 亦 某 把 那 你 乃 它 吧 被 比 别 趁 当 从 到 得 打 凡 儿 尔 该 各 给 跟 和 何 还 即 几 既 看 据 距 靠 啦 了 另 么 每 们 嘛 拿 哪 那 您 凭 且 却 让 仍 啥 如 若 使 谁 虽 随 同 所 她 哇 嗡 往 哪 些 向 沿 哟 用 于 咱 则 怎 曾 至 致 着 诸 自'.split(' '));
lunr.Pipeline.registerFunction(lunr.zh.stopWordFilter, 'stopWordFilter-zh');
};
}))
}))
Loading

0 comments on commit b77d0f2

Please sign in to comment.