redeyed-jekyll-theme 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +54 -52
  4. data/_config.yml +25 -18
  5. data/_data/assets/cross-origin.yml +1 -7
  6. data/_data/assets/self-host.yml +0 -6
  7. data/_data/locale/en.yml +63 -58
  8. data/_data/locale/es-ES.yml +79 -0
  9. data/_data/locale/fr-FR.yml +79 -0
  10. data/_data/locale/id-ID.yml +79 -0
  11. data/_data/locale/ko-KR.yml +79 -0
  12. data/_data/locale/my-MM.yml +79 -0
  13. data/_data/locale/pt-BR.yml +79 -0
  14. data/_data/locale/ru-RU.yml +79 -0
  15. data/_data/locale/uk-UA.yml +79 -0
  16. data/_data/locale/vi-VN.yml +77 -0
  17. data/_data/locale/zh-CN.yml +78 -0
  18. data/_includes/{breadcrumbs.html → elements/breadcrumbs.html} +0 -0
  19. data/_includes/{datetime.html → elements/datetime.html} +0 -0
  20. data/_includes/{favicons.html → elements/favicons.html} +14 -14
  21. data/_includes/{javascript.html → elements/javascript.html} +2 -2
  22. data/_includes/{jsdelivr-combine.html → elements/jsdelivr-combine.html} +18 -18
  23. data/_includes/elements/lang.html +11 -0
  24. data/_includes/{navbar.html → elements/navbar.html} +5 -5
  25. data/_includes/{no-linenos.html → elements/no-linenos.html} +0 -0
  26. data/_includes/{options.html → elements/options.html} +13 -13
  27. data/_includes/{pagination.html → elements/pagination.html} +0 -0
  28. data/_includes/{readtime.html → elements/readtime.html} +0 -0
  29. data/_includes/{related-posts.html → elements/related-posts.html} +0 -0
  30. data/_includes/{search-loader.html → elements/search-loader.html} +46 -46
  31. data/_includes/{search-results.html → elements/search-results.html} +0 -0
  32. data/_includes/{toc.html → elements/toc.html} +0 -0
  33. data/_includes/{back-to-top.html → extensions/back-to-top.html} +2 -2
  34. data/_includes/extensions/code-highlight.html +89 -0
  35. data/_includes/extensions/comments/disqus.html +17 -0
  36. data/_includes/extensions/comments/giscus.html +56 -0
  37. data/_includes/extensions/comments/gitment.html +15 -0
  38. data/_includes/extensions/comments/utterances.html +46 -0
  39. data/_includes/extensions/geopattern.html +19 -0
  40. data/_includes/extensions/google-analytics.html +7 -0
  41. data/_includes/{google-tags-body.html → extensions/google-tags-body.html} +3 -3
  42. data/_includes/{google-tags-head.html → extensions/google-tags-head.html} +5 -5
  43. data/_includes/extensions/google-translate.html +108 -0
  44. data/_includes/extensions/hashlocate.html +44 -0
  45. data/_includes/extensions/mathjax.html +9 -0
  46. data/_includes/{mode-toggle.html → extensions/theme-mode.html} +0 -10
  47. data/_includes/extensions/theme-toggle.html +108 -0
  48. data/_includes/extensions/trianglify.html +26 -0
  49. data/_includes/functions/get-article-excerpt.html +33 -0
  50. data/_includes/functions/get-article-words.html +18 -0
  51. data/_includes/functions/get-banner.html +67 -0
  52. data/_includes/functions/get-categories.html +9 -0
  53. data/_includes/functions/get-datetimes.html +13 -0
  54. data/_includes/functions/get-reading-time.html +39 -0
  55. data/_includes/functions/get-tags.html +9 -0
  56. data/_includes/functions/get-value.html +41 -0
  57. data/_includes/functions/log.html +17 -0
  58. data/_includes/head.html +4 -4
  59. data/_includes/{copyright.html → views/copyright.html} +0 -0
  60. data/_includes/{footer.html → views/footer.html} +0 -0
  61. data/_includes/{header-banner.html → views/header-banner.html} +0 -0
  62. data/_includes/{header-wide.html → views/header-wide.html} +0 -0
  63. data/_includes/{header.html → views/header.html} +0 -0
  64. data/_includes/{panel-bottom.html → views/panel-bottom.html} +0 -0
  65. data/_includes/{panel-foot-2.html → views/panel-foot-2.html} +0 -0
  66. data/_includes/{panel-foot-3.html → views/panel-foot-3.html} +0 -0
  67. data/_includes/{panel-foot-4.html → views/panel-foot-4.html} +0 -0
  68. data/_includes/{panel-foot-full.html → views/panel-foot-full.html} +0 -0
  69. data/_includes/{panel-top-2.html → views/panel-top-2.html} +0 -0
  70. data/_includes/{panel-top-3.html → views/panel-top-3.html} +0 -0
  71. data/_includes/{panel-top-4.html → views/panel-top-4.html} +0 -0
  72. data/_includes/{panel-top-full.html → views/panel-top-full.html} +0 -0
  73. data/_includes/{post-nav.html → views/post-nav.html} +0 -0
  74. data/_includes/{post-share.html → views/post-share.html} +0 -0
  75. data/_includes/{sidebar.html → views/sidebar.html} +0 -0
  76. data/_javascript/common/back-to-top.js +20 -20
  77. data/_javascript/common/mode-toggle.js +13 -13
  78. data/_javascript/common/scroll-helper.js +36 -36
  79. data/_javascript/common/search-display.js +129 -129
  80. data/_javascript/common/sidebar.js +30 -30
  81. data/_javascript/common/tooltip-loader.js +6 -6
  82. data/_javascript/common/topbar-switcher.js +90 -90
  83. data/_javascript/common/topbar-title.js +67 -67
  84. data/_javascript/utils/category-collapse.js +30 -30
  85. data/_javascript/utils/checkbox.js +12 -12
  86. data/_javascript/utils/clipboard.js +133 -133
  87. data/_javascript/utils/img-extra.js +47 -47
  88. data/_javascript/utils/locale-datetime.js +45 -45
  89. data/_javascript/utils/pageviews.js +250 -250
  90. data/_javascript/utils/smooth-scroll.js +96 -96
  91. data/_layouts/archive.html +5 -0
  92. data/_layouts/categories.html +5 -0
  93. data/_layouts/category.html +5 -0
  94. data/_layouts/compress.html +10 -10
  95. data/_layouts/error.html +44 -0
  96. data/_layouts/errors/404.html +9 -0
  97. data/_layouts/home.html +5 -0
  98. data/_layouts/page.html +5 -5
  99. data/_layouts/panel-both.html +13 -13
  100. data/_layouts/panel-left.html +13 -13
  101. data/_layouts/panel-none.html +24 -26
  102. data/_layouts/panel-right.html +13 -13
  103. data/_layouts/post.html +5 -5
  104. data/_layouts/tag.html +5 -0
  105. data/_layouts/tags.html +5 -0
  106. data/{_includes/comments.html → _sass/addon/alerts.scss} +0 -0
  107. data/_sass/addon/common.scss +56 -1494
  108. data/_sass/addon/mixins.scss +31 -38
  109. data/_sass/addon/syntax.scss +246 -0
  110. data/_sass/{layout/page.scss → addon/typography.scss} +0 -0
  111. data/_sass/layout/_base.scss +16 -0
  112. data/_sass/redeyed-jekyll-theme.scss +30 -15
  113. data/_sass/{layout/panel-both.scss → theme/scheme-brew.scss} +0 -0
  114. data/_sass/theme/scheme-dark.scss +220 -0
  115. data/_sass/theme/scheme-light.scss +220 -0
  116. data/_sass/theme/syntax-dark.scss +150 -0
  117. data/_sass/{colors/light-syntax.scss → theme/syntax-light.scss} +4 -4
  118. data/_sass/theme/variables.scss +60 -0
  119. metadata +147 -105
  120. data/_includes/ga-site-tag.html +0 -8
  121. data/_includes/lang.html +0 -6
  122. data/_includes/mermaid.html +0 -1
  123. data/_sass/addon/variables.scss +0 -31
  124. data/_sass/colors/brew-scheme.scss +0 -7
  125. data/_sass/colors/dark-scheme.scss +0 -21
  126. data/_sass/colors/dark-syntax.scss +0 -88
  127. data/_sass/colors/light-scheme.scss +0 -7
  128. data/_sass/layout/panel-left.scss +0 -0
  129. data/_sass/layout/panel-none.scss +0 -146
  130. data/_sass/layout/panel-right.scss +0 -0
  131. data/_sass/layout/post.scss +0 -0
@@ -0,0 +1,79 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: 포스트
7
+ category: 카테고리
8
+ tag: 태그
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: 홈
14
+ categories: 카테고리
15
+ tags: 태그
16
+ archives: 아카이브
17
+ about: 정보
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: 검색
22
+ cancel: 취소
23
+ no_results: 검색 결과가 없습니다.
24
+
25
+ panel:
26
+ lastmod: 최근 업데이트
27
+ trending_tags: 인기 태그
28
+ toc: 바로가기
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다.
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: 일부 권리 보유
39
+ verbose: >-
40
+ 명시되지 않는 한 이 사이트의 블로그 게시물은 작성자의
41
+ Creative Commons Attribution 4.0 International(CC BY 4.0) 라이선스에 따라 사용이 허가되었습니다.
42
+
43
+ meta: Powered by :PLATFORM with :THEME theme.
44
+
45
+ not_found:
46
+ statment: 해당 URL은 존재하지 않습니다.
47
+
48
+ notification:
49
+ update_found: 새 버전의 콘텐츠를 사용할 수 있습니다.
50
+ update: 업데이트
51
+
52
+ # ----- Posts related labels -----
53
+
54
+ post:
55
+ written_by: By
56
+ posted: 게시
57
+ updated: 업데이트
58
+ words: 단어
59
+ pageview_measure: 조회
60
+ read_time:
61
+ unit: 분
62
+ prompt: 읽는 시간
63
+ relate_posts: 관련된 글
64
+ share: 공유하기
65
+ button:
66
+ next: 다음 글
67
+ previous: 이전 글
68
+ copy_code:
69
+ succeed: 복사되었습니다!
70
+ share_link:
71
+ title: 링크 복사하기
72
+ succeed: 링크가 복사되었습니다!
73
+ # pinned prompt of posts list on homepage
74
+ pin_prompt: 핀
75
+
76
+ # categories page
77
+ categories:
78
+ category_measure: 카테고리
79
+ post_measure: 포스트
@@ -0,0 +1,79 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: ပို့စ်
7
+ category: ကဏ္ဍ
8
+ tag: နာမ(တက်ဂ်)
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: အဓိကစာမျက်နှာ
14
+ categories: ကဏ္ဍများ
15
+ tags: နာမ(တက်ဂ်)များ
16
+ archives: မှတ်တမ်း​တိုက်
17
+ about: အကြောင်းအရာ
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: ရှာဖွေမည်
22
+ cancel: ဖျက်သိမ်းမည်
23
+ no_results: အိုး! ဘာမှမရှိပါ
24
+
25
+ panel:
26
+ lastmod: မကြာသေးမီကမွမ်းမံထားသည်
27
+ trending_tags: ခေတ်စားနေသည့်တက်ဂ်များ
28
+ toc: အကြောင်းအရာများ
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: ဤပို့စ်သည်စာရေးသူ၏ :LICENSE_NAME လိုင်စင်ရထားသည်။
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: မူပိုင်ခွင့်အချို့ကို လက်ဝယ်ထားသည်။
39
+ verbose: >-
40
+ အခြားမှတ်သားထားချက်များမှလွဲ၍ ဤဆိုက်ရှိ ဘလော့ဂ်ပို့စ်များသည် စာရေးသူ၏
41
+ Creative Commons Attribution 4.0 International (CC BY 4.0) အောက်တွင် လိုင်စင်ရထားပါသည်။
42
+
43
+ meta: Powered by :PLATFORM with :THEME theme.
44
+
45
+ not_found:
46
+ statment: ဝမ်းနည်းပါသည်၊ ကျွန်ုပ်တို့သည် အဆိုပါ URL ကို မှားယွင်းစွာ နေရာချထားခြင်း သို့မဟုတ် ၎င်းသည် မရှိသောအရာကို ညွှန်ပြနေပါသည်။
47
+
48
+ notification:
49
+ update_found: အကြောင်းအရာဗားရှင်းအသစ်ကို ရနိုင်ပါပြီ။
50
+ update: အပ်ဒိတ်
51
+
52
+ # ----- Posts related labels -----
53
+
54
+ post:
55
+ written_by: ကရေးသားခဲ့သည်။
56
+ posted: တင်ထားခဲ့သည်။
57
+ updated: မွမ်းမံထားခဲ့သည်။
58
+ words: စကားလုံးများ
59
+ pageview_measure: အမြင်များ
60
+ read_time:
61
+ unit: မိနစ်
62
+ prompt: ဖတ်ပါမည်
63
+ relate_posts: နောက်ထပ်ဖတ်ရန်
64
+ share: မျှဝေရန်
65
+ button:
66
+ next: အသစ်များ
67
+ previous: အဟောင်းများ
68
+ copy_code:
69
+ succeed: ကူးယူလိုက်ပြီ။
70
+ share_link:
71
+ title: လင့်ခ်ကို ကူးယူရန်
72
+ succeed: လင့်ခ်ကို ကူးယူလိုက်ပြီ။
73
+ # pinned prompt of posts list on homepage
74
+ pin_prompt: ချိတ်ထားသည်။
75
+
76
+ # categories page
77
+ categories:
78
+ category_measure: ကဏ္ဍများ
79
+ post_measure: ပို့စ်များ
@@ -0,0 +1,79 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: Post
7
+ category: Categoria
8
+ tag: Tag
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: Home
14
+ categories: Categorias
15
+ tags: Tags
16
+ archives: Arquivos
17
+ about: Sobre
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: Buscar
22
+ cancel: Cancelar
23
+ no_results: Oops! Nenhum resultado encontrado.
24
+
25
+ panel:
26
+ lastmod: Atualizados recentemente
27
+ trending_tags: Trending Tags
28
+ toc: Conteúdo
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: Esta postagem está licenciada sob :LICENSE_NAME pelo autor.
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: Alguns direitos reservados.
39
+ verbose: >-
40
+ Exceto onde indicado de outra forma, as postagens do blog neste site são licenciadas sob a
41
+ Creative Commons Attribution 4.0 International (CC BY 4.0) License pelo autor.
42
+
43
+ meta: Feito com :PLATFORM usando o tema :THEME.
44
+
45
+ not_found:
46
+ statment: Desculpe, a página não foi encontrada.
47
+
48
+ notification:
49
+ update_found: Uma nova versão do conteúdo está disponível.
50
+ update: atualização
51
+
52
+ # ----- Posts related labels -----
53
+
54
+ post:
55
+ written_by: Por
56
+ posted: Postado em
57
+ updated: Atualizado
58
+ words: palavras
59
+ pageview_measure: visualizações
60
+ read_time:
61
+ unit: min
62
+ prompt: " de leitura"
63
+ relate_posts: Leia também
64
+ share: Compartilhar
65
+ button:
66
+ next: Próximo
67
+ previous: Anterior
68
+ copy_code:
69
+ succeed: Copiado!
70
+ share_link:
71
+ title: Copie o link
72
+ succeed: Link copiado com sucesso!
73
+ # pinned prompt of posts list on homepage
74
+ pin_prompt: Fixado
75
+
76
+ # categories page
77
+ categories:
78
+ category_measure: categorias
79
+ post_measure: posts
@@ -0,0 +1,79 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: Публикация
7
+ category: Категория
8
+ tag: Тег
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: Домашняя страница
14
+ categories: Категории
15
+ tags: Теги
16
+ archives: Архив
17
+ about: О сайте
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: поиск
22
+ cancel: Отменить
23
+ no_results: Ох! Ничего не найдено.
24
+
25
+ panel:
26
+ lastmod: Недавно обновлено
27
+ trending_tags: Популярные теги
28
+ toc: Содержание
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: Публикация защищена лицензией :LICENSE_NAME.
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: Некоторые права защищены.
39
+ verbose: >-
40
+ Публикации на сайте защищены лицензией Creative Commons Attribution 4.0 International (CC BY 4.0),
41
+ если в тексте публикации не указано иное.
42
+
43
+ meta: Powered by :PLATFORM with :THEME theme.
44
+
45
+ not_found:
46
+ statment: Извините, эта ссылка указывает на ресурс который не существует.
47
+
48
+ notification:
49
+ update_found: Доступна новая версия контента.
50
+ update: Обновлять
51
+
52
+ # ----- Posts related labels -----
53
+
54
+ post:
55
+ written_by: Автор
56
+ posted: Время публикации
57
+ updated: Обновлено
58
+ words: слов
59
+ pageview_measure: просмотров
60
+ read_time:
61
+ unit: минут
62
+ prompt: чтения
63
+ relate_posts: Вам также может быть интересно
64
+ share: Поделиться
65
+ button:
66
+ next: Предыдущая публикация
67
+ previous: Следующая публикация
68
+ copy_code:
69
+ succeed: Скопировано успешно!
70
+ share_link:
71
+ title: Скопировать ссылку
72
+ succeed: Ссылка успешно скопирована!
73
+ # pinned prompt of posts list on homepage
74
+ pin_prompt: Закреплено
75
+
76
+ # categories page
77
+ categories:
78
+ category_measure: категории
79
+ post_measure: публикации
@@ -0,0 +1,79 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: Публікація
7
+ category: Категорія
8
+ tag: Тег
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: Домашня сторінка
14
+ categories: Категорії
15
+ tags: Теги
16
+ archives: Архів
17
+ about: Про сайт
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: пошук
22
+ cancel: Скасувати
23
+ no_results: Ох! Нічого не знайдено.
24
+
25
+ panel:
26
+ lastmod: Нещодавно оновлено
27
+ trending_tags: Популярні теги
28
+ toc: Зміст
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: Публікація захищена ліцензією :LICENSE_NAME.
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: Деякі права захищено.
39
+ verbose: >-
40
+ Публікації на сайті захищено ліцензією Creative Commons Attribution 4.0 International (CC BY 4.0),
41
+ якщо інше не вказано в тексті.
42
+
43
+ meta: Powered by :PLATFORM with :THEME theme.
44
+
45
+ not_found:
46
+ statment: Вибачте, це посилання вказує на ресурс, що не існує.
47
+
48
+ notification:
49
+ update_found: Доступна нова версія вмісту.
50
+ update: Оновлення
51
+
52
+ # ----- Posts related labels -----
53
+
54
+ post:
55
+ written_by: Автор
56
+ posted: Час публікації
57
+ updated: Оновлено
58
+ words: слів
59
+ pageview_measure: переглядів
60
+ read_time:
61
+ unit: хвилин
62
+ prompt: читання
63
+ relate_posts: Вас також може зацікавити
64
+ share: Поділитися
65
+ button:
66
+ next: Попередня публікація
67
+ previous: Наступна публікація
68
+ copy_code:
69
+ succeed: Успішно скопійовано!
70
+ share_link:
71
+ title: Скопіювати посилання
72
+ succeed: Посилання успішно скопійовано!
73
+ # pinned prompt of posts list on homepage
74
+ pin_prompt: Закріплено
75
+
76
+ # categories page
77
+ categories:
78
+ category_measure: категорії
79
+ post_measure: публікації
@@ -0,0 +1,77 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: Bài viết
7
+ category: Danh mục
8
+ tag: Thẻ
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: Trang chủ
14
+ categories: Các danh mục
15
+ tags: Các thẻ
16
+ archives: Lưu trữ
17
+ about: Giới thiệu
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: tìm kiếm
22
+ cancel: Hủy
23
+ no_results: Không có kết quả tìm kiếm.
24
+
25
+ panel:
26
+ lastmod: Mới cập nhật
27
+ trending_tags: Các thẻ thịnh hành
28
+ toc: Mục lục
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: Bài viết này được cấp phép bởi tác giả theo giấy phép :LICENSE_NAME.
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: Một số quyền được bảo lưu.
39
+ verbose: >-
40
+ Trừ khi có ghi chú khác, các bài viết đăng trên trang này được cấp phép bởi tác giả theo giấy phép Creative Commons Attribution 4.0 International (CC BY 4.0).
41
+ meta: Trang web này được tạo bởi :PLATFORM với chủ đề :THEME.
42
+
43
+ not_found:
44
+ statment: Xin lỗi, chúng tôi đã đặt nhầm URL hoặc đường dẫn trỏ đến một trang nào đó không tồn tại.
45
+
46
+ notification:
47
+ update_found: Đã có phiên bản mới của nội dung.
48
+ update: Cập nhật
49
+
50
+ # ----- Posts related labels -----
51
+
52
+ post:
53
+ written_by: Viết bởi
54
+ posted: Đăng lúc
55
+ updated: Cập nhật lúc
56
+ words: từ
57
+ pageview_measure: lượt xem
58
+ read_time:
59
+ unit: phút
60
+ prompt: đọc
61
+ relate_posts: Bài viết liên quan
62
+ share: Chia sẻ
63
+ button:
64
+ next: Mới hơn
65
+ previous: Cũ hơn
66
+ copy_code:
67
+ succeed: Đã sao chép!
68
+ share_link:
69
+ title: Sao chép đường dẫn
70
+ succeed: Đã sao chép đường dẫn thành công!
71
+ # pinned prompt of posts list on homepage
72
+ pin_prompt: Bài ghim
73
+
74
+ # categories page
75
+ categories:
76
+ category_measure: danh mục
77
+ post_measure: bài viết
@@ -0,0 +1,78 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: 文章
7
+ category: 分类
8
+ tag: 标签
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: 首页
14
+ categories: 分类
15
+ tags: 标签
16
+ archives: 归档
17
+ about: 关于
18
+
19
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: 搜索
22
+ cancel: 取消
23
+ no_results: 搜索结果为空
24
+
25
+ panel:
26
+ lastmod: 最近更新
27
+ trending_tags: 热门标签
28
+ toc: 文章内容
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: 本文由作者按照 :LICENSE_NAME 进行授权
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: 保留部分权利。
39
+ verbose: >-
40
+ 除非另有说明,本网站上的博客文章均由作者按照知识共享署名 4.0 国际 (CC BY 4.0) 许可协议进行授权。
41
+
42
+ meta: 本站由 :PLATFORM 生成,采用 :THEME 主题。
43
+
44
+ not_found:
45
+ statment: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。
46
+
47
+ notification:
48
+ update_found: 发现新版本的内容。
49
+ update: 更新
50
+
51
+ # ----- Posts related labels -----
52
+
53
+ post:
54
+ written_by: 作者
55
+ posted: 发表于
56
+ updated: 更新于
57
+ words: 字
58
+ pageview_measure: 次浏览
59
+ read_time:
60
+ unit: 分钟
61
+ prompt: 阅读
62
+ relate_posts: 相关文章
63
+ share: 分享
64
+ button:
65
+ next: 下一篇
66
+ previous: 上一篇
67
+ copy_code:
68
+ succeed: 已复制!
69
+ share_link:
70
+ title: 分享链接
71
+ succeed: 链接已复制!
72
+ # pinned prompt of posts list on homepage
73
+ pin_prompt: 顶置
74
+
75
+ # categories page
76
+ categories:
77
+ category_measure: 个分类
78
+ post_measure: 篇文章
File without changes
@@ -1,14 +1,14 @@
1
- {% comment %}
2
- The Favicons for Web, Android, Microsoft, and iOS (iPhone and iPad) Apps
3
- Generated by: https://realfavicongenerator.net/
4
- {% endcomment %}
5
-
6
- {% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
7
-
8
- <link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
9
- <link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
10
- <link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
11
- <link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
12
- <link rel="mask-icon" href="{{ favicon_path }}/safari-pinned-tab.svg" color="#d30000">
13
- <meta name="msapplication-TileColor" content="#000000">
14
- <meta name="theme-color" content="#ffffff">
1
+ {% comment %}
2
+ The Favicons for Web, Android, Microsoft, and iOS (iPhone and iPad) Apps
3
+ Generated by: https://realfavicongenerator.net/
4
+ {% endcomment %}
5
+
6
+ {% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
7
+
8
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
9
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
10
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
11
+ <link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
12
+ <link rel="mask-icon" href="{{ favicon_path }}/safari-pinned-tab.svg" color="#d30000">
13
+ <meta name="msapplication-TileColor" content="#000000">
14
+ <meta name="theme-color" content="#ffffff">
@@ -15,7 +15,7 @@
15
15
  | append: ',' | append: site.data.assets[origin].lozad.js
16
16
  | append: ',' | append: site.data.assets[origin].clipboard.js
17
17
  %}
18
- {% include jsdelivr-combine.html urls=_urls %}
18
+ {% include elements/jsdelivr-combine.html urls=_urls %}
19
19
  {% endif %}
20
20
 
21
21
  {% if page.layout == 'home'
@@ -34,7 +34,7 @@
34
34
  | append: ',' | append: site.data.assets[origin].dayjs.js.relativeTime
35
35
  | append: ',' | append: site.data.assets[origin].dayjs.js.localizedFormat
36
36
  %}
37
- {% include jsdelivr-combine.html urls=_urls %}
37
+ {% include elements/jsdelivr-combine.html urls=_urls %}
38
38
  {% endif %}
39
39
 
40
40
  {% if page.layout == 'home'
@@ -1,18 +1,18 @@
1
- {% assign urls = include.urls | split: ',' %}
2
- {% assign combined_urls = nil %}
3
- {% assign domain = 'https://cdn.jsdelivr.net/' %}
4
- {% for url in urls %}
5
- {% if url contains domain %}
6
- {% assign url_snippet = url | slice: domain.size, url.size %}
7
- {% if combined_urls %}
8
- {% assign combined_urls = combined_urls | append: ',' | append: url_snippet %}
9
- {% else %}
10
- {% assign combined_urls = domain | append: 'combine/' | append: url_snippet %}
11
- {% endif %}
12
- {% elsif url contains '//' %}
13
- <script src="{{ url }}"></script>
14
- {% else %}
15
- <script src="{{ url | relative_url }}"></script>
16
- {% endif %}
17
- {% endfor %}
18
- {% if combined_urls %}<script src="{{ combined_urls }}"></script>{% endif %}
1
+ {% assign urls = include.urls | split: ',' %}
2
+ {% assign combined_urls = nil %}
3
+ {% assign domain = 'https://cdn.jsdelivr.net/' %}
4
+ {% for url in urls %}
5
+ {% if url contains domain %}
6
+ {% assign url_snippet = url | slice: domain.size, url.size %}
7
+ {% if combined_urls %}
8
+ {% assign combined_urls = combined_urls | append: ',' | append: url_snippet %}
9
+ {% else %}
10
+ {% assign combined_urls = domain | append: 'combine/' | append: url_snippet %}
11
+ {% endif %}
12
+ {% elsif url contains '//' %}
13
+ <script src="{{ url }}"></script>
14
+ {% else %}
15
+ <script src="{{ url | relative_url }}"></script>
16
+ {% endif %}
17
+ {% endfor %}
18
+ {% if combined_urls %}<script src="{{ combined_urls }}"></script>{% endif %}
@@ -0,0 +1,11 @@
1
+ {% comment %} Detect language and return it through variable "lang" {% endcomment %}
2
+ {% if page.lang %}
3
+ {% assign lang = page.lang %}
4
+ {% elsif site.lang %}
5
+ {% assign lang = site.lang %}
6
+ {% endif %}
7
+ {% if site.data.locales[site.lang] %}
8
+ {% assign lang = site.lang %}
9
+ {% else %}
10
+ {% assign lang = 'en' %}
11
+ {% endif %}
@@ -1,6 +1,6 @@
1
- {% comment %} NAVBAR {% endcomment %}
2
- <nav>
3
- {% for item in site.data.navigation %}
4
- <a href="{{ item.link }}" {% if page.url == item.link %}style="color: red;"{% endif %}>{{ item.name }}</a>
5
- {% endfor %}
1
+ {% comment %} NAVBAR {% endcomment %}
2
+ <nav>
3
+ {% for item in site.data.navigation %}
4
+ <a href="{{ item.link }}" {% if page.url == item.link %}style="color: red;"{% endif %}>{{ item.name }}</a>
5
+ {% endfor %}
6
6
  </nav>