hexo-theme-ayeria 1.9.10 → 1.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +37 -37
- package/README.en.md +560 -560
- package/README.md +560 -560
- package/_config.yml +271 -271
- package/_scaffolds/post.md +8 -8
- package/index.js +11 -2
- package/languages/de.yml +39 -39
- package/languages/default.yml +40 -39
- package/languages/en.yml +40 -39
- package/languages/es.yml +39 -39
- package/languages/fr.yml +39 -39
- package/languages/ja.yml +39 -39
- package/languages/ko.yml +39 -39
- package/languages/nl.yml +39 -39
- package/languages/no.yml +39 -39
- package/languages/pt.yml +39 -39
- package/languages/ru.yml +39 -39
- package/languages/vi.yml +39 -39
- package/languages/zh-CN.yml +40 -39
- package/languages/zh-TW.yml +40 -39
- package/layout/_partial/ads.ejs +8 -8
- package/layout/_partial/after-footer.ejs +84 -84
- package/layout/_partial/archive-post.ejs +13 -13
- package/layout/_partial/archive.ejs +61 -61
- package/layout/_partial/article.ejs +94 -94
- package/layout/_partial/ayeria.ejs +53 -53
- package/layout/_partial/baidu-analytics.ejs +11 -11
- package/layout/_partial/broadcast.ejs +19 -19
- package/layout/_partial/float-btns.ejs +7 -7
- package/layout/_partial/footer.ejs +61 -61
- package/layout/_partial/google-analytics.ejs +10 -10
- package/layout/_partial/head.ejs +64 -68
- package/layout/_partial/katex.ejs +21 -21
- package/layout/_partial/lock.ejs +37 -37
- package/layout/_partial/mathjax.ejs +18 -18
- package/layout/_partial/modal.ejs +70 -76
- package/layout/_partial/music.ejs +15 -15
- package/layout/_partial/post/albums.ejs +16 -16
- package/layout/_partial/post/author.ejs +7 -7
- package/layout/_partial/post/busuanzi.ejs +4 -4
- package/layout/_partial/post/category.ejs +9 -9
- package/layout/_partial/post/clipboard.ejs +54 -54
- package/layout/_partial/post/date.ejs +2 -2
- package/layout/_partial/post/gallery.ejs +15 -15
- package/layout/_partial/post/giscus.ejs +40 -40
- package/layout/_partial/post/gitalk.ejs +12 -12
- package/layout/_partial/post/justifiedGallery.ejs +8 -8
- package/layout/_partial/post/nav.ejs +22 -22
- package/layout/_partial/post/search.ejs +3 -3
- package/layout/_partial/post/share.ejs +53 -53
- package/layout/_partial/post/tag.ejs +5 -5
- package/layout/_partial/post/title.ejs +16 -16
- package/layout/_partial/post/tocbot.ejs +6 -6
- package/layout/_partial/post/topping.ejs +2 -2
- package/layout/_partial/post/twikoo.ejs +7 -7
- package/layout/_partial/post/valine.ejs +48 -48
- package/layout/_partial/post/word.ejs +19 -19
- package/layout/_partial/sidebar.ejs +48 -33
- package/layout/_partial/viewer.ejs +105 -105
- package/layout/categories.ejs +8 -8
- package/layout/friends.ejs +19 -19
- package/layout/index.ejs +4 -4
- package/layout/layout.ejs +35 -30
- package/layout/page.ejs +2 -2
- package/layout/plain-page.ejs +4 -4
- package/layout/post.ejs +2 -2
- package/layout/tags.ejs +88 -88
- package/package.json +39 -39
- package/scripts/default_config.js +6 -6
- package/scripts/events/index.js +11 -11
- package/scripts/events/lib/hello.js +38 -38
- package/scripts/events/lib/merge-configs.js +28 -28
- package/scripts/filters/index.js +13 -13
- package/scripts/filters/meta_generator.js +17 -17
- package/scripts/helpers/ayeria-plus-vendors.js +9 -9
- package/scripts/helpers/category-tree.js +90 -90
- package/scripts/helpers/wordcount.js +39 -39
- package/scripts/lib/core.js +25 -25
- package/scripts/utils/join-path.js +12 -12
- package/scripts/utils/object.js +31 -31
- package/source/404.html +187 -187
- package/source/css/ayeria-layout.styl +48 -48
- package/source/css/clipboard.styl +37 -37
- package/source/css/custom.styl +17 -17
- package/source/css/fonts/remixicon.css +1816 -1816
- package/source/css/fonts/remixicon.svg +5329 -5329
- package/source/data/random-sentences.txt +2629 -141
- package/source/dist/main.css +1 -1
- package/source/dist/main.js +1 -1
- package/source/js/clickBoom1.js +152 -152
- package/source/js/clickBoom2.js +180 -180
- package/source/js/jquery-3.6.0.min.js +2 -2
- package/source/js/lazyload.min.js +7 -7
- package/source/js/search.js +126 -126
- package/source/js/random-sentences.js +0 -166
package/languages/pt.yml
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
categories: Categorias
|
|
2
|
-
search: Buscar
|
|
3
|
-
tags: Tags
|
|
4
|
-
tagcloud: Nuvem de Tags
|
|
5
|
-
tweets: Tweets
|
|
6
|
-
prev: Anterior
|
|
7
|
-
next: Próximo
|
|
8
|
-
comment: Comentários
|
|
9
|
-
archive_a: Arquivos
|
|
10
|
-
archive_b: "Arquivos: %s"
|
|
11
|
-
page: Página %d
|
|
12
|
-
recent_posts: Postagens Recentes
|
|
13
|
-
newer: Mais Recente
|
|
14
|
-
older: Mais Antigo
|
|
15
|
-
share: Compartilhar
|
|
16
|
-
powered_by: Powered by %s
|
|
17
|
-
theme: Theme - %s
|
|
18
|
-
rss_feed: Feed RSS
|
|
19
|
-
category: Categoria
|
|
20
|
-
tag: Tag
|
|
21
|
-
site_visitors: Visitors
|
|
22
|
-
page_views: Views
|
|
23
|
-
friends: Amigos
|
|
24
|
-
posts_count: "%d postagens"
|
|
25
|
-
|
|
26
|
-
post:
|
|
27
|
-
word_count: Word count
|
|
28
|
-
read_time: Reading time
|
|
29
|
-
minutes: min
|
|
30
|
-
reward: Donate
|
|
31
|
-
sticky: Sticky
|
|
32
|
-
copyright_title: direito autoral
|
|
33
|
-
copyright_content: Os direitos autorais são de propriedade do autor. Para reimpressões comerciais, entre em contato com o autor para obter autorização. Para reimpressões não comerciais, indique a fonte.
|
|
34
|
-
|
|
35
|
-
lock:
|
|
36
|
-
lock_info: Please enter password
|
|
37
|
-
lock_error: Incorrect password, please try again
|
|
38
|
-
confirm_text: Ok
|
|
39
|
-
cancel_text: Cancel
|
|
1
|
+
categories: Categorias
|
|
2
|
+
search: Buscar
|
|
3
|
+
tags: Tags
|
|
4
|
+
tagcloud: Nuvem de Tags
|
|
5
|
+
tweets: Tweets
|
|
6
|
+
prev: Anterior
|
|
7
|
+
next: Próximo
|
|
8
|
+
comment: Comentários
|
|
9
|
+
archive_a: Arquivos
|
|
10
|
+
archive_b: "Arquivos: %s"
|
|
11
|
+
page: Página %d
|
|
12
|
+
recent_posts: Postagens Recentes
|
|
13
|
+
newer: Mais Recente
|
|
14
|
+
older: Mais Antigo
|
|
15
|
+
share: Compartilhar
|
|
16
|
+
powered_by: Powered by %s
|
|
17
|
+
theme: Theme - %s
|
|
18
|
+
rss_feed: Feed RSS
|
|
19
|
+
category: Categoria
|
|
20
|
+
tag: Tag
|
|
21
|
+
site_visitors: Visitors
|
|
22
|
+
page_views: Views
|
|
23
|
+
friends: Amigos
|
|
24
|
+
posts_count: "%d postagens"
|
|
25
|
+
|
|
26
|
+
post:
|
|
27
|
+
word_count: Word count
|
|
28
|
+
read_time: Reading time
|
|
29
|
+
minutes: min
|
|
30
|
+
reward: Donate
|
|
31
|
+
sticky: Sticky
|
|
32
|
+
copyright_title: direito autoral
|
|
33
|
+
copyright_content: Os direitos autorais são de propriedade do autor. Para reimpressões comerciais, entre em contato com o autor para obter autorização. Para reimpressões não comerciais, indique a fonte.
|
|
34
|
+
|
|
35
|
+
lock:
|
|
36
|
+
lock_info: Please enter password
|
|
37
|
+
lock_error: Incorrect password, please try again
|
|
38
|
+
confirm_text: Ok
|
|
39
|
+
cancel_text: Cancel
|
package/languages/ru.yml
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
categories: Категории
|
|
2
|
-
search: Поиск
|
|
3
|
-
tags: Метки
|
|
4
|
-
tagcloud: Облако меток
|
|
5
|
-
tweets: Твиты
|
|
6
|
-
prev: Назад
|
|
7
|
-
next: Вперед
|
|
8
|
-
comment: Комментарии
|
|
9
|
-
archive_a: Архив
|
|
10
|
-
archive_b: "Архив: %s"
|
|
11
|
-
page: Страница %d
|
|
12
|
-
recent_posts: Недавние записи
|
|
13
|
-
newer: Следующий
|
|
14
|
-
older: Предыдущий
|
|
15
|
-
share: Поделиться
|
|
16
|
-
powered_by: Powered by %s
|
|
17
|
-
theme: Theme - %s
|
|
18
|
-
rss_feed: RSS-каналы
|
|
19
|
-
category: Категория
|
|
20
|
-
tag: Метка
|
|
21
|
-
site_visitors: Visitors
|
|
22
|
-
page_views: Views
|
|
23
|
-
friends: друзья
|
|
24
|
-
posts_count: "%d записей"
|
|
25
|
-
|
|
26
|
-
post:
|
|
27
|
-
word_count: Количество слов
|
|
28
|
-
read_time: Время чтения
|
|
29
|
-
minutes: минут
|
|
30
|
-
reward: вознаграждение
|
|
31
|
-
sticky: липкий
|
|
32
|
-
copyright_title: Авторские права
|
|
33
|
-
copyright_content: Авторские права принадлежат автору. Для коммерческих перепечаток, пожалуйста, свяжитесь с автором для авторизации. Для некоммерческих перепечаток, пожалуйста, укажите источник.
|
|
34
|
-
|
|
35
|
-
lock:
|
|
36
|
-
lock_info: Please enter password
|
|
37
|
-
lock_error: Incorrect password, please try again
|
|
38
|
-
confirm_text: Ok
|
|
39
|
-
cancel_text: Cancel
|
|
1
|
+
categories: Категории
|
|
2
|
+
search: Поиск
|
|
3
|
+
tags: Метки
|
|
4
|
+
tagcloud: Облако меток
|
|
5
|
+
tweets: Твиты
|
|
6
|
+
prev: Назад
|
|
7
|
+
next: Вперед
|
|
8
|
+
comment: Комментарии
|
|
9
|
+
archive_a: Архив
|
|
10
|
+
archive_b: "Архив: %s"
|
|
11
|
+
page: Страница %d
|
|
12
|
+
recent_posts: Недавние записи
|
|
13
|
+
newer: Следующий
|
|
14
|
+
older: Предыдущий
|
|
15
|
+
share: Поделиться
|
|
16
|
+
powered_by: Powered by %s
|
|
17
|
+
theme: Theme - %s
|
|
18
|
+
rss_feed: RSS-каналы
|
|
19
|
+
category: Категория
|
|
20
|
+
tag: Метка
|
|
21
|
+
site_visitors: Visitors
|
|
22
|
+
page_views: Views
|
|
23
|
+
friends: друзья
|
|
24
|
+
posts_count: "%d записей"
|
|
25
|
+
|
|
26
|
+
post:
|
|
27
|
+
word_count: Количество слов
|
|
28
|
+
read_time: Время чтения
|
|
29
|
+
minutes: минут
|
|
30
|
+
reward: вознаграждение
|
|
31
|
+
sticky: липкий
|
|
32
|
+
copyright_title: Авторские права
|
|
33
|
+
copyright_content: Авторские права принадлежат автору. Для коммерческих перепечаток, пожалуйста, свяжитесь с автором для авторизации. Для некоммерческих перепечаток, пожалуйста, укажите источник.
|
|
34
|
+
|
|
35
|
+
lock:
|
|
36
|
+
lock_info: Please enter password
|
|
37
|
+
lock_error: Incorrect password, please try again
|
|
38
|
+
confirm_text: Ok
|
|
39
|
+
cancel_text: Cancel
|
package/languages/vi.yml
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
categories: Thể loại
|
|
2
|
-
search: Tìm Kiếm
|
|
3
|
-
tags: thẻ
|
|
4
|
-
tagcloud: thẻ đám mây
|
|
5
|
-
tweets: Tweets
|
|
6
|
-
prev: trước
|
|
7
|
-
next: kế tiếp
|
|
8
|
-
comment: bình luận
|
|
9
|
-
archive_a: Archives
|
|
10
|
-
archive_b: "Archives: %s"
|
|
11
|
-
page: Page %d
|
|
12
|
-
recent_posts: Bài viết gần đây
|
|
13
|
-
newer: mới hơn
|
|
14
|
-
older: lớn hơn
|
|
15
|
-
share: chia sẻ
|
|
16
|
-
powered_by: Powered by %s
|
|
17
|
-
theme: Theme - %s
|
|
18
|
-
rss_feed: RSS Feed
|
|
19
|
-
category: Thể loại
|
|
20
|
-
tag: thẻ
|
|
21
|
-
site_visitors: Visitors
|
|
22
|
-
page_views: Views
|
|
23
|
-
friends: Bạn
|
|
24
|
-
posts_count: "%d bài viết"
|
|
25
|
-
|
|
26
|
-
post:
|
|
27
|
-
word_count: Đếm từ
|
|
28
|
-
read_time: Thời gian đọc
|
|
29
|
-
minutes: min
|
|
30
|
-
reward: tặng
|
|
31
|
-
sticky: dính
|
|
32
|
-
copyright_title: Bản quyền
|
|
33
|
-
copyright_content: Bản quyền thuộc sở hữu của tác giả. Đối với tái bản thương mại, xin vui lòng liên hệ với tác giả cho phép. Đối với tái bản phi thương mại, xin vui lòng cho biết nguồn.
|
|
34
|
-
|
|
35
|
-
lock:
|
|
36
|
-
lock_info: Please enter password
|
|
37
|
-
lock_error: Incorrect password, please try again
|
|
38
|
-
confirm_text: Ok
|
|
39
|
-
cancel_text: Cancel
|
|
1
|
+
categories: Thể loại
|
|
2
|
+
search: Tìm Kiếm
|
|
3
|
+
tags: thẻ
|
|
4
|
+
tagcloud: thẻ đám mây
|
|
5
|
+
tweets: Tweets
|
|
6
|
+
prev: trước
|
|
7
|
+
next: kế tiếp
|
|
8
|
+
comment: bình luận
|
|
9
|
+
archive_a: Archives
|
|
10
|
+
archive_b: "Archives: %s"
|
|
11
|
+
page: Page %d
|
|
12
|
+
recent_posts: Bài viết gần đây
|
|
13
|
+
newer: mới hơn
|
|
14
|
+
older: lớn hơn
|
|
15
|
+
share: chia sẻ
|
|
16
|
+
powered_by: Powered by %s
|
|
17
|
+
theme: Theme - %s
|
|
18
|
+
rss_feed: RSS Feed
|
|
19
|
+
category: Thể loại
|
|
20
|
+
tag: thẻ
|
|
21
|
+
site_visitors: Visitors
|
|
22
|
+
page_views: Views
|
|
23
|
+
friends: Bạn
|
|
24
|
+
posts_count: "%d bài viết"
|
|
25
|
+
|
|
26
|
+
post:
|
|
27
|
+
word_count: Đếm từ
|
|
28
|
+
read_time: Thời gian đọc
|
|
29
|
+
minutes: min
|
|
30
|
+
reward: tặng
|
|
31
|
+
sticky: dính
|
|
32
|
+
copyright_title: Bản quyền
|
|
33
|
+
copyright_content: Bản quyền thuộc sở hữu của tác giả. Đối với tái bản thương mại, xin vui lòng liên hệ với tác giả cho phép. Đối với tái bản phi thương mại, xin vui lòng cho biết nguồn.
|
|
34
|
+
|
|
35
|
+
lock:
|
|
36
|
+
lock_info: Please enter password
|
|
37
|
+
lock_error: Incorrect password, please try again
|
|
38
|
+
confirm_text: Ok
|
|
39
|
+
cancel_text: Cancel
|
package/languages/zh-CN.yml
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
categories: 分类
|
|
2
|
-
search: 搜索
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
categories: 分类
|
|
2
|
+
search: 搜索
|
|
3
|
+
close: 关闭
|
|
4
|
+
tags: 标签
|
|
5
|
+
tagcloud: 标签云
|
|
6
|
+
tweets: 推文
|
|
7
|
+
prev: 上一页
|
|
8
|
+
next: 下一页
|
|
9
|
+
comment: 留言
|
|
10
|
+
archive_a: 归档
|
|
11
|
+
archive_b: 归档:%s
|
|
12
|
+
page: 第 %d 页
|
|
13
|
+
recent_posts: 最新文章
|
|
14
|
+
newer: Newer
|
|
15
|
+
older: Older
|
|
16
|
+
share: 分享
|
|
17
|
+
powered_by: 由 %s 强力驱动
|
|
18
|
+
theme: 主题 - %s
|
|
19
|
+
rss_feed: RSS Feed
|
|
20
|
+
category: Category
|
|
21
|
+
tag: Tag
|
|
22
|
+
site_visitors: 访问人数
|
|
23
|
+
page_views: 浏览次数
|
|
24
|
+
friends: 友情链接
|
|
25
|
+
posts_count: "%d 篇文章"
|
|
26
|
+
|
|
27
|
+
post:
|
|
28
|
+
word_count: 字数统计
|
|
29
|
+
read_time: 阅读时长
|
|
30
|
+
minutes: 分钟
|
|
31
|
+
reward: 打赏
|
|
32
|
+
sticky: 置顶
|
|
33
|
+
copyright_title: 版权声明
|
|
34
|
+
copyright_content: 本博客所有文章除特别声明外,著作权归作者所有。转载请注明出处!
|
|
35
|
+
|
|
36
|
+
lock:
|
|
37
|
+
lock_info: 请输入访问密码
|
|
38
|
+
lock_error: 密码错误,请重试
|
|
39
|
+
confirm_text: 确定
|
|
40
|
+
cancel_text: 取消
|
package/languages/zh-TW.yml
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
categories: 分類
|
|
2
|
-
search: 搜尋
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
categories: 分類
|
|
2
|
+
search: 搜尋
|
|
3
|
+
close: 關閉
|
|
4
|
+
tags: 標籤
|
|
5
|
+
tagcloud: 標籤雲
|
|
6
|
+
tweets: 推文
|
|
7
|
+
prev: 上一頁
|
|
8
|
+
next: 下一頁
|
|
9
|
+
comment: 留言
|
|
10
|
+
archive_a: 彙整
|
|
11
|
+
archive_b: 彙整:%s
|
|
12
|
+
page: 第 %d 頁
|
|
13
|
+
recent_posts: 最新文章
|
|
14
|
+
newer: Newer
|
|
15
|
+
older: Older
|
|
16
|
+
share: Share
|
|
17
|
+
powered_by: Powered by %s
|
|
18
|
+
theme: Theme - %s
|
|
19
|
+
rss_feed: RSS Feed
|
|
20
|
+
category: Category
|
|
21
|
+
tag: Tag
|
|
22
|
+
site_visitors: Visitors
|
|
23
|
+
page_views: Views
|
|
24
|
+
friends: 友情鏈接
|
|
25
|
+
posts_count: "%d 篇文章"
|
|
26
|
+
|
|
27
|
+
post:
|
|
28
|
+
word_count: 字數統計
|
|
29
|
+
read_time: 閱讀時長
|
|
30
|
+
minutes: 分鐘
|
|
31
|
+
reward: 打賞
|
|
32
|
+
sticky: 置頂
|
|
33
|
+
copyright_title: 版權聲明
|
|
34
|
+
copyright_content: 本博客所有文章除特別聲明外,著作權歸作者所有。轉載請註明出處!
|
|
35
|
+
|
|
36
|
+
lock:
|
|
37
|
+
lock_info: 請輸入訪問密碼
|
|
38
|
+
lock_error: 密碼錯誤,請重試
|
|
39
|
+
confirm_text: 確定
|
|
40
|
+
cancel_text: 取消
|
package/layout/_partial/ads.ejs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<ul class="ads">
|
|
2
|
-
<% for (var i in theme.ads){ %>
|
|
3
|
-
<li>
|
|
4
|
-
<a href="<%= theme.ads[i].url %>">
|
|
5
|
-
<img src="<%= theme.ads[i].img %>" width="<%= theme.ads[i].width %>" alt="<%=theme.ads[i].title %>">
|
|
6
|
-
</a>
|
|
7
|
-
</li>
|
|
8
|
-
<% } %>
|
|
1
|
+
<ul class="ads">
|
|
2
|
+
<% for (var i in theme.ads){ %>
|
|
3
|
+
<li>
|
|
4
|
+
<a href="<%= theme.ads[i].url %>">
|
|
5
|
+
<img src="<%= theme.ads[i].img %>" width="<%= theme.ads[i].width %>" alt="<%=theme.ads[i].title %>">
|
|
6
|
+
</a>
|
|
7
|
+
</li>
|
|
8
|
+
<% } %>
|
|
9
9
|
</ul>
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
<%- js('/js/jquery-3.6.0.min') %>
|
|
2
|
-
<%- js('/js/lazyload.min') %>
|
|
3
|
-
|
|
4
|
-
<!-- Tocbot -->
|
|
5
|
-
<% if (theme.toc && is_post() && !page.no_toc) { %>
|
|
6
|
-
<%- js('/js/tocbot.min') %>
|
|
7
|
-
<script>
|
|
8
|
-
tocbot.init({
|
|
9
|
-
tocSelector: ".tocbot",
|
|
10
|
-
contentSelector: ".article-entry",
|
|
11
|
-
headingSelector: "h1, h2, h3, h4, h5, h6",
|
|
12
|
-
hasInnerContainers: true,
|
|
13
|
-
scrollSmooth: true,
|
|
14
|
-
scrollContainer: "main",
|
|
15
|
-
positionFixedSelector: ".tocbot",
|
|
16
|
-
positionFixedClass: "is-position-fixed",
|
|
17
|
-
fixedSidebarOffset: "auto",
|
|
18
|
-
});
|
|
19
|
-
</script>
|
|
20
|
-
<% } %>
|
|
21
|
-
|
|
22
|
-
<script src="https://cdn.staticfile.org/jquery-modal/0.9.2/jquery.modal.min.js"></script>
|
|
23
|
-
<link rel="stylesheet" href="https://cdn.staticfile.org/jquery-modal/0.9.2/jquery.modal.min.css" />
|
|
24
|
-
<script src="https://cdn.staticfile.org/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js"></script>
|
|
25
|
-
|
|
26
|
-
<%- js('dist/main') %>
|
|
27
|
-
|
|
28
|
-
<!-- ImageViewer -->
|
|
29
|
-
<% if (theme.image_viewer) { %>
|
|
30
|
-
<%- partial('viewer') %>
|
|
31
|
-
<% } %>
|
|
32
|
-
|
|
33
|
-
<!-- MathJax -->
|
|
34
|
-
<% if (theme.mathjax) { %>
|
|
35
|
-
<%- partial('mathjax') %>
|
|
36
|
-
<script>
|
|
37
|
-
var ayeriaConfig = {
|
|
38
|
-
mathjax: true,
|
|
39
|
-
};
|
|
40
|
-
</script>
|
|
41
|
-
<% } %>
|
|
42
|
-
|
|
43
|
-
<!-- Katex -->
|
|
44
|
-
<% if (theme.katex.enable) { %>
|
|
45
|
-
<%- partial('katex') %>
|
|
46
|
-
<% } %>
|
|
47
|
-
|
|
48
|
-
<!-- busuanzi -->
|
|
49
|
-
<% if (theme.busuanzi && theme.busuanzi.enable) { %>
|
|
50
|
-
<%- js('/js/busuanzi-2.3.pure.min') %>
|
|
51
|
-
<% } %>
|
|
52
|
-
|
|
53
|
-
<!-- ClickLove -->
|
|
54
|
-
<% if (theme.click_effect === 1) { %>
|
|
55
|
-
<%- js('/js/clickLove') %>
|
|
56
|
-
<% } %>
|
|
57
|
-
|
|
58
|
-
<!-- ClickBoom1 -->
|
|
59
|
-
<% if (theme.click_effect === 2) { %>
|
|
60
|
-
<script src="https://cdn.staticfile.org/animejs/3.2.1/anime.min.js"></script>
|
|
61
|
-
<%- js('/js/clickBoom1') %>
|
|
62
|
-
<% } %>
|
|
63
|
-
|
|
64
|
-
<!-- ClickBoom2 -->
|
|
65
|
-
<% if (theme.click_effect === 3) { %>
|
|
66
|
-
<%- js('/js/clickBoom2') %>
|
|
67
|
-
<% } %>
|
|
68
|
-
|
|
69
|
-
<!-- CodeCopy -->
|
|
70
|
-
<% if (theme.copy_btn == true) { %>
|
|
71
|
-
<%- css('/css/clipboard') %>
|
|
72
|
-
<%- partial('post/clipboard') %>
|
|
73
|
-
<% } %>
|
|
74
|
-
|
|
75
|
-
<!-- CanvasBackground -->
|
|
76
|
-
<% if (theme.canvas_bg == 1) { %>
|
|
77
|
-
<%- js('/js/dz') %>
|
|
78
|
-
<% } %>
|
|
79
|
-
|
|
80
|
-
<script>
|
|
81
|
-
if (window.mermaid) {
|
|
82
|
-
mermaid.initialize({ theme: "<%= theme.mermaid.theme %>" });
|
|
83
|
-
}
|
|
84
|
-
</script>
|
|
1
|
+
<%- js('/js/jquery-3.6.0.min') %>
|
|
2
|
+
<%- js('/js/lazyload.min') %>
|
|
3
|
+
|
|
4
|
+
<!-- Tocbot -->
|
|
5
|
+
<% if (theme.toc && is_post() && !page.no_toc) { %>
|
|
6
|
+
<%- js('/js/tocbot.min') %>
|
|
7
|
+
<script>
|
|
8
|
+
tocbot.init({
|
|
9
|
+
tocSelector: ".tocbot",
|
|
10
|
+
contentSelector: ".article-entry",
|
|
11
|
+
headingSelector: "h1, h2, h3, h4, h5, h6",
|
|
12
|
+
hasInnerContainers: true,
|
|
13
|
+
scrollSmooth: true,
|
|
14
|
+
scrollContainer: "main",
|
|
15
|
+
positionFixedSelector: ".tocbot",
|
|
16
|
+
positionFixedClass: "is-position-fixed",
|
|
17
|
+
fixedSidebarOffset: "auto",
|
|
18
|
+
});
|
|
19
|
+
</script>
|
|
20
|
+
<% } %>
|
|
21
|
+
|
|
22
|
+
<script src="https://cdn.staticfile.org/jquery-modal/0.9.2/jquery.modal.min.js"></script>
|
|
23
|
+
<link rel="stylesheet" href="https://cdn.staticfile.org/jquery-modal/0.9.2/jquery.modal.min.css" />
|
|
24
|
+
<script src="https://cdn.staticfile.org/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js"></script>
|
|
25
|
+
|
|
26
|
+
<%- js('dist/main') %>
|
|
27
|
+
|
|
28
|
+
<!-- ImageViewer -->
|
|
29
|
+
<% if (theme.image_viewer) { %>
|
|
30
|
+
<%- partial('viewer') %>
|
|
31
|
+
<% } %>
|
|
32
|
+
|
|
33
|
+
<!-- MathJax -->
|
|
34
|
+
<% if (theme.mathjax) { %>
|
|
35
|
+
<%- partial('mathjax') %>
|
|
36
|
+
<script>
|
|
37
|
+
var ayeriaConfig = {
|
|
38
|
+
mathjax: true,
|
|
39
|
+
};
|
|
40
|
+
</script>
|
|
41
|
+
<% } %>
|
|
42
|
+
|
|
43
|
+
<!-- Katex -->
|
|
44
|
+
<% if (theme.katex.enable) { %>
|
|
45
|
+
<%- partial('katex') %>
|
|
46
|
+
<% } %>
|
|
47
|
+
|
|
48
|
+
<!-- busuanzi -->
|
|
49
|
+
<% if (theme.busuanzi && theme.busuanzi.enable) { %>
|
|
50
|
+
<%- js('/js/busuanzi-2.3.pure.min') %>
|
|
51
|
+
<% } %>
|
|
52
|
+
|
|
53
|
+
<!-- ClickLove -->
|
|
54
|
+
<% if (theme.click_effect === 1) { %>
|
|
55
|
+
<%- js('/js/clickLove') %>
|
|
56
|
+
<% } %>
|
|
57
|
+
|
|
58
|
+
<!-- ClickBoom1 -->
|
|
59
|
+
<% if (theme.click_effect === 2) { %>
|
|
60
|
+
<script src="https://cdn.staticfile.org/animejs/3.2.1/anime.min.js"></script>
|
|
61
|
+
<%- js('/js/clickBoom1') %>
|
|
62
|
+
<% } %>
|
|
63
|
+
|
|
64
|
+
<!-- ClickBoom2 -->
|
|
65
|
+
<% if (theme.click_effect === 3) { %>
|
|
66
|
+
<%- js('/js/clickBoom2') %>
|
|
67
|
+
<% } %>
|
|
68
|
+
|
|
69
|
+
<!-- CodeCopy -->
|
|
70
|
+
<% if (theme.copy_btn == true) { %>
|
|
71
|
+
<%- css('/css/clipboard') %>
|
|
72
|
+
<%- partial('post/clipboard') %>
|
|
73
|
+
<% } %>
|
|
74
|
+
|
|
75
|
+
<!-- CanvasBackground -->
|
|
76
|
+
<% if (theme.canvas_bg == 1) { %>
|
|
77
|
+
<%- js('/js/dz') %>
|
|
78
|
+
<% } %>
|
|
79
|
+
|
|
80
|
+
<script>
|
|
81
|
+
if (window.mermaid) {
|
|
82
|
+
mermaid.initialize({ theme: "<%= theme.mermaid.theme %>" });
|
|
83
|
+
}
|
|
84
|
+
</script>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<article class="archive-article archive-type-<%= post.layout %>">
|
|
2
|
-
<div class="archive-article-inner">
|
|
3
|
-
<header class="archive-article-header">
|
|
4
|
-
<%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MM/DD'}) %>
|
|
5
|
-
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
|
|
6
|
-
</header>
|
|
7
|
-
<% if(page.category){ %>
|
|
8
|
-
<%- partial('post/category') %>
|
|
9
|
-
<% } %>
|
|
10
|
-
<% if(page.tag){ %>
|
|
11
|
-
<%- partial('post/tag') %>
|
|
12
|
-
<% } %>
|
|
13
|
-
</div>
|
|
1
|
+
<article class="archive-article archive-type-<%= post.layout %>">
|
|
2
|
+
<div class="archive-article-inner">
|
|
3
|
+
<header class="archive-article-header">
|
|
4
|
+
<%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MM/DD'}) %>
|
|
5
|
+
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
|
|
6
|
+
</header>
|
|
7
|
+
<% if(page.category){ %>
|
|
8
|
+
<%- partial('post/category') %>
|
|
9
|
+
<% } %>
|
|
10
|
+
<% if(page.tag){ %>
|
|
11
|
+
<%- partial('post/tag') %>
|
|
12
|
+
<% } %>
|
|
13
|
+
</div>
|
|
14
14
|
</article>
|