minimal-mistakes-jekyll 4.24.0 → 4.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +296 -243
  3. data/README.md +27 -19
  4. data/_data/ui-text.yml +97 -39
  5. data/_includes/author-profile-custom-links.html +1 -1
  6. data/_includes/author-profile.html +36 -42
  7. data/_includes/breadcrumbs.html +3 -2
  8. data/_includes/category-list.html +1 -1
  9. data/_includes/comments-providers/utterances.html +1 -0
  10. data/_includes/comments.html +30 -12
  11. data/_includes/copyright.html +6 -0
  12. data/_includes/copyright.js +6 -0
  13. data/_includes/footer.html +1 -1
  14. data/_includes/head.html +2 -2
  15. data/_includes/page__date.html +3 -3
  16. data/_includes/paginator.html +2 -1
  17. data/_includes/search/algolia-search-scripts.html +72 -51
  18. data/_includes/search/search_form.html +2 -2
  19. data/_includes/social-share.html +1 -1
  20. data/_includes/tag-list.html +1 -1
  21. data/_includes/video +1 -1
  22. data/_layouts/categories.html +1 -1
  23. data/_layouts/default.html +1 -7
  24. data/_layouts/single.html +12 -6
  25. data/_sass/minimal-mistakes/_base.scss +0 -18
  26. data/_sass/minimal-mistakes/_copyright.scss +6 -0
  27. data/_sass/minimal-mistakes/_navigation.scss +2 -2
  28. data/_sass/minimal-mistakes/_notices.scss +4 -0
  29. data/_sass/minimal-mistakes/_page.scss +19 -0
  30. data/_sass/minimal-mistakes/_sidebar.scss +7 -0
  31. data/_sass/minimal-mistakes.scss +2 -5
  32. data/assets/css/main.scss +1 -0
  33. data/assets/js/_main.js +7 -7
  34. data/assets/js/lunr/lunr-store.js +36 -1
  35. data/assets/js/main.min.js +5 -4
  36. data/assets/js/plugins/jquery.greedy-navigation.js +2 -2
  37. data/assets/js/vendor/jquery/{jquery-3.5.1.js → jquery-3.6.0.js} +118 -109
  38. metadata +8 -5
  39. data/_includes/browser-upgrade.html +0 -3
data/README.md CHANGED
@@ -2,20 +2,12 @@
2
2
 
3
3
  [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
4
4
  [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.7-blue.svg)](https://jekyllrb.com/)
5
- [![Ruby gem](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://rubygems.org/gems/minimal-mistakes-jekyll)
6
- [![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
7
- [![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://www.buymeacoffee.com/mmistakes)
8
5
 
9
6
  Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building personal sites, blogs, and portfolios. As the name implies, styling is purposely minimalistic to be enhanced and customized by you :smile:.
10
7
 
11
8
  :sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
12
9
 
13
- **If you enjoy this theme, please consider sponsoring:**
14
-
15
- [!["Buy Me A Coffee"](https://user-images.githubusercontent.com/1376749/120938564-50c59780-c6e1-11eb-814f-22a0399623c5.png)](https://www.buymeacoffee.com/mmistakes)
16
- [![Support via PayPal](https://cdn.jsdelivr.net/gh/twolfson/paypal-github-button@1.0.0/dist/button.svg)](https://www.paypal.me/mmistakes)
17
-
18
- **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
10
+ **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and must be retained in the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
19
11
 
20
12
  [![Minimal Mistakes live preview][2]][1]
21
13
 
@@ -35,7 +27,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
35
27
  - Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
36
28
  - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), [utterances](https://utteranc.es/), and [giscus](https://giscus.app/)).
37
29
  - [Google Analytics](https://www.google.com/analytics/) support.
38
- - UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
30
+ - UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
39
31
 
40
32
  ## Skins (color variations)
41
33
 
@@ -123,13 +115,35 @@ To install:
123
115
 
124
116
  2. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`.
125
117
 
126
- 3. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
118
+ 3. Fetch and update bundled gems by running the following [Bundler](https://bundler.io/) command:
127
119
 
128
120
  ```bash
129
121
  bundle
130
122
  ```
131
123
 
132
- 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.24.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
124
+ 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.25.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
125
+
126
+ <!--
127
+ Dev note: The version number is currently hard-coded in these files:
128
+
129
+ - README.md (this file)
130
+ - package.json
131
+ - docs/_config.yml (as theme_version)
132
+ - docs/_pages/home.md (in Front Matter "excerpt")
133
+
134
+ For every release, files listed above should be manually updated with the new version number.
135
+
136
+ Additionally, the license year is hard-coded in these files:
137
+
138
+ - README.md (this file, near the end)
139
+ - LICENSE
140
+
141
+ The following files should also be regenerated:
142
+
143
+ - _includes/copyright.html, _includes/copyright.js, _sass/minimal-mistakes/_copyright.scss
144
+ (Run `bundle exec rake clean` then `bundle exec rake copyright` - all three references `package.json`)
145
+ - assets/js/main.min.js (Run `npm run build:js`, references `_includes/copyright.js`)
146
+ -->
133
147
 
134
148
  **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.
135
149
 
@@ -137,8 +151,6 @@ To install:
137
151
 
138
152
  For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
139
153
 
140
- ---
141
-
142
154
  ## Contributing
143
155
 
144
156
  Found a typo in the documentation or interested in [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
@@ -161,8 +173,6 @@ To set up your environment to develop this theme, run `bundle install`.
161
173
 
162
174
  To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using content in the `test/` directory. As modifications are made to the theme and test site, it will regenerate and you should see the changes in the browser after a refresh.
163
175
 
164
- ---
165
-
166
176
  ## Credits
167
177
 
168
178
  ### Creator
@@ -175,7 +185,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
175
185
 
176
186
  ### Icons + Demo Images:
177
187
 
178
- - [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
188
+ - [The Noun Project](https://thenounproject.com) - Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
179
189
  - [Font Awesome](http://fontawesome.io/)
180
190
  - [Unsplash](https://unsplash.com/)
181
191
 
@@ -193,8 +203,6 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
193
203
  - [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
194
204
  - [Lunr](http://lunrjs.com)
195
205
 
196
- ---
197
-
198
206
  ## License
199
207
 
200
208
  The MIT License (MIT)
data/_data/ui-text.yml CHANGED
@@ -272,20 +272,20 @@ pt-PT:
272
272
  <<: *DEFAULT_PT
273
273
  # Brazilian Portuguese
274
274
  pt-BR:
275
- skip_links :
276
- skip_primary_nav :
277
- skip_content :
278
- skip_footer :
275
+ skip_links : "Pular links"
276
+ skip_primary_nav : "Pular para navegação primária"
277
+ skip_content : "Pular para conteúdo"
278
+ skip_footer : "Pular para rodapé"
279
279
  page : "Página"
280
280
  pagination_previous : "Anterior"
281
281
  pagination_next : "Próxima"
282
- breadcrumb_home_label : "Home"
282
+ breadcrumb_home_label : "Início"
283
283
  breadcrumb_separator : "/"
284
- menu_label :
285
- search_label : "Buscar"
284
+ menu_label : "Chavear menu"
285
+ search_label : "Chavear busca"
286
286
  toc_label : "Nesta página"
287
287
  ext_link_label : "Link direto"
288
- less_than : "menos que"
288
+ less_than : "menos de"
289
289
  minute_read : "minuto(s) de leitura"
290
290
  share_on_label : "Compartilhe"
291
291
  meta_label :
@@ -296,13 +296,13 @@ pt-BR:
296
296
  comments_title : "Comentários"
297
297
  more_label : "Saiba mais"
298
298
  related_label : "Talvez você também goste"
299
- follow_label : "Acompanhe no"
299
+ follow_label : "Siga:"
300
300
  feed_label : "Feed"
301
301
  powered_by : "Desenvolvido com"
302
302
  website_label : "Site"
303
303
  email_label : "E-mail"
304
304
  recent_posts : "Publicações recentes"
305
- undefined_wpm : "Parâmetro words_per_minute indefinido no _config.yml"
305
+ undefined_wpm : "Parâmetro words_per_minute não definido em _config.yml"
306
306
  comment_form_info : "Seu e-mail não será publicado. Os campos obrigatórios estão marcados"
307
307
  comment_form_comment_label : "Comentário"
308
308
  comment_form_md_info : "Você pode usar Markdown."
@@ -314,9 +314,9 @@ pt-BR:
314
314
  comment_success_msg : "Obrigado pelo seu comentário! Ele aparecerá no site assim que for aprovado."
315
315
  comment_error_msg : "Desculpe, ocorreu um erro no envio. Verifique se todos os campos obrigatórios foram preenchidos e tente novamente."
316
316
  loading_label : "Carregando..."
317
- search_label_text :
318
- search_placeholder_text : "Pesquisar..."
319
- search_algolia_no_results :
317
+ search_label_text : "Digite seu termo de busca..."
318
+ search_placeholder_text : "Digite seu termo de busca..."
319
+ search_algolia_no_results : "Nenhum resultado"
320
320
  results_found : "Resultado(s) encontrado(s)"
321
321
  back_to_top : "Voltar para o topo"
322
322
 
@@ -496,7 +496,7 @@ de: &DEFAULT_DE
496
496
  toc_label : "Auf dieser Seite"
497
497
  ext_link_label : "Direkter Link"
498
498
  less_than : "weniger als"
499
- minute_read : "Minuten zum lesen"
499
+ minute_read : "Minuten zum Lesen"
500
500
  share_on_label : "Teilen auf"
501
501
  meta_label :
502
502
  tags_label : "Tags:"
@@ -1018,16 +1018,16 @@ vi-VN:
1018
1018
  # ------
1019
1019
  da: &DEFAULT_DA
1020
1020
  skip_links :
1021
- skip_primary_nav :
1022
- skip_content :
1023
- skip_footer :
1021
+ skip_primary_nav : "Gå til hovedmenuen"
1022
+ skip_content : "Gå til indholdet"
1023
+ skip_footer : "Gå til sidefoden"
1024
1024
  page : "Side"
1025
1025
  pagination_previous : "Forrige"
1026
1026
  pagination_next : "Næste"
1027
- breadcrumb_home_label : "Home"
1027
+ breadcrumb_home_label : "Forside"
1028
1028
  breadcrumb_separator : "/"
1029
1029
  menu_label : "Vis/skjul menu"
1030
- search_label :
1030
+ search_label : "Søgning til/fra"
1031
1031
  toc_label : "På denne side"
1032
1032
  ext_link_label : "Direkte link"
1033
1033
  less_than : "mindre end"
@@ -1059,9 +1059,9 @@ da: &DEFAULT_DA
1059
1059
  comment_success_msg : "Tak for din kommentar! Den bliver vist på siden, så snart den er godkendt."
1060
1060
  comment_error_msg : "Desværre skete der en fejl. Prøv igen, mens du sørger for at alle obligatoriske felter er udfyldt."
1061
1061
  loading_label : "Indlæser..."
1062
- search_label_text :
1062
+ search_label_text : "Hvad leder du efter..."
1063
1063
  search_placeholder_text : "Hvad leder du efter..."
1064
- search_algolia_no_results :
1064
+ search_algolia_no_results : "Ingen resultater"
1065
1065
  results_found : "Resultat(er) fundet"
1066
1066
  back_to_top : "Tilbage til toppen"
1067
1067
  da-DK:
@@ -1112,8 +1112,11 @@ pl: &DEFAULT_PL
1112
1112
  comment_success_msg : "Dziękuję za Twój komentarz! Zostanie dodany po akceptacji."
1113
1113
  comment_error_msg : "Niestety wystąpił błąd. Proszę upewnij się, że wszystkie wymagane pola zostały wypełnione i spróbuj ponownie."
1114
1114
  loading_label : "Trwa ładowanie strony..."
1115
- search_label_text :
1115
+ search_label_text : "Wprowadź kryteria wyszukiwania..."
1116
+ search_placeholder_text : "Wprowadź kryteria wyszukiwania..."
1116
1117
  search_algolia_no_results : "Brak wyników"
1118
+ results_found : "Znalezione wyniki"
1119
+ back_to_top : "Wróć na górę"
1117
1120
  pl-PL:
1118
1121
  <<: *DEFAULT_PL
1119
1122
 
@@ -1697,9 +1700,9 @@ ga-IE:
1697
1700
  # -----------------
1698
1701
  fi: &DEFAULT_FI
1699
1702
  skip_links : "Ohita linkit"
1700
- skip_primary_nav : "Hyppää pää navigaatioon"
1701
- skip_content : "Hyppää sisältöön"
1702
- skip_footer : "Hyppää alareunaan"
1703
+ skip_primary_nav : "Siirry päävalikkoon"
1704
+ skip_content : "Siirry sisältöön"
1705
+ skip_footer : "Siirry alareunaan"
1703
1706
  page : "Sivu"
1704
1707
  pagination_previous : "Edellinen"
1705
1708
  pagination_next : "Seuraava"
@@ -1710,39 +1713,39 @@ fi: &DEFAULT_FI
1710
1713
  toc_label : "Tällä sivulla"
1711
1714
  ext_link_label : "Suora linkki"
1712
1715
  less_than : "vähemmän kuin"
1713
- minute_read : "lukuaika"
1716
+ minute_read : "minuuttia luettavaa"
1714
1717
  share_on_label : "Jaa"
1715
1718
  meta_label :
1716
- tags_label : "Tagit:"
1719
+ tags_label : "Tunnisteet:"
1717
1720
  categories_label : "Kategoriat:"
1718
1721
  date_label : "Päivitetty:"
1719
1722
  comments_label : "Jätä kommentti"
1720
1723
  comments_title : "Kommentit"
1721
1724
  more_label : "Lisää"
1722
- related_label : "Voit olla kiinnostunut myös"
1725
+ related_label : "Saatat olla kiinnostunut myös"
1723
1726
  follow_label : "Seuraa:"
1724
1727
  feed_label : "Syöte"
1725
- powered_by : "Voimanlähteenä"
1726
- website_label : "Websivu"
1727
- email_label : "Email"
1728
- recent_posts : "Viimeisimmät postaukset"
1728
+ powered_by : "Käyttäen"
1729
+ website_label : "Kotisivu"
1730
+ email_label : "Sähköposti"
1731
+ recent_posts : "Viimeisimmät kirjoitukset"
1729
1732
  undefined_wpm : "words_per_minute asetusta ei ole määritelty _config.yml tiedostossa"
1730
- comment_form_info : "Your email address will not be published. Required fields are marked"
1733
+ comment_form_info : "Sinun sähköpostiosoitetta ei julkaista. Vaaditut kentät ovat merkittyjä"
1731
1734
  comment_form_comment_label : "Kommentti"
1732
1735
  comment_form_md_info : "Tukee markdown muotoilua."
1733
1736
  comment_form_name_label : "Nimi"
1734
- comment_form_email_label : "Email osoite"
1735
- comment_form_website_label : "Webbisivu (vapaaehtoinen)"
1737
+ comment_form_email_label : "Sähköpostiosoite"
1738
+ comment_form_website_label : "Nettisivu (vapaaehtoinen)"
1736
1739
  comment_btn_submit : "Lähetä"
1737
1740
  comment_btn_submitted : "Lähetetty"
1738
- comment_success_msg : "Kiitos kommentista, se julkaistaan tällä sivulla moderoinnin jälkeen."
1739
- comment_error_msg : "Tarkista että olet täyttänyt kaikki kentät ja yritä uudelleen."
1741
+ comment_success_msg : "Kiitos kommentista, se julkaistaan tällä sivulla tarkastelun jälkeen."
1742
+ comment_error_msg : "Tapahtui virhe. Tarkista, että olet täyttänyt kaikki kentät ja yritä uudelleen."
1740
1743
  loading_label : "Ladataan..."
1741
1744
  search_label_text : "Hakusana..."
1742
1745
  search_placeholder_text : "Hakusana..."
1743
- search_algolia_no_results :
1746
+ search_algolia_no_results : "Ei hakutuloksia"
1744
1747
  results_found : "Tulosta"
1745
- back_to_top : "Ylös"
1748
+ back_to_top : "Siirry ylös"
1746
1749
 
1747
1750
  # Myanmar (Burmese)
1748
1751
  # -----------------
@@ -1964,6 +1967,61 @@ ar-AE:
1964
1967
  ar-EG:
1965
1968
  <<: *DEFAULT_AR
1966
1969
 
1970
+ # Kiswahili
1971
+ # -----------------
1972
+ sw: &DEFAULT_SW
1973
+ skip_links : "Ruka viungo"
1974
+ skip_primary_nav : "Ruka orodha kuu"
1975
+ skip_content : "Ruka maandiko maakuu"
1976
+ skip_footer : "Ruka chini"
1977
+ page : "Ukurasa"
1978
+ pagination_previous : "Rudi"
1979
+ pagination_next : "Endelea"
1980
+ breadcrumb_home_label : "Ukurasa wa kwanza"
1981
+ breadcrumb_separator : "/"
1982
+ menu_label : "Wezesha/Zima orodha"
1983
+ search_label : "Wezesha/Zima kutafuta"
1984
+ toc_label : "Kwa ukurasa huu"
1985
+ ext_link_label : "Kiungo mbio"
1986
+ less_than : "Soma kwa dakikia ndogo kuliko"
1987
+ minute_read : "Soma kwa dakika"
1988
+ share_on_label : "Tangaza"
1989
+ meta_label :
1990
+ tags_label : "Alama:"
1991
+ categories_label : "Aina:"
1992
+ date_label : "Geuzi ya mwisho:"
1993
+ comments_label : "Wacha maoni"
1994
+ comments_title : "Maoni"
1995
+ more_label : "Jifunze zaidi"
1996
+ related_label : "Pia, utapenda"
1997
+ follow_label : "Fuata:"
1998
+ feed_label : "Feed"
1999
+ powered_by : "Inatumia"
2000
+ website_label : "Tovuti"
2001
+ email_label : "Barua pepe"
2002
+ recent_posts : "Makala juzi"
2003
+ undefined_wpm : "Ingizo words_per_minute kwa _config.yml haijawekwa"
2004
+ comment_form_info : "Barua pepe yako haitaonekana. Kuna alama kwa ingizo tunahitaji."
2005
+ comment_form_comment_label : "Maoni"
2006
+ comment_form_md_info : "Unaweza kutumia `Markdown`."
2007
+ comment_form_name_label : "Jina"
2008
+ comment_form_email_label : "Barua pepe"
2009
+ comment_form_website_label : "Tovuti (hiari)"
2010
+ comment_btn_submit : "Tuma maoni"
2011
+ comment_btn_submitted : "Umetuma"
2012
+ comment_success_msg : "Asante kwa maoni yako! Itaonekana ikiridhiwa."
2013
+ comment_error_msg : "Pole, kuna makosa kwa ingizo yako. Tafadhali angalia umeandika kwa ingizo zote zinahitaji, na jaribu tena."
2014
+ loading_label : "Inapakiwa..."
2015
+ search_label_text : "Ingiza neno unatafuta..."
2016
+ search_placeholder_text : "Ingiza neno unatafuta..."
2017
+ search_algolia_no_results : "Hakuna matokeo"
2018
+ results_found : "Tumepata"
2019
+ back_to_top : "Rudi juu"
2020
+ sw-KE:
2021
+ <<: *DEFAULT_SW
2022
+ sw-TZ:
2023
+ <<: *DEFAULT_SW
2024
+
1967
2025
  # Another locale
1968
2026
  # --------------
1969
2027
  #
@@ -1,6 +1,6 @@
1
1
  <!--
2
2
  <li>
3
- <a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
3
+ <a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer me">
4
4
  <i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
5
5
  </a>
6
6
  </li>
@@ -1,28 +1,22 @@
1
1
  {% assign author = page.author | default: page.authors[0] | default: site.author %}
2
2
  {% assign author = site.data.authors[author] | default: author %}
3
3
 
4
- <div itemscope itemtype="https://schema.org/Person">
4
+ <div itemscope itemtype="https://schema.org/Person" class="h-card">
5
5
 
6
6
  {% if author.avatar %}
7
7
  <div class="author__avatar">
8
- {% if author.home %}
9
- <a href="{{ author.home | relative_url }}">
10
- <img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
11
- </a>
12
- {% else %}
13
- <img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
14
- {% endif %}
8
+ <a href="{{ author.home | default: '/' | absolute_url }}">
9
+ <img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image" class="u-photo">
10
+ </a>
15
11
  </div>
16
12
  {% endif %}
17
13
 
18
14
  <div class="author__content">
19
- {% if author.home %}
20
- <a href="{{ author.home | relative_url }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
21
- {% else %}
22
- <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
23
- {% endif %}
15
+ <h3 class="author__name p-name" itemprop="name">
16
+ <a class="u-url" rel="me" href="{{ author.home | default: '/' | absolute_url }}" itemprop="url">{{ author.name }}</a>
17
+ </h3>
24
18
  {% if author.bio %}
25
- <div class="author__bio" itemprop="description">
19
+ <div class="author__bio p-note" itemprop="description">
26
20
  {{ author.bio | markdownify }}
27
21
  </div>
28
22
  {% endif %}
@@ -33,21 +27,21 @@
33
27
  <ul class="author__urls social-icons">
34
28
  {% if author.location %}
35
29
  <li itemprop="homeLocation" itemscope itemtype="https://schema.org/Place">
36
- <i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
30
+ <i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name" class="p-locality">{{ author.location }}</span>
37
31
  </li>
38
32
  {% endif %}
39
33
 
40
34
  {% if author.links %}
41
35
  {% for link in author.links %}
42
36
  {% if link.label and link.url %}
43
- <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
37
+ <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer me"{% if link.url contains 'http' %} itemprop="sameAs"{% endif %}><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
44
38
  {% endif %}
45
39
  {% endfor %}
46
40
  {% endif %}
47
41
 
48
42
  {% if author.uri %}
49
43
  <li>
50
- <a href="{{ author.uri }}" itemprop="url">
44
+ <a href="{{ author.uri }}" itemprop="url" rel="me">
51
45
  <i class="fas fa-fw fa-link" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</span>
52
46
  </a>
53
47
  </li>
@@ -55,7 +49,7 @@
55
49
 
56
50
  {% if author.email %}
57
51
  <li>
58
- <a href="mailto:{{ author.email }}">
52
+ <a href="mailto:{{ author.email }}" rel="me" class="u-email">
59
53
  <meta itemprop="email" content="{{ author.email }}" />
60
54
  <i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
61
55
  </a>
@@ -64,15 +58,15 @@
64
58
 
65
59
  {% if author.keybase %}
66
60
  <li>
67
- <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
68
- <i class="fas fa-fw fa-key" aria-hidden="true"></i><span class="label">Keybase</span>
61
+ <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
62
+ <i class="fab fa-fw fa-keybase" aria-hidden="true"></i><span class="label">Keybase</span>
69
63
  </a>
70
64
  </li>
71
65
  {% endif %}
72
66
 
73
67
  {% if author.twitter %}
74
68
  <li>
75
- <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
69
+ <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
76
70
  <i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
77
71
  </a>
78
72
  </li>
@@ -80,7 +74,7 @@
80
74
 
81
75
  {% if author.facebook %}
82
76
  <li>
83
- <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
77
+ <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
84
78
  <i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
85
79
  </a>
86
80
  </li>
@@ -88,7 +82,7 @@
88
82
 
89
83
  {% if author.linkedin %}
90
84
  <li>
91
- <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
85
+ <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
92
86
  <i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
93
87
  </a>
94
88
  </li>
@@ -96,7 +90,7 @@
96
90
 
97
91
  {% if author.xing %}
98
92
  <li>
99
- <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
93
+ <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
100
94
  <i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
101
95
  </a>
102
96
  </li>
@@ -104,7 +98,7 @@
104
98
 
105
99
  {% if author.instagram %}
106
100
  <li>
107
- <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
101
+ <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
108
102
  <i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
109
103
  </a>
110
104
  </li>
@@ -112,7 +106,7 @@
112
106
 
113
107
  {% if author.tumblr %}
114
108
  <li>
115
- <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
109
+ <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer me">
116
110
  <i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
117
111
  </a>
118
112
  </li>
@@ -120,7 +114,7 @@
120
114
 
121
115
  {% if author.bitbucket %}
122
116
  <li>
123
- <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
117
+ <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
124
118
  <i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i><span class="label">Bitbucket</span>
125
119
  </a>
126
120
  </li>
@@ -128,7 +122,7 @@
128
122
 
129
123
  {% if author.github %}
130
124
  <li>
131
- <a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
125
+ <a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
132
126
  <i class="fab fa-fw fa-github" aria-hidden="true"></i><span class="label">GitHub</span>
133
127
  </a>
134
128
  </li>
@@ -136,7 +130,7 @@
136
130
 
137
131
  {% if author.gitlab %}
138
132
  <li>
139
- <a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
133
+ <a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
140
134
  <i class="fab fa-fw fa-gitlab" aria-hidden="true"></i><span class="label">GitLab</span>
141
135
  </a>
142
136
  </li>
@@ -144,7 +138,7 @@
144
138
 
145
139
  {% if author.stackoverflow %}
146
140
  <li>
147
- <a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
141
+ <a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
148
142
  <i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i><span class="label">Stack Overflow</span>
149
143
  </a>
150
144
  </li>
@@ -152,7 +146,7 @@
152
146
 
153
147
  {% if author.lastfm %}
154
148
  <li>
155
- <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
149
+ <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
156
150
  <i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
157
151
  </a>
158
152
  </li>
@@ -160,7 +154,7 @@
160
154
 
161
155
  {% if author.dribbble %}
162
156
  <li>
163
- <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
157
+ <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
164
158
  <i class="fab fa-fw fa-dribbble" aria-hidden="true"></i><span class="label">Dribbble</span>
165
159
  </a>
166
160
  </li>
@@ -168,7 +162,7 @@
168
162
 
169
163
  {% if author.pinterest %}
170
164
  <li>
171
- <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
165
+ <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
172
166
  <i class="fab fa-fw fa-pinterest" aria-hidden="true"></i><span class="label">Pinterest</span>
173
167
  </a>
174
168
  </li>
@@ -176,7 +170,7 @@
176
170
 
177
171
  {% if author.foursquare %}
178
172
  <li>
179
- <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
173
+ <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
180
174
  <i class="fab fa-fw fa-foursquare" aria-hidden="true"></i><span class="label">Foursquare</span>
181
175
  </a>
182
176
  </li>
@@ -184,7 +178,7 @@
184
178
 
185
179
  {% if author.steam %}
186
180
  <li>
187
- <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
181
+ <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
188
182
  <i class="fab fa-fw fa-steam" aria-hidden="true"></i><span class="label">Steam</span>
189
183
  </a>
190
184
  </li>
@@ -193,13 +187,13 @@
193
187
  {% if author.youtube %}
194
188
  {% if author.youtube contains "://" %}
195
189
  <li>
196
- <a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
190
+ <a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
197
191
  <i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
198
192
  </a>
199
193
  </li>
200
194
  {% elsif author.youtube %}
201
195
  <li>
202
- <a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
196
+ <a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
203
197
  <i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
204
198
  </a>
205
199
  </li>
@@ -208,7 +202,7 @@
208
202
 
209
203
  {% if author.soundcloud %}
210
204
  <li>
211
- <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
205
+ <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
212
206
  <i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i><span class="label">SoundCloud</span>
213
207
  </a>
214
208
  </li>
@@ -216,7 +210,7 @@
216
210
 
217
211
  {% if author.weibo %}
218
212
  <li>
219
- <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
213
+ <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
220
214
  <i class="fab fa-fw fa-weibo" aria-hidden="true"></i><span class="label">Weibo</span>
221
215
  </a>
222
216
  </li>
@@ -224,7 +218,7 @@
224
218
 
225
219
  {% if author.flickr %}
226
220
  <li>
227
- <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
221
+ <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
228
222
  <i class="fab fa-fw fa-flickr" aria-hidden="true"></i><span class="label">Flickr</span>
229
223
  </a>
230
224
  </li>
@@ -232,7 +226,7 @@
232
226
 
233
227
  {% if author.codepen %}
234
228
  <li>
235
- <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
229
+ <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
236
230
  <i class="fab fa-fw fa-codepen" aria-hidden="true"></i><span class="label">CodePen</span>
237
231
  </a>
238
232
  </li>
@@ -240,7 +234,7 @@
240
234
 
241
235
  {% if author.vine %}
242
236
  <li>
243
- <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
237
+ <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
244
238
  <i class="fab fa-fw fa-vine" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
245
239
  </a>
246
240
  </li>