minimal-mistakes-jekyll 4.19.3 → 4.20.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dffbc8bd4355b0ab008ca88049e2adedd69e5b21f29ec1c8b361ecf3ff333f7
4
- data.tar.gz: 6a65d88b598c6de8664d0fe1d86489376b99cae0bfb7664f0fa5dda1da7bdde5
3
+ metadata.gz: 4d315ea81db661005b52625eb984504cece11c22bd12bb87e4aaebd67469f1a3
4
+ data.tar.gz: 83f7c7837bf582fdebd8629afa251c7d701714f42ad4b26639c8c391df3ee8d4
5
5
  SHA512:
6
- metadata.gz: e38de211dcb968847775e567793004b5901f43a950dbfd3e4cb4854a1b134f894ca1cda5a2fb9800e476c7595136da116a0201fd95f38f5e364eb3345c00afbf
7
- data.tar.gz: 3d7e53aa7ba1567b31f1c30d3b01ea19767e0058128fee562220ad6ea8a6ab9f30230c4ea965ca02764e6cbb1beeb2948f7e2b884bac4e0c319432c5d8f4d940
6
+ metadata.gz: 8366691e4b39b767391af1334c3e9e294d4a818b4f9b65a7aa4dc67a9d42a34464837e358a83484d6d34fed68d0bd6bdf39d17cdad7ddc3ded1ac984b69d8f23
7
+ data.tar.gz: 8097d8aa51a709a73cde74ac172b037bf23782a4e200ad08d138a86c9c7f900b5e7ccc0ca6a3baa8a181322fc72f0cd6b20e35a5c1992888efcc4ade6480ffcc
@@ -1,4 +1,28 @@
1
- ## Unreleased
1
+ ## [4.20.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.0)
2
+
3
+ ### Bug Fixes
4
+
5
+ - Add `relative_url` filter to author home link [#2575](https://github.com/mmistakes/minimal-mistakes/pull/2575)
6
+ - Fix `analytics.provider` config comment to list all analytics providers. [#2607](https://github.com/mmistakes/minimal-mistakes/pull/2607)
7
+ - Fix typo in installation documentation. [#2570](https://github.com/mmistakes/minimal-mistakes/pull/2570)
8
+ - Fix broken Lunr search with Jekyll v4.1.0. [#2617](https://github.com/mmistakes/minimal-mistakes/pull/2617)
9
+
10
+ ### Enhancements
11
+
12
+ - Add an optional date alongside the reading time. To enable set `show_date: true` similar to how reading time is. [#2526](https://github.com/mmistakes/minimal-mistakes/pull/2526)
13
+ - Remove hidden posts from posts.html layout. [#2625](https://github.com/mmistakes/minimal-mistakes/pull/2625)
14
+ - Add entry layout configuration for `list` (default) or `grid` views on `layout: home`. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
15
+ - Add missing Chinese translations. [#2576](https://github.com/mmistakes/minimal-mistakes/pull/2576)
16
+ - Improve Chinese translations. [#2626](https://github.com/mmistakes/minimal-mistakes/pull/2626)
17
+ - Add `line-height` to `h4` element in notice helper. [#2602](https://github.com/mmistakes/minimal-mistakes/pull/2602)
18
+ - Improve Algolia search. [#2572](https://github.com/mmistakes/minimal-mistakes/pull/2572)
19
+ - Update link to wtfpl license in README. [#2571](https://github.com/mmistakes/minimal-mistakes/pull/2571)
20
+ - Ignore teaser headline in table of contents when including posts list in another page. [#2558](https://github.com/mmistakes/minimal-mistakes/pull/2558)
21
+ - Replace Font Awesome Kits with CSS from jsDelivr CDN. [#2583](https://github.com/mmistakes/minimal-mistakes/pull/2583)
22
+ - Add `danmaku` option to Bilibili video provider and add corresponding documentation/ [#2599](https://github.com/mmistakes/minimal-mistakes/pull/2599)
23
+ - Update documentation about loading l10n data file from the theme-gem. [#2621](https://github.com/mmistakes/minimal-mistakes/issues/2621) [#2624](https://github.com/mmistakes/minimal-mistakes/pull/2624)
24
+
25
+ ## [4.19.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.3)
2
26
 
3
27
  ### Enhancements
4
28
 
data/README.md CHANGED
@@ -126,7 +126,7 @@ To install:
126
126
  bundle
127
127
  ```
128
128
 
129
- 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.19.3"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
129
+ 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
130
130
 
131
131
  **Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.
132
132
 
@@ -238,7 +238,7 @@ Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opens
238
238
 
239
239
  Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
240
240
  Copyright (c) 2013 Dave Rubert and Chris Coyier.
241
- FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
241
+ FitVids is distributed under the terms of the [WTFPL License](http://www.wtfpl.net/).
242
242
 
243
243
  Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
244
244
  Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
@@ -47,6 +47,7 @@ en: &DEFAULT_EN
47
47
  loading_label : "Loading..."
48
48
  search_label_text : "Enter your search term..."
49
49
  search_placeholder_text : "Enter your search term..."
50
+ search_algolia_no_results : "No results"
50
51
  results_found : "Result(s) found"
51
52
  back_to_top : "Back to top"
52
53
  en-US:
@@ -105,6 +106,7 @@ es: &DEFAULT_ES
105
106
  loading_label : "Cargando..."
106
107
  search_label_text : "Términos de búsqueda..."
107
108
  search_placeholder_text : "Términos de búsqueda..."
109
+ search_algolia_no_results :
108
110
  results_found : "resultado(s) encontrado(s)"
109
111
  back_to_top : "Volver arriba"
110
112
  es-ES:
@@ -159,6 +161,7 @@ fr: &DEFAULT_FR
159
161
  loading_label : "Chargement..."
160
162
  search_label_text :
161
163
  search_placeholder_text : "Entrez votre recherche..."
164
+ search_algolia_no_results :
162
165
  results_found : "Résultat(s) trouvé(s)"
163
166
  back_to_top : "Retour en haut"
164
167
  fr-FR:
@@ -214,6 +217,7 @@ tr: &DEFAULT_TR
214
217
  comment_error_msg : "Maalesef bir hata oluştu. Lütfen zorunlu olan tüm alanları doldurduğunuzdan emin olun ve sonrasında tekrar deneyin."
215
218
  loading_label : "Yükleniyor..."
216
219
  search_label_text :
220
+ search_algolia_no_results :
217
221
  tr-TR:
218
222
  <<: *DEFAULT_TR
219
223
 
@@ -263,6 +267,7 @@ pt: &DEFAULT_PT
263
267
  comment_error_msg : "Lamento, ocorreu um erro na sua submissão. Por favor verifique se todos os campos obrigatórios estão corretamente preenchidos e tente novamente."
264
268
  loading_label : "A carregar..."
265
269
  search_label_text :
270
+ search_algolia_no_results :
266
271
  pt-PT:
267
272
  <<: *DEFAULT_PT
268
273
  # Brazilian Portuguese
@@ -311,6 +316,7 @@ pt-BR:
311
316
  loading_label : "Carregando..."
312
317
  search_label_text :
313
318
  search_placeholder_text : "Pesquisar..."
319
+ search_algolia_no_results :
314
320
  results_found : "Resultado(s) encontrado(s)"
315
321
  back_to_top : "Voltar para o topo"
316
322
 
@@ -361,6 +367,7 @@ it: &DEFAULT_IT
361
367
  loading_label : "Caricamento..."
362
368
  search_label_text :
363
369
  search_placeholder_text : "Inserisci termini di ricerca..."
370
+ search_algolia_no_results :
364
371
  results_found : "Risultati"
365
372
  back_to_top : "Vai su"
366
373
  it-IT:
@@ -369,18 +376,18 @@ it-IT:
369
376
  # Chinese (zh-CN Chinese - China)
370
377
  # --------------------------------
371
378
  zh: &DEFAULT_ZH_HANS
372
- skip_links :
373
- skip_primary_nav :
374
- skip_content :
375
- skip_footer :
379
+ skip_links : "跳转链接"
380
+ skip_primary_nav : "转到主导航栏"
381
+ skip_content : "转到内容"
382
+ skip_footer : "转到底部"
376
383
  page : "页面"
377
- pagination_previous : "向前"
378
- pagination_next : "向后"
384
+ pagination_previous : "上一页"
385
+ pagination_next : "下一页"
379
386
  breadcrumb_home_label : "首页"
380
387
  breadcrumb_separator : "/"
381
388
  menu_label : "切换菜单"
382
- search_label :
383
- toc_label : "在本页上"
389
+ search_label : "切换搜索"
390
+ toc_label : "目录"
384
391
  ext_link_label : "直接链接"
385
392
  less_than : "少于"
386
393
  minute_read : "分钟阅读"
@@ -411,8 +418,9 @@ zh: &DEFAULT_ZH_HANS
411
418
  comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
412
419
  comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
413
420
  loading_label : "正在加载..."
414
- search_label_text :
421
+ search_label_text : "输入您要搜索的关键词..."
415
422
  search_placeholder_text : "输入您要搜索的关键词..."
423
+ search_algolia_no_results : "无结果"
416
424
  results_found : "条记录匹配"
417
425
  back_to_top : "返回顶部"
418
426
  zh-CN:
@@ -422,16 +430,16 @@ zh-SG:
422
430
  # Taiwan (Traditional Chinese)
423
431
  zh-TW: &DEFAULT_ZH_HANT
424
432
  skip_links :
425
- skip_primary_nav :
426
- skip_content :
427
- skip_footer :
433
+ skip_primary_nav : "轉至主導航欄"
434
+ skip_content : "轉至内容"
435
+ skip_footer : "轉至頁脚"
428
436
  page : "頁面"
429
- pagination_previous : "較舊"
430
- pagination_next : "較新"
437
+ pagination_previous : "前一頁"
438
+ pagination_next : "後一頁"
431
439
  breadcrumb_home_label : "首頁"
432
440
  breadcrumb_separator : "/"
433
441
  menu_label : "切換選單"
434
- search_label :
442
+ search_label : "切換搜索"
435
443
  toc_label : "本頁"
436
444
  ext_link_label : "外部連結"
437
445
  less_than : "少於"
@@ -454,7 +462,7 @@ zh-TW: &DEFAULT_ZH_HANT
454
462
  undefined_wpm : "_config.yml 中未定義 words_per_minute"
455
463
  comment_form_info : "您的電子信箱不會被公開. 必填部份已標記"
456
464
  comment_form_comment_label : "留言內容"
457
- comment_form_md_info : "支援Markdown語法。"
465
+ comment_form_md_info : "支援 Markdown 語法。"
458
466
  comment_form_name_label : "名字"
459
467
  comment_form_email_label : "電子信箱帳號"
460
468
  comment_form_website_label : "網頁 (可選填)"
@@ -463,7 +471,11 @@ zh-TW: &DEFAULT_ZH_HANT
463
471
  comment_success_msg : "感謝您的留言! 審核後將會顯示在站上。"
464
472
  comment_error_msg : "抱歉,部份資料輸入有問題。請確認資料填寫正確後再試一次。"
465
473
  loading_label : "載入中..."
466
- search_label_text :
474
+ search_label_text : "輸入您要搜索的關鍵詞..."
475
+ search_placeholder_text : "輸入您要搜索的關鍵詞..."
476
+ search_algolia_no_results : "沒有結果"
477
+ results_found : "條匹配的記錄"
478
+ back_to_top : "回到頂部"
467
479
  zh-HK:
468
480
  <<: *DEFAULT_ZH_HANT
469
481
 
@@ -514,6 +526,7 @@ de: &DEFAULT_DE
514
526
  loading_label : "Lade..."
515
527
  search_label_text :
516
528
  search_placeholder_text : "Suchbegriff eingeben..."
529
+ search_algolia_no_results :
517
530
  results_found : "Ergebnis(se) gefunden"
518
531
  de-DE:
519
532
  <<: *DEFAULT_DE
@@ -574,6 +587,7 @@ ne: &DEFAULT_NE
574
587
  comment_error_msg : "माफ गर्नुहोस्, तपाईंको टिप्पणी त्रुटि थियो।सबै आवश्यक जानकारीहरु पूरा गरिएको छ भने निश्चित गर्नुहोस् र फेरि प्रयास गर्नुहोस्।"
575
588
  loading_label : "लोड हुँदैछ ..."
576
589
  search_label_text :
590
+ search_algolia_no_results :
577
591
  ne-NP:
578
592
  <<: *DEFAULT_NE
579
593
 
@@ -624,6 +638,7 @@ ko: &DEFAULT_KO
624
638
  loading_label : "로딩중..."
625
639
  search_label_text :
626
640
  search_placeholder_text : "검색어를 입력하세요..."
641
+ search_algolia_no_results :
627
642
  results_found : "개 결과 발견"
628
643
  back_to_top : "맨 위로 이동"
629
644
  ko-KR:
@@ -676,6 +691,7 @@ ru: &DEFAULT_RU
676
691
  loading_label : "Отправка..."
677
692
  search_label_text :
678
693
  search_placeholder_text : "Введите поисковый запрос..."
694
+ search_algolia_no_results :
679
695
  results_found : "Найдено"
680
696
  ru-RU:
681
697
  <<: *DEFAULT_RU
@@ -726,6 +742,7 @@ lt: &DEFAULT_LT
726
742
  comment_error_msg : "Atleiskite, įvyko netikėta klaida įrašant komentarą. Pasitikrinkite ar užpildėte visus būtinus laukus ir pamėginkite dar kartą."
727
743
  loading_label : "Kraunama..."
728
744
  search_label_text :
745
+ search_algolia_no_results :
729
746
  lt-LT:
730
747
  <<: *DEFAULT_LT
731
748
 
@@ -776,6 +793,7 @@ gr: &DEFAULT_GR
776
793
  loading_label : "Φόρτωση..."
777
794
  search_label_text :
778
795
  search_placeholder_text : "Εισάγετε όρο αναζήτησης..."
796
+ search_algolia_no_results :
779
797
  results_found : "Αποτελέσματα"
780
798
  gr-GR:
781
799
  <<: *DEFAULT_GR
@@ -827,6 +845,7 @@ sv: &DEFAULT_SV
827
845
  loading_label : "Laddar..."
828
846
  search_label_text :
829
847
  search_placeholder_text : "Fyll i sökterm..."
848
+ search_algolia_no_results :
830
849
  results_found : "Resultat funna"
831
850
  back_to_top : "Tillbaka till toppen"
832
851
  sv-SE:
@@ -881,6 +900,7 @@ nl: &DEFAULT_NL
881
900
  loading_label : "Laden..."
882
901
  search_label_text : "Geef uw zoekterm in..."
883
902
  search_placeholder_text : "Geef uw zoekterm in..."
903
+ search_algolia_no_results :
884
904
  results_found : "Resultaat gevonden"
885
905
  back_to_top : "Terug naar boven"
886
906
  nl-BE:
@@ -934,6 +954,7 @@ id: &DEFAULT_ID
934
954
  comment_error_msg : "Maaf, ada kesalahan pada submisi Anda. Pastikan seluruh kolom sudah dilengkapi dan coba kembali."
935
955
  loading_label : "Sedang meload..."
936
956
  search_label_text :
957
+ search_algolia_no_results :
937
958
  id-ID:
938
959
  <<: *DEFAULT_ID
939
960
 
@@ -984,6 +1005,7 @@ vi: &DEFAULT_VI
984
1005
  loading_label : "Đang tải..."
985
1006
  search_label_text : "Nhập từ khóa cần tìm..."
986
1007
  search_placeholder_text : "Nhập từ khóa cần tìm..."
1008
+ search_algolia_no_results :
987
1009
  results_found : "Kết quả tìm được"
988
1010
  back_to_top : "Lên đầu trang"
989
1011
  vi-VN:
@@ -1036,6 +1058,7 @@ da: &DEFAULT_DA
1036
1058
  loading_label : "Indlæser..."
1037
1059
  search_label_text :
1038
1060
  search_placeholder_text : "Hvad leder du efter..."
1061
+ search_algolia_no_results :
1039
1062
  results_found : "Resultat(er) fundet"
1040
1063
  back_to_top : "Tilbage til toppen"
1041
1064
  da-DK:
@@ -1087,6 +1110,7 @@ pl: &DEFAULT_PL
1087
1110
  comment_error_msg : "Niestety wystąpił błąd. Proszę upewnij się, że wszystkie wymagane pola zostały wypełnione i spróbuj ponownie."
1088
1111
  loading_label : "Trwa ładowanie strony..."
1089
1112
  search_label_text :
1113
+ search_algolia_no_results : "Brak wyników"
1090
1114
  pl-PL:
1091
1115
  <<: *DEFAULT_PL
1092
1116
 
@@ -1137,6 +1161,7 @@ ja: &DEFAULT_JA
1137
1161
  loading_label : "読み込み中..."
1138
1162
  search_label_text :
1139
1163
  search_placeholder_text : "検索キーワードを入力してください..."
1164
+ search_algolia_no_results :
1140
1165
  results_found : "件"
1141
1166
  ja-JP:
1142
1167
  <<: *DEFAULT_JA
@@ -1188,6 +1213,7 @@ sk: &DEFAULT_SK
1188
1213
  loading_label : "Načítava sa..."
1189
1214
  search_label_text :
1190
1215
  search_placeholder_text : "Zadaj hľadaný výraz..."
1216
+ search_algolia_no_results :
1191
1217
  results_found : "Nájdených výsledkov"
1192
1218
  back_to_top : "Na začiatok stránky"
1193
1219
  sk-SK:
@@ -1240,6 +1266,7 @@ hu: &DEFAULT_HU
1240
1266
  loading_label : "Betöltés..."
1241
1267
  search_label_text :
1242
1268
  search_placeholder_text : "Keresendő szöveg..."
1269
+ search_algolia_no_results :
1243
1270
  results_found : "Találatok:"
1244
1271
  back_to_top : "Oldal tetejére"
1245
1272
  hu-HU:
@@ -1292,6 +1319,7 @@ ro: &DEFAULT_RO
1292
1319
  loading_label : "Se încarcă..."
1293
1320
  search_label_text :
1294
1321
  search_placeholder_text : "Caută ceva..."
1322
+ search_algolia_no_results :
1295
1323
  results_found : "Rezultate găsite"
1296
1324
  back_to_top : "Înapoi în susul paginii"
1297
1325
  ro-RO:
@@ -1344,6 +1372,7 @@ pa: &DEFAULT_PA
1344
1372
  loading_label : "ਲੋਡ ਹੋ ਰਿਹਾ ਹੈ..."
1345
1373
  search_label_text : "ਖੋਜ"
1346
1374
  search_placeholder_text : "ਆਪਣੀ ਖੋਜ ਦੇ ਸ਼ਬਦ ਨੂੰ ਦਰਜ ਕਰੋ..."
1375
+ search_algolia_no_results :
1347
1376
  results_found : "ਨਤੀਜਾ ਮਿਲਿਆ/ਮਿਲੇ"
1348
1377
  back_to_top : "ਵਾਪਸ ਚੋਟੀ 'ਤੇ ਜਾਓ"
1349
1378
  pa-IN:
@@ -1395,6 +1424,7 @@ fa: &DEFAULT_FA
1395
1424
  loading_label : "...بارگذاری"
1396
1425
  search_label_text :
1397
1426
  search_placeholder_text : "...عبارت جستجوی خود را وارد کنید"
1427
+ search_algolia_no_results :
1398
1428
  results_found : "نتایج"
1399
1429
  back_to_top : "بازگشت به بالا"
1400
1430
  fa-IR:
@@ -1448,6 +1478,7 @@ ml: &DEFAULT_ML
1448
1478
  loading_label : "ലോഡിംഗ്..."
1449
1479
  search_label_text :
1450
1480
  search_placeholder_text : "നിങ്ങളുടെ തിരയൽ പദം നൽകുക..."
1481
+ search_algolia_no_results :
1451
1482
  results_found : "ഫലം (കൾ) കണ്ടെത്തി"
1452
1483
  back_to_top : "മുകളിലേയ്ക്ക്"
1453
1484
  ml-IN:
@@ -1500,6 +1531,7 @@ th: &DEFAULT_TH
1500
1531
  loading_label : "กำลังโหลด..."
1501
1532
  search_label_text :
1502
1533
  search_placeholder_text : "ใส่คำค้นหาของคุณ..."
1534
+ search_algolia_no_results :
1503
1535
  results_found : "ผลการค้นหา พบ"
1504
1536
  back_to_top : "กลับด้านบน"
1505
1537
  th-TH:
@@ -1551,6 +1583,7 @@ hi: &DEFAULT_HI
1551
1583
  loading_label : "लोड हो रहा है..."
1552
1584
  search_label_text : "खोज"
1553
1585
  search_placeholder_text : "अपना खोज शब्द दर्ज करें..."
1586
+ search_algolia_no_results :
1554
1587
  results_found : "परिणाम मिला/मिले"
1555
1588
  back_to_top : "शीर्ष पर वापस"
1556
1589
  hi-IN:
@@ -1603,6 +1636,7 @@ ca: &DEFAULT_CA
1603
1636
  loading_label : "Carregant..."
1604
1637
  search_label_text : "Introdueix termes per cercar..."
1605
1638
  search_placeholder_text : "Introdueix termes per cercar..."
1639
+ search_algolia_no_results :
1606
1640
  results_found : "resultat(s)"
1607
1641
  back_to_top : "Torna a dalt"
1608
1642
  ca-ES:
@@ -1649,6 +1683,7 @@ ga: &DEFAULT_GA
1649
1683
  loading_label : "Lódáil..."
1650
1684
  search_label_text : "Cuir do chuardach isteach..."
1651
1685
  search_placeholder_text : "Cuir do chuardach isteach..."
1686
+ search_algolia_no_results :
1652
1687
  results_found : "Torthaí aimsithe"
1653
1688
  back_to_top : "Ar ais go barr"
1654
1689
  ga-IE:
@@ -1702,6 +1737,7 @@ fi: &DEFAULT_FI
1702
1737
  loading_label : "Ladataan..."
1703
1738
  search_label_text : "Hakusana..."
1704
1739
  search_placeholder_text : "Hakusana..."
1740
+ search_algolia_no_results :
1705
1741
  results_found : "Tulosta"
1706
1742
  back_to_top : "Ylös"
1707
1743
 
@@ -1752,6 +1788,7 @@ my: &DEFAULT_MY
1752
1788
  loading_label : "တင်နေသည်..."
1753
1789
  search_label_text : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
1754
1790
  search_placeholder_text : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
1791
+ search_algolia_no_results :
1755
1792
  results_found : "ရလဒ်(များ)ကိုတွေ့ရှိခဲ့သည်"
1756
1793
  back_to_top : "အပေါ်သို့ပြန်သွား"
1757
1794
  my-MM:
@@ -17,16 +17,14 @@
17
17
  <img src="{{ teaser | relative_url }}" alt="">
18
18
  </div>
19
19
  {% endif %}
20
- <h2 class="archive__item-title" itemprop="headline">
20
+ <h2 class="archive__item-title no_toc" itemprop="headline">
21
21
  {% if post.link %}
22
22
  <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
23
23
  {% else %}
24
24
  <a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
25
25
  {% endif %}
26
26
  </h2>
27
- {% if post.read_time %}
28
- <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
29
- {% endif %}
27
+ {% include post__meta.html type=include.type %}
30
28
  {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
31
29
  </article>
32
30
  </div>
@@ -17,7 +17,7 @@
17
17
 
18
18
  <div class="author__content">
19
19
  {% if author.home %}
20
- <a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
20
+ <a href="{{ author.home | relative_url }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
21
21
  {% else %}
22
22
  <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
23
23
  {% endif %}
@@ -13,6 +13,7 @@
13
13
 
14
14
  <!-- For all browsers -->
15
15
  <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
16
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
16
17
 
17
18
  <!--[if IE]>
18
19
  <style>
@@ -31,9 +31,7 @@
31
31
  {% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
32
32
  <p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
33
33
  {% endif %}
34
- {% if page.read_time %}
35
- <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
36
- {% endif %}
34
+ {% include post__meta.html %}
37
35
  {% if page.header.cta_url %}
38
36
  <p><a href="{{ page.header.cta_url | relative_url }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
39
37
  {% endif %}
@@ -1,4 +1,2 @@
1
- {% capture video_id %}{{ page.header.video.id }}{% endcapture %}
2
- {% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
3
-
4
- {% include video id=video_id provider=video_provider %}
1
+ {% assign video = page.header.video %}
2
+ {% include video id=video.id provider=video.provider danmaku=video.danmaku %}
@@ -0,0 +1,35 @@
1
+ {% assign page = post | default: page %}
2
+
3
+ {% if page.read_time or page.show_date %}
4
+ <p class="page__meta">
5
+
6
+ {% if page.show_date %}
7
+ {% assign date = page.date %}
8
+ <i class="far {% if include.type == 'grid' and page.read_time and page.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
9
+ <time datetime="{{ date | date_to_xmlschema }}">{{ date | date: "%B %-d, %Y" }}</time>
10
+ {% endif %}
11
+
12
+ {% if page.read_time and page.show_date %}
13
+ {% if include.type == "grid" %}
14
+ <br \>
15
+ {% else %}
16
+ <span class="post__meta-sep"></span>
17
+ {% endif %}
18
+ {% endif %}
19
+
20
+ {% if page.read_time %}
21
+ {% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}
22
+ {% assign words = page.content | strip_html | number_of_words %}
23
+
24
+ <i class="far {% if include.type == 'grid' and page.read_time and page.show_date %}fa-fw {% endif %}fa-clock" aria-hidden="true"></i>
25
+ {% if words < words_per_minute %}
26
+ {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
27
+ {% elsif words == words_per_minute %}
28
+ 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
29
+ {% else %}
30
+ {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
31
+ {% endif %}
32
+ {% endif %}
33
+
34
+ </p>
35
+ {% endif %}
@@ -4,7 +4,6 @@
4
4
  {% endfor %}
5
5
  {% else %}
6
6
  <script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
7
- <script src="https://kit.fontawesome.com/4eee35f757.js"></script>
8
7
  {% endif %}
9
8
 
10
9
  {% if site.search == true or page.layout == "search" %}
@@ -44,11 +44,18 @@ search.addWidget(
44
44
  instantsearch.widgets.hits({
45
45
  container: '.search-hits',
46
46
  templates: {
47
- item: hitTemplate
47
+ item: hitTemplate,
48
+ empty: '{{ site.data.ui-text[site.locale].search_algolia_no_results | default: "No results" }}',
48
49
  }
49
50
  })
50
51
  );
51
52
 
52
- // Starting the search
53
- search.start();
53
+ // Starting the search only when toggle is clicked
54
+ $(document).ready(function () {
55
+ $(".search__toggle").on("click", function() {
56
+ if(!search.started) {
57
+ search.start();
58
+ }
59
+ });
60
+ });
54
61
  </script>
@@ -1,15 +1,24 @@
1
1
  {% capture video_id %}{{ include.id }}{% endcapture %}
2
2
  {% capture video_provider %}{{ include.provider }}{% endcapture %}
3
+ {% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}
4
+
5
+ {% capture video_src %}
6
+ {% case video_provider %}
7
+ {% when "vimeo" %}
8
+ https://player.vimeo.com/video/{{ video_id }}?dnt=true
9
+ {% when "youtube" %}
10
+ https://www.youtube-nocookie.com/embed/{{ video_id }}
11
+ {% when "google-drive" %}
12
+ https://drive.google.com/file/d/{{ video_id }}/preview
13
+ {% when "bilibili" %}
14
+ https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
15
+ {% endcase %}
16
+ {% endcapture %}
17
+ {% assign video_src = video_src | strip %}
3
18
 
4
19
  <!-- Courtesy of embedresponsively.com //-->
5
- <div class="responsive-video-container">
6
- {% if video_provider == "vimeo" %}
7
- <iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
8
- {% elsif video_provider == "youtube" %}
9
- <iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
10
- {% elsif video_provider == "google-drive" %}
11
- <iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
12
- {% elsif video_provider == "bilibili" %}
13
- <iframe src="https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
14
- {% endif %}
15
- </div>
20
+ {% unless video_src == "" %}
21
+ <div class="responsive-video-container">
22
+ <iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
23
+ </div>
24
+ {% endunless %}
@@ -3,7 +3,7 @@
3
3
 
4
4
  <!doctype html>
5
5
  <!--
6
- Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
6
+ Minimal Mistakes Jekyll Theme 4.20.0 by Michael Rose
7
7
  Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
8
8
  Free for personal and commercial use under the MIT license
9
9
  https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
@@ -12,8 +12,10 @@ layout: archive
12
12
  {% assign posts = site.posts %}
13
13
  {% endif %}
14
14
 
15
- {% for post in posts %}
16
- {% include archive-single.html %}
17
- {% endfor %}
15
+ <div class="entries-{{ page.entries_layout | default: 'list' }}">
16
+ {% for post in posts %}
17
+ {% include archive-single.html type=page.entries_layout %}
18
+ {% endfor %}
19
+ </div>
18
20
 
19
21
  {% include paginator.html %}
@@ -5,7 +5,7 @@ layout: archive
5
5
  {{ content }}
6
6
 
7
7
  <ul class="taxonomy__index">
8
- {% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
8
+ {% assign postsInYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
9
9
  {% for year in postsInYear %}
10
10
  <li>
11
11
  <a href="#{{ year.name }}">
@@ -15,7 +15,7 @@ layout: archive
15
15
  {% endfor %}
16
16
  </ul>
17
17
 
18
- {% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
18
+ {% assign postsByYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
19
19
  {% for year in postsByYear %}
20
20
  <section id="{{ year.name }}" class="taxonomy__section">
21
21
  <h2 class="archive__subtitle">{{ year.name }}</h2>
@@ -27,9 +27,7 @@ layout: default
27
27
  {% unless page.header.overlay_color or page.header.overlay_image %}
28
28
  <header>
29
29
  {% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
30
- {% if page.read_time %}
31
- <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
32
- {% endif %}
30
+ {% include post__meta.html %}
33
31
  </header>
34
32
  {% endunless %}
35
33
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.20.0 by Michael Rose
3
3
  * Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
5
5
  */
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  .archive__subtitle {
35
- margin: 1.414em 0 0;
35
+ margin: 1.414em 0 0.5em;
36
36
  padding-bottom: 0.5em;
37
37
  font-size: $type-size-5;
38
38
  color: $muted-text-color;
@@ -24,6 +24,7 @@
24
24
  h4 {
25
25
  margin-top: 0 !important; /* override*/
26
26
  margin-bottom: 0.75em;
27
+ line-height: inherit;
27
28
  }
28
29
 
29
30
  @at-root .page__content #{&} h4 {
@@ -299,6 +299,12 @@ body {
299
299
  text-transform: uppercase;
300
300
  }
301
301
 
302
+ .post__meta-sep::before {
303
+ content: "\2022";
304
+ padding-left: 0.5em;
305
+ padding-right: 0.5em;
306
+ }
307
+
302
308
  /*
303
309
  Page taxonomy
304
310
  ========================================================================== */
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: null
2
+ layout: none
3
3
  ---
4
4
 
5
5
  var idx = lunr(function () {
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: null
2
+ layout: none
3
3
  ---
4
4
 
5
5
  step1list = new Array();
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: null
2
+ layout: none
3
3
  ---
4
4
 
5
5
  var store = [
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.20.0 by Michael Rose
3
3
  * Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Licensed under MIT
5
5
  */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal-mistakes-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.19.3
4
+ version: 4.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Rose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-06 00:00:00.000000000 Z
11
+ date: 2020-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -177,10 +177,10 @@ files:
177
177
  - _includes/page__hero_video.html
178
178
  - _includes/page__taxonomy.html
179
179
  - _includes/paginator.html
180
+ - _includes/post__meta.html
180
181
  - _includes/post_pagination.html
181
182
  - _includes/posts-category.html
182
183
  - _includes/posts-tag.html
183
- - _includes/read-time.html
184
184
  - _includes/scripts.html
185
185
  - _includes/search/algolia-search-scripts.html
186
186
  - _includes/search/google-search-scripts.html
@@ -313,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
313
313
  - !ruby/object:Gem::Version
314
314
  version: '0'
315
315
  requirements: []
316
- rubygems_version: 3.0.2
316
+ rubygems_version: 3.1.4
317
317
  signing_key:
318
318
  specification_version: 4
319
319
  summary: A flexible two-column Jekyll theme.
@@ -1,15 +0,0 @@
1
- {% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}
2
-
3
- {% if post.read_time %}
4
- {% assign words = post.content | strip_html | number_of_words %}
5
- {% elsif page.read_time %}
6
- {% assign words = page.content | strip_html | number_of_words %}
7
- {% endif %}
8
-
9
- {% if words < words_per_minute %}
10
- {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
11
- {% elsif words == words_per_minute %}
12
- 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
13
- {% else %}
14
- {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
15
- {% endif %}