Compare commits

..
Author SHA1 Message Date
iBug 1b06aff3bc Release 4.25.1 💎 2024-04-28 01:13:45 +08:00
iBug 7ea8510d4f Fix where_exp for Jekyll < 4.0
'and' and 'or' are new in Jekyll 4.0.
Ref: https://stackoverflow.com/posts/comments/111965719
2024-04-28 00:56:17 +08:00
iBug 7d61488f5e Update quick-start guide to use 4.25.0, fix #4809 2024-04-28 00:39:25 +08:00
iBug a7af9b0ad2 Replace dead link in _includes/head.html, close #4421 2024-04-26 00:45:41 +08:00
iBug 4310b5459c Try an FAQ page 2024-04-26 00:43:42 +08:00
iBug f8f6e589ac Replace fontawesome.com/v5/search with v6 2024-04-24 00:51:38 +08:00
iBug 172a5169f1 Bump jekyll-toc to v1.2.1 2024-04-23 21:52:22 +08:00
iBug 48ed1444b9 Update CHANGELOG and history 2024-04-23 13:54:48 +08:00
Andrii BandAndrii Burkatskyi 409bc92868 Add more configuration for Giscus (#4274)
* update giscus

* fix site variable name

---------

Co-authored-by: Andrii Burkatskyi <underr-ua@users.noreply.github.com>
2024-04-23 13:53:52 +08:00
iBug f8527e7916 Update CHANGELOG and history 2024-04-23 13:22:11 +08:00
Alex a179735103 GitHub Workflows security hardening (#3884)
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2024-04-23 13:20:47 +08:00
iBug 60b9565277 Exclude hidden posts from page__related, fix #4653 2024-04-23 12:18:07 +08:00
iBug 7746db6f7e Add a missing include to before-related.html 2024-04-23 12:11:26 +08:00
iBug 5e3d1406d2 Add _includes/before-related.html and remove docs site single layout override 2024-04-23 12:09:12 +08:00
iBug a0aa8f80a7 Add _includes/after-content.html and remove docs site default layout override 2024-04-23 12:01:53 +08:00
iBug 6308789788 Remove h1 from 18-history.md 2024-04-23 11:45:34 +08:00
iBug c7ef8c0fd0 Bump node.js dependencies 2024-04-23 03:55:37 +08:00
iBug ada1b6184e Update CHANGELOG 2024-04-23 03:54:23 +08:00
Andrii BandAndrii Burkatskyi 9b9d2c66e2 Add Ukrainian translation (#4273)
Co-authored-by: Andrii Burkatskyi <underr-ua@users.noreply.github.com>
2024-04-23 03:52:08 +08:00
iBug 6693a4a8cc Update CHANGELOG and history 2024-04-23 03:47:02 +08:00
dependabot[bot] aca6648bd4 Bump shell-quote from 1.7.1 to 1.7.3 (#3692) 2024-04-22 19:22:04 +00:00
iBug 6e94773083 Release 4.25.0 💎 2024-04-23 01:50:35 +08:00
iBug 4c38bab95b Remove remainders of browser-upgrade.html 2024-04-23 01:43:16 +08:00
iBug 6f1cbfb3be Fix bad Liquid include syntax 2024-04-23 01:34:27 +08:00
iBug 8d3592ff70 Consolidate hard-coded version numbers where possible
Now only 4 files left untouchable.
Search README.md for "Dev note" for details.
2024-04-23 01:28:03 +08:00
iBug aae8dac76c Add Rakefile for automatically syncing CHANGELOG with history 2024-04-23 00:24:44 +08:00
iBug b604e2a686 Sync CHANGELOG with history 2024-04-23 00:24:35 +08:00
iBug 02d989370a Update CHANGELOG and history
Call it a day for now
2024-04-22 23:58:40 +08:00
Huangbo 2c92d34938 Fix non-English characters being url encoded in breadcrumb (#3819)
* Fix non-English characters being url encoded in breadcrumb

* Remove `| replace: '%20', ' ‘`
2024-04-22 23:37:12 +08:00
Mauricio TavaresandiBug 0d56036557 Add site.copyright and site.copyright_url config options (#4313)
* Allow to optionally define website copyright holder name and url using site.copyright and site.copyright_url

* Update _config.yml

---------

Co-authored-by: iBug <git@ibugone.com>
2024-04-22 23:35:49 +08:00
Moose 73c2ad818c Fix Linkedin social share link (#4754)
Removed url encoding of the article link
2024-04-22 23:30:14 +08:00
yusanshi 495fb29b45 Fix wrong first_page_path because of hard-coded page:num (#3778) 2024-04-22 23:27:21 +08:00
iBug 75841313de Lazy-load InstantSearch scripts and stylesheets (#3691)
* Lazy-load InstantSearch scripts and stylesheets

* Replace outdated script parts
2024-04-22 23:25:09 +08:00
LasseAhhMann 7aee05ce0c Remove JS and other files from search index (#4000)
To avoid getting JS and irrelevant files indexed remove pages where title is null. This gives a much cleaner Lunr store with more relevant content.
2024-04-22 23:22:08 +08:00
Niklas EngblomandNiklas Engblom 08b0303298 Improve Finnish translations (#4595)
Co-authored-by: Niklas Engblom <niklas-e@users.noreply.github.com>
2024-04-22 23:18:19 +08:00
eabneka 6eaee034d1 Remove redundant downcase from _layouts/categories.html (#4531) 2024-04-22 23:06:53 +08:00
Michael Rose 9770b663f9 Update CHANGELOG and history 2024-04-22 10:46:09 -04:00
Leszek 'skolima' Ciesielski 2cc21c1e88 Update the Polish translation (#3969) 2024-04-22 10:44:17 -04:00
Tirthankar Mazumder 830595d967 Fixed a grammar mistake. (#3890) 2024-04-22 10:33:21 -04:00
Michael Rose f18799a0c9 Update CHANGELOG and history 2024-04-22 10:30:23 -04:00
Marco OmainskaandMarco Omainska 51fcef50d0 load latest fontawesome package (#3765)
Co-authored-by: Marco Omainska <59295964+marcoiska@users.noreply.github.com>
2024-04-22 10:28:55 -04:00
Michael Rose 91ab537546 Update README.md 2024-04-22 09:17:31 -04:00
Michael Rose 23a91f8695 Delete .github/FUNDING.yml 2024-04-22 09:14:05 -04:00
iBug 8a67ce8e41 Improve PR close auto-comment message (#3713)
* Improve auto-comment message

* Lock these PRs after closing
2022-07-08 11:38:44 -04:00
Michael Rose 18e89666a6 Update CHANGELOG and history 2022-05-30 12:18:57 -04:00
iBug 5946bd4ea0 Fix #3668 breaking "disable per-page when globally enabled" (#3669)
* Fix #3668 breaking "disable per-page when globally enabled"

* `default:` filter doesn't fit here

https://shopify.github.io/liquid/filters/default/
2022-05-30 12:13:22 -04:00
Michael Rose 3d65710bf7 Update CHANGELOG and history 2022-05-29 14:35:04 -04:00
iBug c940a73b50 Remove IE9 upgrade notice (#3666) 2022-05-29 14:34:11 -04:00
iBug e44403e276 Fix #3096 enabling breadcrumb on all pages (#3668) 2022-05-29 14:33:50 -04:00
Michael Rose 6f0ba5e363 Update CHANGELOG and history 2022-05-27 14:08:00 -04:00
Michael Rose 955a19b955 Replace with public YouTube video embeds 2022-05-27 14:07:03 -04:00
Michael Rose de1e2b73a6 Replace with public YouTube video
Close #3649
2022-05-27 14:04:06 -04:00
Michael Rose 1433887f67 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2022-05-27 12:25:22 -04:00
Michael Rose 2f5af9050b Update CHANGELOG and history 2022-05-27 12:25:20 -04:00
FavorMylikes 03a26a105d Update algolia-search-scripts.html (#3102)
Fix issue https://github.com/mmistakes/minimal-mistakes/issues/3101
2022-05-27 12:22:43 -04:00
Lars Olesen 65237df377 Make it possible to enable breadcrumbs per page (#3096)
* Make it possible to disable breadcrumbs per page

* Update single.html

* Update single.html
2022-05-27 12:04:56 -04:00
Michael Rose f92670442f Update CHANGELOG and history 2022-05-27 12:03:17 -04:00
iBug cee4c86ee3 Update link to Font Awesome gallery (#3599) 2022-05-27 12:02:21 -04:00
Michael Rose 58d1ba8293 Update CHANGELOG and history 2022-05-27 12:01:06 -04:00
Benson Muite 8dc2997d1f Update attribution link (#3553) 2022-05-27 12:00:08 -04:00
Michael Rose daf51177f8 Update 2022-05-27 11:59:38 -04:00
Benson Muite 416933d98a Add Kiswahili translation (#3489)
* Add Kiswahili translation

* Add Kiswahli to README

* Add Kiswahili to documentation
2022-05-27 11:58:09 -04:00
Michael Rose 55f6e8fae5 Exclude main.scss from Lunr search index 2022-05-27 11:48:46 -04:00
Michael Rose bcb15f80e7 Update CHANGELOG and history 2022-05-27 11:41:13 -04:00
Nicholas Perry 00b86b1ff8 add optinal lunr searching of pages (#3352) 2022-05-27 11:39:47 -04:00
Michael Rose a66bf7e317 Update CHANGELOG and history 2022-05-27 10:38:07 -04:00
Nicholas Perry 3f36d171bb fix typo about loading javascript in footer (#3350) 2022-05-27 10:34:47 -04:00
Michael Rose 4ef57be787 Update CHANGELOG and history 2022-05-27 10:18:51 -04:00
Lars Olesen df97788050 Update to Jquery 3.6.0 (#3254) 2022-05-27 10:12:25 -04:00
Michael Rose a499b0dcae Update CHANGELOG and history 2022-05-27 10:07:45 -04:00
iBug 3051fcd3c9 Fix inline code style not applied to stylized text (#3253)
* bug: inline code style not applied to stylized text

* Use double colons for pseudoelements
2022-05-27 10:06:37 -04:00
Michael Rose 4e19f46d68 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2022-05-27 10:03:05 -04:00
Michael Rose 7aa8c7b5dc Update CHANGELOG and history 2022-05-27 10:03:02 -04:00
iBug 23e7ad2903 Use <a> color for blockquote.notice border (#3140)
Close #3068
2022-05-27 09:59:38 -04:00
Michael Rose a19dbdbf78 Update CHANGELOG and history 2022-05-27 09:50:20 -04:00
Lars Olesen 8b67db3ff4 Added sameAs (#3087) 2022-05-27 09:49:00 -04:00
Michael Rose 2632ff650a Update CHANGELOG and history 2022-01-10 07:59:54 -05:00
iBug ad1e06633c Automatically close invalid PRs using GitHub Actions (#3313)
* Try auto-closing bad PRs

* Include empty PR body as well

* Add "Type: Invalid" label as well
2022-01-10 07:59:04 -05:00
Michael Rose 9539e3bd84 Update CHANGELOG and history 2022-01-05 10:34:32 -05:00
YuchenandYuchen Zhong d6c84c9508 Add missing comma (#3318)
Co-authored-by: Yuchen Zhong <yuchen21@fb.com>
2022-01-05 10:33:50 -05:00
Michael Rose 5ef199a3eb Update CHANGELOG and history 2022-01-05 10:33:27 -05:00
Sander Holvoet d639c605c8 ✏ fix typo (#3232) 2022-01-05 10:32:35 -05:00
Michael Rose a431dd5cc3 Update CHANGELOG and history 2022-01-05 10:32:14 -05:00
Andrew McIntosh 691df116da Fix keybase class (#3221)
* Fix keybase class

* Fix fas->fab
2022-01-05 10:30:36 -05:00
Michael Rose 9ab55b6c54 Update CHANGELOG and history 2021-10-19 11:26:54 -04:00
Michael Rose bdcfd791a0 Update CHANGELOG and history 2021-10-19 11:25:32 -04:00
Georger Araújo 9f7c0e4144 Update Brazilian Portuguese translation (#3204)
* Update Brazilian Portuguese translation

* Revert some translations to reduce friction
2021-10-19 11:24:59 -04:00
Daniel Schroeder dbc9479fd5 feat: Sort comments by date ascending (#3184) 2021-10-19 11:23:42 -04:00
Jason Hemann 6bd64ffd47 Link clarifying adding plugins (#3181)
The phrase "put them here!" doesn't sufficiently clarify what to do; I add link to the Jekyll documentation with the proper syntax.
2021-10-19 11:21:55 -04:00
Jason Hemann ebc8123d36 Making verbiage consistent w/current _config.yml (#3180)
The plugin in question comes by-default listed in _config.yml ; it's better to say that the user must _retain_ it as listed, not that the user needs to add it.
2021-10-19 11:21:41 -04:00
Nathan Cho a6b51ed91e Fix broken link & Add Baidu site verification (#3139)
* Fix broken link
Link to Bing Webmaster Tools was broken.

* Fix broken link
Link to Open Graph debug tool was broken.

* Add Baidu site verification (mmistakes#2830)
Added `baidu_site_verification` to `_config.yml`
2021-10-19 11:19:29 -04:00
John Scott 642ec7b20f Added optional label attribute (#3128)
Added label attribute as per utterances optional label setting.
2021-10-19 11:18:00 -04:00
Michael Rose 000dc3b4a2 Delete stale.yml 2021-09-21 22:45:24 -04:00
Michael Rose 50d312d04c Delete stale.yml 2021-09-21 10:26:27 -04:00
iBug 25e871c096 Use GitHub issue templates (#3133)
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
2021-09-04 20:42:08 -04:00
Michael Rose 20cd63c05b Update CHANGELOG and history 2021-08-15 19:04:16 -04:00
John Scott eaef9ecd9f include video does not survive compress.html (#3117) 2021-08-15 19:02:31 -04:00
Michael Rose 62c123c6b5 Update CHANGELOG and history 2021-08-15 18:57:12 -04:00
Michael Rose 234d859040 Merge pull request #3116 from mmistakes:dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-08-15 18:55:48 -04:00
dependabot[bot] c6c6bafad0 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 19:19:04 +00:00
Michael Rose 97cf6e189b Remove extra semi-colon 2021-08-10 15:17:34 -04:00
Michael Rose 9cf80336b3 Update CHANGELOG and history 2021-08-08 14:10:49 -04:00
iBug ff5b354a9a Enable magnific popup on <a> tags only when it has <img> (#3114) 2021-08-08 14:01:59 -04:00
Michael Rose 0629bb770d Update CHANGELOG and history 2021-08-08 13:47:01 -04:00
Lars Olesen 1ca125d61b Added Danish translations (#3095)
* Added Danish translations

* Fixed wrong commit.
2021-08-08 13:45:42 -04:00
Michael Rose aa5dab277e Update CHANGELOG and history 2021-08-08 13:44:41 -04:00
Lars Olesen f9b17c6249 Add role to search (#3086) 2021-08-08 13:43:31 -04:00
Michael Rose 084ddf8d8e Add margin around Google ads 2021-08-06 11:41:21 -04:00
Michael Rose 9269842e9d Update CHANGELOG and history 2021-07-30 15:58:05 -04:00
Michael Rose 567836e43c Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2021-07-30 15:55:50 -04:00
Michael Rose 7e7e683801 Enable sticky toc on test post 2021-07-30 15:55:45 -04:00
Johnson 0f06cb8225 Enable toc sidebar scrolling (#2874)
* Enable toc sidebar scrolling

* Refactor style rules

* Move style rules from 'navigation' to 'sidebar'

* Remove custom scrollbar styles
2021-07-30 15:54:49 -04:00
Michael Rose 89de4d46db Update CHANGELOG and history 2021-07-23 14:17:50 -04:00
Peter Murray 65e79f5a7d Add Microformats (#3052)
* Add rel=me to author profile links

* Add h-card Microformats markup

* Add h-entry microformat markup

* Fix missing anchor tag

* Fix h-entry microformat markup on single template

* Use minimal subset of Microformat elements

* Move dt-published to `page__date.html` and remove dt-updated
* Remove "author" and "summary"

Leaves "url" as a hidden element

* Add page link to h1 tag

The h1 tag now contains the Schema-org `url` itemprop and the
Microformats `url` class in an anchor tag.  The anchor tag is styled to
not look like a link.

* Put author 'u-url' on author__name h3

This also puts the same `{{ author.home | default: '/' | absolute_url }}`
construct on `author__avatar` to remove the Jekyll `author.home`
conditional.

Also addresses SCSS text color error.
2021-07-23 14:16:08 -04:00
Michael Rose 42f7512702 Update 01-quick-start-guide.md 2021-07-23 12:08:08 -04:00
Michael Rose cc18679227 Make small grammar changes 2021-07-23 09:34:04 -04:00
Michael Rose 5094a4092a Update CHANGELOG and history 2021-07-23 09:33:51 -04:00
Erik Westrup 6ade4536f7 Add instructions on how to unminify main.js for easier browser debugging (#3055)
* Add instructions on how to unminify main.js for easier browser debugging

* Fixed Markdown style like sggested by @iBug
2021-07-23 09:30:38 -04:00
Michael Rose bd46e0a1a8 Update CHANGELOG and history 2021-07-23 09:29:10 -04:00
Kulbhushan Chand 14a47c9d39 fix: change heading tag of related posts section from h4 to h2 for SEO enhancement (#3064)
* Update heading tag from `h4` to `h2`

* Update heading tag from `h4` to `h2`
2021-07-23 09:27:16 -04:00
Michael Rose 2eda29dd1f Update CHANGELOG and history 2021-07-23 09:25:45 -04:00
Anton Brall 26db31c52d Fixed a grammar error in the german translation (#3063) 2021-07-23 09:24:35 -04:00
Michael Rose 4fcd51b9bd Update CHANGELOG and history 2021-07-23 09:24:07 -04:00
Erik Westrup 0491cd362b Remove site.url from first breadcrumb link (#3051)
* Remove site.url from first breadcrumb link

Fixes #3050

* Use relative_rul filter instead of site.baseurl
2021-07-23 09:23:07 -04:00
Michael Rose 3c075fe76b Update version 2021-07-05 16:34:03 -04:00
Michael Rose 00fa7be38b Release 4.24.0 💎 2021-07-05 16:32:52 -04:00
Sean Killeen 297989c1be Add giscus support (#3022)
* Add script in same style as utterances

But adjusted for the various filed differences

* Add initial script

* Add default settings

* Update changelog

* Add feature to readme

* Add comments html

* add comment provider include

* update config in docs

* Add URL for additional reference

* docs for giscus comments

* Unrelated bugfix: add missing version separator

So that things match the "history" doc.

* add space

* update history doc

* update about doc

* add to test config yaml

* remove unnecessary / incorrect async attribute

* probably should pass the right config paths

* lowercase the repo name

* Update docs to address '1' and '0' for reactions_enabled

Figured I'd match the giscus format rather than convert a boolean to an int there.

* update two additional docs

* docs wording fix
2021-07-05 16:08:28 -04:00
Michael Rose 8adb089a68 Update CHANGELOG and history 2021-07-05 15:52:43 -04:00
Christian Oliff ad094187f7 Remove IE9 flexbox fallback (#3042)
IE9 is absolutely, completely, totally dead. it's marketshare is less than 0.1%.
REF: https://caniuse.com/usage-table

Save some bytes in the HTML for all users by removing the fallback inline CSS.
2021-07-05 15:51:47 -04:00
Michael Rose 5aeff0c01b Update CHANGELOG and history 2021-07-05 15:51:30 -04:00
Sean Killeen 579d1759d1 Update README text for Gumshoejs license (#3024) 2021-07-05 15:49:48 -04:00
Michael Rose cc9d1fdaf3 Remove tabindex="-1" from input elements in search.html layout
Make `input` elements accessible by keyboard.

Fixes #2982
2021-06-23 08:27:06 -04:00
Michael Rose 3b62fcef6b Fix broken links in documentation
Close #3004
2021-06-23 08:17:31 -04:00
Michael Rose 8152b4cbfc Update CHANGELOG and history 2021-06-23 08:12:52 -04:00
Lars Olesen 3c60ebde58 Remove H2 as it is not important to site structure (#3012)
This should not use a H2, as that is not an important headline, and thus a H2 here would probably hurt in page SEO.
2021-06-23 08:11:39 -04:00
Michael Rose b997dc5e25 Update CHANGELOG and history 2021-06-23 08:11:14 -04:00
Guillaume Gautreau 7597735c73 Loads font-awesome asynchronously (#2967)
Loading font-awesome asynchronously allows to display the site faster. This change is advised by google pagespeed insights
2021-06-23 08:10:12 -04:00
Michael Rose 184f4f3430 Update CHANGELOG and history 2021-06-23 08:08:05 -04:00
Randall Wood 351174e494 feat: Search icon in masthead is a Font Awesome icon. (#2774)
* feat: Allow search icon in masthead to be set to a Font Awesome icon.

* fix indentations

* Users wishing to avoid FontAwesome should override _includes/masthead.html
2021-06-23 08:06:03 -04:00
Michael Rose 5704e9c0ae Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2021-06-23 07:55:16 -04:00
Michael Rose 00d9900743 Fix broken image
Close #3013
2021-06-23 07:55:12 -04:00
Michael Rose d9305929cf Update FUNDING.yml 2021-06-19 12:28:06 -04:00
Michael Rose f2461af7a8 Update FUNDING.yml 2021-06-19 12:27:35 -04:00
Michael Rose 327a7b6f62 Add banner above related posts 2021-06-07 09:15:17 -04:00
Michael Rose 5516883310 Update Adsense 2021-06-07 08:55:28 -04:00
Michael Rose 1f9698ce37 Update support buttons 2021-06-07 08:55:21 -04:00
Michael Rose 1f0746f2d5 Disable auto ads 2021-06-07 08:20:47 -04:00
Michael Rose b4b8369f5b Update README.md 2021-06-06 16:13:35 -04:00
Michael Rose 1d2a1c51df Update FUNDING.yml 2021-06-06 14:16:57 -04:00
Michael Rose e7687a8e15 Update FUNDING.yml 2021-06-06 12:58:25 -04:00
Michael Rose edd326376b Update Google Adsense 2021-05-31 13:23:01 -04:00
Michael Rose e2f65248b0 Enable auto ads 2021-05-31 12:55:44 -04:00
Michael Rose e134d13e45 Bump theme version 2021-05-14 19:36:48 -04:00
Michael Rose 5423463ca0 Update CHANGELOG and history 2021-05-14 19:36:13 -04:00
Michael Rose 65eb672dcc Release 4.23.0 💎 2021-05-14 19:34:33 -04:00
Michael Rose ee67ad9743 FIx menu toggle
ref: #2957
2021-05-14 19:24:11 -04:00
Michael Rose 635b1790f3 Update stale.yml 2021-05-12 13:36:20 -04:00
Michael Rose 4847ce3330 Update stale action 2021-05-11 10:56:37 -04:00
Michael Rose b0f5370ede Fix typo
Close #2911
2021-05-11 10:47:06 -04:00
Michael Rose 4e2e64989f Fix Jekyll environment note in configuration documentation
Close #2912
2021-05-11 10:42:12 -04:00
Michael Rose 2127655ad8 Update CHANGELOG and history 2021-05-11 10:31:41 -04:00
David Lechner b0261f7c43 Update 14-helpers.md (#2940)
Fix missing backtick.
2021-05-11 10:30:47 -04:00
Michael Rose 68327eb69b Update 2021-05-11 10:24:00 -04:00
Michael Rose 1ae5b070b6 Merge pull request #2936 from MoElaSec:master
Add Arabic Translation 📝
2021-05-11 10:21:28 -04:00
Michael Rose 4710639f05 Fix typo 2021-05-11 10:19:59 -04:00
Michael Rose 736f77c9c6 Update onchange and uglify-js dependencies 2021-05-11 10:00:36 -04:00
ShifraSec e1fce9fc94 Add Arabic Translation 📝 2021-04-21 18:21:10 +04:00
Michael Rose 4259ffdd6f Update CHANGELOG and history 2021-04-13 16:12:16 -04:00
de6870743d Document user custom element hooks (#2815)
* Added documentation for including custom CSS on a site or page

* Removed non-configuration related content from 05-configuration.md and cleaned up some style in new sections of 16-stylesheets.md

* Moved small custom head documentation to a ProTip in _docs/06-overriding-theme-defaults.md

* Cleaned up some documentation, and added some example uses of custom head and footer.

* Replace double space with single

* Replace double spaces with single

Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
2021-04-13 16:10:08 -04:00
Michael Rose 99cd379c61 Update CHANGELOG and history 2021-04-13 16:01:17 -04:00
Tom MannerandTom Manner 5ffad0d956 Color notices based on skin colors instead of fixed values (#2887)
* Made notice Sass color mixing in based on $background-color and $text-color instead of hard-coded black and white values.

* Made some style adjustments to notices to improve readability.

Notice links are slightly darkened from the notice color, mostly because the gray-on-gray default notice links were very hard to read.  Rather than being $notice-color, they are `mix(#000, $notice-color, 10%)`.
The notice background mix and code-background mix can now be set with the SCSS variables $notice-background-mix and $code-notice-background-mix.
The default mix for background was adjusted to 80%, from 90%.
The default mix for code-background was adjusted to 90%, from 95%.
Skins that still didn't read well were adjusted individually.

* Adjusted sunrise $notice-background-mix to 75%

* Adjusted dark theme notice background mix colors back to the default

Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
2021-04-13 16:00:24 -04:00
Michael Rose b1e4881c50 Update CHANGELOG and history 2021-04-13 15:59:28 -04:00
luweizheng c521fe58df Datetime format (#2844)
* datetime_format

* page__meta

* page__date

* page__date test

* update docs

* update docs
2021-04-13 15:58:37 -04:00
Michael Rose 2e05b8568b Update CHANGELOG and history 2021-04-13 15:57:24 -04:00
Vincent Tam 2301fdf5a7 Remove all references to official public Staticman API instance. (#2831)
* Updated Staticman docs

* remove any ref to official public instance in docs

* remove fallback instance for staticman v2

left staticman v1 untouched as I dunno how to deal with that
2021-04-13 15:55:51 -04:00
Michael Rose 8a39b748c2 Update CHANGELOG and history 2021-04-13 15:54:21 -04:00
luweizheng deaed193af Add Baidu site verfication (#2830) 2021-04-13 15:53:30 -04:00
iBug 641ca6f3d8 Add note on TOC heading level issue (#2902)
https://github.com/mmistakes/minimal-mistakes/issues/2892#issuecomment-809220952
2021-03-29 08:13:27 -04:00
iBugandMichael Rose 3d3cb58a2e Add alt attr to site logo in masthead (#2824)
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
2021-03-03 10:00:20 -05:00
iBug 6e4aa384d0 Remove G-stuff CSS (#2852) (#2855) 2021-03-03 09:39:28 -05:00
Michael Rose c501842db8 Fix typos 2021-02-05 21:02:03 -05:00
Michael Rose 30ae2357c9 Force rebuild of demo site 2021-02-05 20:57:09 -05:00
Michael Rose aaee7b0ac7 Update 2021-02-05 20:55:08 -05:00
Michael Rose 4556423b66 Release 4.22.0 💎 2021-02-05 20:53:57 -05:00
Michael Rose f734cf7e99 Update CHANGELOG and history 2021-02-05 20:38:20 -05:00
Nicolas Elie 6282bd9221 Allow custom sorting for collections (#2723)
* Allow custom sorting for collections

* Update docs with custom sort of collections

* Refactoring
2021-02-05 20:37:31 -05:00
Michael Rose 29c403b3f6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2021-02-05 20:30:35 -05:00
Michael Rose 3a2075a090 Update CHANGELOG and history 2021-02-05 20:30:33 -05:00
Johannes Ganzenmüller 9be80f891f Use sort_natural instead of custom-logic (#2756) 2021-02-05 20:29:06 -05:00
Michael Rose f189e40766 Update CHANGELOG and history 2021-02-05 20:28:25 -05:00
Sean Killeen 7bb68edf03 Add toggle option for RSS feed visibility (#2787)
* add a "hide" value in config for atom

* Update footer to use param

* update header to use param

* Update docs to note configuration

* undo formatting

* use unless syntax

* unless syntax and indentation

* indentation
2021-02-05 20:26:16 -05:00
iBug 5fe4c4810d Allow custom gradient in page header overlays (#2806)
* Allow custom gradient in page header overlays

* Update documentation

* Update CHANGELOG and history
2021-02-05 20:24:25 -05:00
Michael Rose d585934803 Update CHANGELOG and history 2021-02-05 20:21:41 -05:00
Lars Olesen 0ec1aa1292 Upgrade Lunrjs to 2.3.9 and switch to relative_url (#2805)
* Update Lunr to 2.3.9

* Switch from absolute_url to relative_url
2021-02-05 20:20:12 -05:00
Michael Rose 923aa95c97 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2021-02-05 20:17:15 -05:00
Michael Rose 20f45e1d01 Update CHANGELOG and history 2021-02-05 20:17:12 -05:00
Sean Killeen 4b29913413 Remove google's fixurl.js from example (#2789)
Unfortunately, it no longer exists.
2021-02-05 20:15:46 -05:00
Michael Rose 0fe0d83976 Update CHANGELOG and history 2021-02-05 20:15:23 -05:00
PHOENiX 784264d1e6 Add .webp to supported lightbox images (#2788) 2021-02-05 20:14:21 -05:00
Michael Rose e243901e9f Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2021-02-05 20:13:44 -05:00
Michael Rose db9cff2ade Update CHANGELOG and history 2021-02-05 20:13:39 -05:00
Uri Brecher 08c53cb804 Add hebrew translation (#2760) 2021-02-05 20:12:56 -05:00
Michael Rose 5d52384b85 Fix typo 2021-02-05 20:12:48 -05:00
Michael Rose 5ef9af5fe5 Update CHANGELOG and history 2021-02-05 20:11:18 -05:00
gricn fe77557d60 Add toc_sticky parameter's description (#2741) 2021-02-05 20:10:08 -05:00
iBug faf86f59e9 Update allejo/jekyll-toc to v1.1.0, skip headings without an ID (#2752)
* Update allejo/jekyll-toc to v1.1.0, skip headings without an ID

https://github.com/allejo/jekyll-toc/releases/tag/v1.1.0

* Update CHANGELOG and history
2020-12-10 14:41:57 -05:00
Michael Rose e61476d0a9 Delete feature_request.md 2020-12-08 22:47:06 -05:00
Michael Rose e3200acafc Delete support.md 2020-12-08 22:46:58 -05:00
Michael Rose f69e6cbfc4 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-11-14 18:10:40 -05:00
Michael Rose 13a644d22c Update CHANGELOG and history 2020-11-14 18:10:37 -05:00
Jip-Hop 48bf0d4e6c Update 404.md (#2737)
Removed Google Search script which no longer worked.
https://github.com/mmistakes/minimal-mistakes/issues/2597
2020-11-14 18:09:04 -05:00
Michael Rose 2d813530d4 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-11-14 18:08:18 -05:00
Michael Rose 72897524d7 Update CHANGELOG and history 2020-11-14 18:08:15 -05:00
Akhyar Rahman 2e6fe02f78 indonesian translation minor typo fix (#2731) 2020-11-14 18:07:24 -05:00
Michael Rose d591b2b8d8 Update CHANGELOG and history 2020-11-14 18:06:58 -05:00
Michael Rose 64dc575476 Merge pull request #2734 from susanstevens:jekyll-include-cache
Update remote theme instructions
2020-11-14 18:05:52 -05:00
Susan Stevens 899050cdfa Update remote theme instructions
* jekyll-install-cache gem should be added to Gemfile
2020-11-08 19:42:21 -06:00
Michael Rose d1dd94246c Fix Font Awesome icon color in various skins
Close #2724
2020-11-02 11:54:08 -05:00
Michael Rose 010825dfca Fix heading level 2020-11-02 11:37:10 -05:00
Michael Rose b24f69a71f Update remote_theme version 2020-11-02 11:36:35 -05:00
Michael Rose 144cfee5b7 Release 4.21.0 💎 2020-11-02 11:35:14 -05:00
Michael Rose d993845dfd Update CHANGELOG and history 2020-11-02 11:26:10 -05:00
Mitchell Skaggs 133dffe2f9 Update jQuery to 3.5.1 (#2713)
* Update jQuery to 3.5.1

Closes #2712

* Build NodeJS

Run using `npm run build:js`
2020-11-02 11:25:10 -05:00
Michael Rose 8d162a7767 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-11-02 11:24:37 -05:00
Michael Rose de2cf5609b Update CHANGELOG and history 2020-11-02 11:24:34 -05:00
Michael Rose 2a6d2bdd13 Merge pull request #2725 from akhyarrh:add-id-translation
Indonesian translation
2020-11-02 11:23:40 -05:00
Michael Rose 0c8cb15210 Merge pull request #2718 from iBug:typo-fix
Fix a small typo in documentation
2020-11-02 11:23:07 -05:00
Michael Rose 0c9553da06 Update CHANGELOG and history 2020-11-02 11:22:18 -05:00
Michael Rose caa21efd4d Merge pull request #2722 from quanengineering:patch-1
Update ui-text.yml for Vietnamese
2020-11-02 09:48:37 -05:00
M. Akhyar Rahman H a5aeef3d70 Update indonesian translation 2020-11-02 05:22:01 +08:00
M. Akhyar Rahman H efe9f3bf94 Added some translation for indonesian language 2020-11-02 05:00:46 +08:00
Quan 7e3a7c1b16 Update ui-text.yml for Vietnamese 2020-10-30 10:52:35 +07:00
iBug f98d7de897 Fix a small typo in documentation 2020-10-29 14:24:52 +08:00
Michael Rose 10a4cb116f Update CHANGELOG and history 2020-10-28 15:05:35 -04:00
Michael Rose 95f3f0ac64 Merge pull request #2674 from migupry:master
Greedy-nav fix
2020-10-28 15:03:09 -04:00
Michael Rose c70990aa70 Update CHANGELOG and history 2020-10-28 14:54:19 -04:00
Kai A b69acb6743 Norwegian translation (#2702) 2020-10-28 14:50:55 -04:00
Michael Rose f75d8e552c Update CHANGELOG and history 2020-10-28 14:50:18 -04:00
Michael Rose 11524f165e Merge pull request #2700 from iBug:update-toc
Update allejo/jekyll-toc to v1.0.14
2020-10-28 14:49:22 -04:00
Michael Rose 4488d4cf2b Update CHANGELOG and history 2020-10-28 14:45:24 -04:00
Leo c2c05b9b67 Fix closing tag of figures without captions in lists (#2697)
When the figure helper is used in a list, which can be either ordered or
unordered, and no caption is specified, a line with text "</figure>"
will be shown below the figure on the rendered page.

This is because, if the '{% if include.caption %}' evaluates to false,
the lines between that 'if' statement and '{% endif %}' will be emptied,
not removed, so the block will be filled by empty lines.

HTML ignores redundant empty lines, but Markdown takes them seriously.
In addition, Markdown expects proper indentation of lines inside lists,
and the closing '</figure>' tag is not indented.  When combined, the
empty space and absence of indentation cause Markdown to process the
'</figure>' tag as a separate paragraph instead of an HTML tag, thus the
text for the tag is directly rendered on the page.

The fix for this issue is very simple: remove the empty space when
'include.caption' is false.  As described in
<https://shopify.github.io/liquid/basics/whitespace/>, this can be done
by adding hyphens to the 'if' and 'endif' tags.
2020-10-28 14:43:09 -04:00
Michael Rose 50bd68e6d0 Update stale.yml 2020-10-28 09:20:07 -04:00
Michael Rose 187752b673 Update CONTRIBUTING.md 2020-10-23 13:39:22 -04:00
Michael Rose 052f3f786f Update README.md 2020-10-23 13:37:42 -04:00
iBug ♦ d6444412c6 Fix dead link to "CI services" Jekyll (#2692)
* Fix #2635

* Update CHANGELOG and history
2020-09-21 10:28:18 -04:00
iBug 99a77e4d3a Update allejo/jekyll-toc to v1.0.14
https://github.com/allejo/jekyll-toc/releases/tag/v1.0.14
2020-09-21 01:17:26 +08:00
Miguel Belardinelli Prytoluk bdc8ac01e8 merging into master 2020-09-10 10:48:37 -03:00
Michael Rose ab19c77ac9 Bump theme version 2020-09-07 10:08:23 -04:00
Michael Rose 526445bffe Release 4.20.2 💎 2020-09-07 10:07:29 -04:00
Michael Rose 8bec01b76d Fix broken link in documentation
Close #2677
2020-08-30 21:28:31 -04:00
Michael Rose e21035e62d Fix typo
Close #2678
2020-08-30 21:25:30 -04:00
Michael Rose 2fcb13a8cc Bump copyright year 2020-08-30 21:15:36 -04:00
Michael Rose 8cb95a7005 Update CHANGELOG and history 2020-08-30 20:53:16 -04:00
Michael Rose c6f10529a4 Refactor page meta (#2641)
* Rename include

* Add grid view test pages

* Rename `.post__meta-sep` and use CSS to add line break

* Improve collection grid archive

* Improve page grid archive

* Enable `grid`

* Don't show date icon if there is no `date` value

* Add blank line at EOF

* Add space

* Wrap date and reading time in named `span` elements
2020-08-30 20:52:12 -04:00
Michael Rose 7a6060a55a Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-08-30 20:41:47 -04:00
Michael Rose 5b5b3ad4e0 Update CHANGELOG and history 2020-08-30 20:41:43 -04:00
Lars Olesen 24b4585084 Added article:author used by Pinterest (#2670) 2020-08-30 20:38:03 -04:00
Michael Rose b75f057a5e Update CHANGELOG and history 2020-08-30 20:31:49 -04:00
Johannes Ganzenmüller 92f94d5549 Removed duplicated CSS definitions (#2666) 2020-08-30 20:30:38 -04:00
Miguel Belardinelli Prytoluk e0b0448f05 added css changes, modified jquery.greedy-navigation and built the main.min.js again 2020-08-28 17:41:29 -03:00
iBug ♦ b7144931c7 Change "fa" to "fas" for Font Awesome 5 (#2649)
* main.js: fa -> fas for FA 5

* Update CHANGELOG and history
2020-08-14 15:21:38 -04:00
Michael Rose 5c8b220bf9 Update CHANGELOG and history 2020-08-04 12:59:52 -04:00
Michael Rose d57fe1de2c Fix entries_layout: grid
Close #2639
2020-08-04 12:59:44 -04:00
Michael Rose 5741539e17 Update remote_theme version 2020-08-04 12:34:53 -04:00
Michael Rose b4abce3b78 Release 4.20.1 💎 2020-08-04 12:33:22 -04:00
Michael Rose 53ad4d343a Fix grid entries_layout in home.html 2020-08-04 12:32:54 -04:00
Michael Rose 3135099203 Fix grammar 2020-08-04 11:26:26 -04:00
Michael Rose 95ba9242bf Update remote_theme 2020-08-04 11:22:09 -04:00
Michael Rose cb18aaa7a0 Release 4.20.0 💎 2020-08-04 11:18:04 -04:00
Michael Rose 6d1aea573c Remove extra back ticks 2020-08-04 11:12:05 -04:00
Michael Rose e4fbcf7383 Fix grammar 2020-08-04 10:52:49 -04:00
Michael Rose eb31e33365 Update CHANGELOG and history 2020-08-04 10:48:44 -04:00
Lim Jing Heng f15e02ea58 Show date of posts (#2526)
* add date to read-time.html

* add option for show_date, dynamic icon style

* change read-time to post__meta

* cleanup post__metal.html

* cleanup post__meta include variables

* put date before read time

* remove space in include variable

* allow customisation of post__meta separator

* add some documentation

* oops fix typo derp

* add post date image

* change page meta separator customisation to CSS
2020-08-04 10:39:01 -04:00
Michael Rose 5d85bf1912 Update CHANGELOG and history 2020-08-04 10:26:29 -04:00
Andrey Kartashov b093b52074 remove hidden posts from /posts (#2625) 2020-08-04 10:25:38 -04:00
iBug ♦ a695d7728f Update documentation for #2621 (#2624)
* Update documentation for #2621

* Update CHANGELOG and history

* Update last_modified_at
2020-08-04 10:23:18 -04:00
iBug ♦ 83b4dba2f0 Update UI text for zh-CN and zh-TW (#2626)
* Update UI text for zh-CN and zh-TW

* Update CHANGELOG and history

Not touching last_modified_at this time - it's messy enough
2020-07-28 15:37:13 -04:00
Michael Rose 1f0b50044c Update 10-layouts.md 2020-07-24 16:06:32 -04:00
Michael Rose f099739f42 Include documentation for home page grid view 2020-07-24 16:00:37 -04:00
Michael Rose cd7aa71ffc Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-07-24 15:55:35 -04:00
Michael Rose 960d80dc6d Update CHANGELOG and history 2020-07-24 15:55:31 -04:00
Juan Ara 34ff24e31b Configure entries layout list or grid (#2616)
* Configure entries layout `list` or `grid`

This allows to use grid layout on `page.entries_layout` on the home layout.

Included a break since when using grid the post images are too close to the horizontal line bellow `posts` text.

There's a entries div now surrounding the posts since the first row of the grid was having a slight padding on the left. The home now behaves like posts/categories/tags pages with grid but including the paginator.

For best results on desktop use `classes: wide` and `paginate: 4` on `_config.yml` (or multiples of 4 if you want more rows)

* Fix indent

* Archive subtitle leaves space on the bottom

* Now space is added through style
2020-07-24 15:53:21 -04:00
iBug ♦ d5d3863322 Use layout: none instead of null (#2617)
* Use layout: none instead of null

* Update CHANGELOG and history
2020-07-24 08:22:16 -04:00
Michael Rose bae1a2eb0d Update CHANGELOG and history 2020-07-23 12:14:05 -04:00
谭九鼎 a0e3387677 Update zh-cn (#2576)
* Update zh-cn
* Update ui-text.yml
2020-07-23 12:12:52 -04:00
Michael Rose 16bacdcc37 Update CHANGELOG and history 2020-07-23 12:12:15 -04:00
dianlujitao be9a90fa0c Fix link for author name (#2575)
Missed from bcd6126612
2020-07-23 12:11:03 -04:00
iBug ♦ a89a015ce7 Change tab indent to space for consistency (#2614) 2020-07-23 12:09:36 -04:00
Michael Rose 8a60d43b12 Update CHANGELOG and history 2020-07-22 15:47:29 -04:00
Scott M a0309bba05 Fix config comment to list all analytics providers. (#2607)
The main config was properly updated with the google-gtag
feature commit (79d0b75683), but was
removed, possibly by bad merge, with an unrelated commit
(bac26e96b2) two days later.

The docs and test configs appear to have never received the initial
google-gtag update.
2020-07-22 15:46:44 -04:00
Michael Rose af7805a985 Update CHANGELOG and history 2020-07-22 15:45:40 -04:00
iBug ♦ adb301096f Give H4 in notice some space from below (#2602) 2020-07-22 15:44:25 -04:00
42c4df6244 Enhance Bilibili video support (redo of #2522) (#2599)
* Enhance support for bilibili videos in responsive video helper, and add corresponding doc

* Apply @iBug's review in mmistakes/minimal-mistakes#2522

* Fix danmaku in page hero video

* Update video to use case..when for iframe src

* Update CHANGELOG and history

Co-authored-by: Anran <51769728+ALeafWolf@users.noreply.github.com>
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
2020-07-22 15:42:46 -04:00
Michael Rose 8711be97c6 Update CHANGELOG and history 2020-07-22 15:36:25 -04:00
Marcin Pietraszek 28edd82198 Algolia search update (#2572)
* Search on menu toggle

With that change search is performed when requested. Before it was done
for each pageview, regardless of the fact if search was used by user or
not.

* Localize algolia's empty template
2020-07-22 15:34:53 -04:00
Michael Rose 91433e72e6 Update CHANGELOG and history 2020-07-22 15:30:29 -04:00
Vanessasaurus 82f79d3045 Updating link to wtfpl license (#2571)
The current wtpl license in the README is dead, so I'm updating it to use the current. The site doesn't have https, so if you want https we could also use https://choosealicense.com/licenses/wtfpl/.
2020-07-22 15:29:37 -04:00
Michael Rose 3af9e57c6a Update CHANGELOG and history 2020-07-22 15:29:09 -04:00
Eduardo Luna c980d7f079 Update 03-installation.md (#2570)
Fixed a small typo.
2020-07-22 15:28:09 -04:00
Michael Rose f297fe1b51 Update CHANGELOG and history 2020-07-22 15:27:46 -04:00
Lars Olesen 4f8e2b48bb Do not include in toc (#2558) 2020-07-22 15:26:14 -04:00
iBug ♦ 2ef1bfb856 Load Font Awesome CSS from jsDelivr CDN (#2583)
* Load Font Awesome CSS from jsDelivr CDN
* Update CHANGELOG and history
2020-07-02 08:08:45 -04:00
Michael Rose 776ab26ce1 Update theme version 2020-06-06 11:49:40 -04:00
Michael Rose a870cbddd9 Update CHANGELOG and history 2020-06-06 11:48:26 -04:00
Michael Rose 5021021fc8 Release 4.19.3 💎 2020-06-06 11:47:44 -04:00
Michael Rose c6145356fd Update CHANGELOG and history 2020-06-06 10:39:32 -04:00
Michael Rose 7ec8e90c76 Update GreedyNav.js 2020-06-06 10:30:54 -04:00
Michael Rose 3ab6ba0b1f Replace custom comment hardcoded HTML with include
Also add custom_scripts.html include for custom comment provider JavaScript that loads in the footer.

Close #2549
2020-06-02 22:33:08 -04:00
Michael Rose 59e007b20e Update CHANGELOG and history 2020-06-02 22:24:13 -04:00
Lars Olesen 875dbdefb8 Move page date to own file (#2544) 2020-06-02 22:22:56 -04:00
Michael Rose da2035c1ff Update CHANGELOG and history 2020-06-02 22:22:21 -04:00
Lars Olesen b336eab85b Strip trailing whitespace in seo_description (#2542) 2020-06-02 22:21:10 -04:00
iBug ♦ 3ca2503745 Bump Jekyll version note from 3.5 to 3.7 (#2520) 2020-06-02 22:19:22 -04:00
Michael Rose d392698661 Reword commit change 2020-06-02 22:18:57 -04:00
iBug ♦ a3d1d904d5 Make sticky sidebar live well with short content (#2514) 2020-06-02 22:17:31 -04:00
Michael Rose cf398b07ab Ignore heading in TOC 2020-05-22 10:06:57 -04:00
Michael Rose f7770ad079 Fix typo 2020-05-01 11:53:47 -04:00
Michael Rose 7a4b65711d Bump version to 4.19.2 2020-05-01 11:51:54 -04:00
Michael Rose 7bdc8dc193 Release 4.19.2 💎 2020-05-01 11:47:01 -04:00
Michael Rose 1a6bc842ae Wrap email in quotes
Close #2498
2020-05-01 10:28:44 -04:00
Michael Rose 476b12c867 Add bilibili provider 2020-05-01 10:23:02 -04:00
Michael Rose 890e573989 Fix typo 2020-05-01 10:21:55 -04:00
Michael Rose b27da24c8d Update CHANGELOG and history 2020-05-01 10:20:27 -04:00
Michael Rose 502e28a54e Add bilibili provider 2020-05-01 10:20:18 -04:00
sunete 9280de7075 Update video (#2512)
* Update video

support bilibili video

* Update video

drop the duplicated <div> wrapper

* Update video

update video
2020-05-01 10:16:59 -04:00
Michael Rose 2147ee2b66 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-05-01 10:15:50 -04:00
Michael Rose 172321f115 Add Myanmar (Burmese) 2020-05-01 10:15:46 -04:00
Michael Rose f8ab328e8a Update CHANGELOG and history 2020-05-01 10:14:48 -04:00
Hein Htet Aung ac970d98b8 Update Burmese translation (#2500) 2020-05-01 10:13:23 -04:00
Michael Rose 3c6c8586ba Update CHANGELOG and history 2020-05-01 10:12:43 -04:00
Tobias V. Langhoff f9c4e37816 Fix typo in configuration docs (#2497)
`https://github.io.mmistakes` should be `https://mmistakes.github.io`
2020-05-01 10:11:58 -04:00
Michael Rose 4ba02060e4 Update CHANGELOG and history 2020-05-01 10:11:32 -04:00
Quan 8ba8be1cac Update Vietnamese translation (#2486)
* Update Vietnamese translation

* Update Vietnamese translation
2020-05-01 10:10:35 -04:00
Michael Rose ef9431ccdd Update 01-quick-start-guide.md 2020-04-27 11:11:21 -04:00
Michael Rose d387d410eb Update README.md 2020-04-27 11:10:04 -04:00
iBug ♦ 07957f6d64 Hide index page from page-archive, resolves #2481 (#2482) 2020-04-13 18:55:19 -04:00
iBug ♦ f3c74113fd Fix #2478 "Follow menu falls under post links" (#2479)
* Fix #2478 "Follow menu falls under post links"

* Do it the other way
2020-04-08 09:15:07 -04:00
Michael Rose 63c929655d Update CHANGELOG and history 2020-03-30 16:27:41 -04:00
Ali Farooq 7790757722 Use css padding for author urls to fix underline hover state (#2472)
* Use scss padding for sidebar author urls

* rename .text to .label
2020-03-30 16:26:24 -04:00
Michael Rose b4ccaa6ae2 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Add guide on applying Front Matter defaults to jekyll-archives pages (#2466)
2020-03-30 16:19:59 -04:00
Michael Rose 29f4efc441 Update CHANGELOG and history 2020-03-30 16:18:32 -04:00
iBug ♦ 54001dade7 Add guide on applying Front Matter defaults to jekyll-archives pages (#2466)
* Add guide on applying Front Matter defaults to jekyll-archives pages

Sources:
- https://github.com/mmistakes/minimal-mistakes/issues/2465#issuecomment-604839346
- https://github.com/iBug/iBug-source/commit/8685c1ecd984529dcb044ba816497313d8896f1e

* Update CHANGELOG and history
2020-03-30 16:17:45 -04:00
Quan 843c38b892 Update ui-text.yml for Vietnamese translation (#2459) 2020-03-30 16:16:24 -04:00
Michael Rose c57dfd78b0 Add mention of Finnish 2020-03-23 14:08:03 -04:00
Michael Rose a0a0a78b07 Update CHANGELOG and history 2020-03-23 14:06:44 -04:00
Tatu Wikman 7f222d7e1f Finnish translations (#2455)
* Finnish translations

* Small fix to finnish translation
2020-03-23 14:05:10 -04:00
Michael Rose e773a08645 Update CHANGELOG and history 2020-03-23 14:04:43 -04:00
A. Ishikawa def3aaf229 Clarify lunr only searches documents in collections (#2450) 2020-03-23 14:03:25 -04:00
Michael Rose 2d0b445634 Bump theme version 2020-03-16 21:32:15 -04:00
Michael Rose 6bc673d331 Release 4.19.1 💎 2020-03-16 21:31:23 -04:00
Michael Rose 0d4e54283a Update CHANGELOG and history 2020-03-16 21:26:12 -04:00
Michael Rose c5523d119a Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-03-16 21:24:19 -04:00
Luiz Lopes e00e24dc9d docs: Add dracula base16 syntax highlighting (#2438)
Updates stylesheets doc by adding a section for [dracula theme](https://draculatheme.com/).
2020-03-16 21:24:11 -04:00
Michael Rose e3fd8dc17b Update CHANGELOG and history 2020-03-16 21:23:05 -04:00
Christian Oliff 2d407a9d9e update links to HTTPS and remove Google+ from 05-configuration.md (#2432) 2020-03-16 21:21:36 -04:00
Michael Rose b1d7c4062f Update CHANGELOG and history 2020-03-16 21:18:56 -04:00
iBug ♦ 4e25e5242e Use first_page_path from Paginate V2 if available (#2431) 2020-03-16 21:17:53 -04:00
Michael Rose eeecf26117 Update CHANGELOG and history 2020-03-16 10:46:52 -04:00
Michael Rose 864892c507 Bump dependencies 2020-03-16 10:45:33 -04:00
Michael Rose ece34c1c57 Fix author profile links z-index order on small screens
Close #2440
2020-03-16 10:33:42 -04:00
Michael Rose 7051c2b595 Update smooth-scroll.js to v16.1.2
Close #2430
2020-03-11 13:13:46 -04:00
Michael Rose e31701787e Force rebuild of site 2020-03-10 19:09:54 -04:00
Michael Rose 78f049abee Release 4.19.0 💎 2020-03-10 19:02:57 -04:00
Michael Rose f9b4ddb869 Remove unused variables 2020-03-10 19:00:43 -04:00
Michael Rose a2385e2584 Update CHANGELOG and history 2020-03-09 14:49:50 -04:00
Michael Rose b5abe62bf6 Add "click" overlay to close masthead and follow button menus when open
Fixes #1168
2020-03-09 14:49:15 -04:00
Michael Rose 9c90563d1a Remove delay on menu close 2020-03-09 13:04:51 -04:00
Michael Rose 02098bc079 Update CHANGELOG and history 2020-03-09 12:33:15 -04:00
Michael Rose 60f0f1c33a Remove deprecated Staticman v1 config
Close #2386
2020-03-09 12:31:42 -04:00
Michael Rose e1724aec9d Lock demo site at version 4.18.1
ref: https://github.com/mmistakes/minimal-mistakes/issues/2429
2020-03-09 10:15:17 -04:00
chrismelman 7b953b6b01 fixed typo in page_hero (#2428) 2020-03-08 20:27:54 -04:00
Michael Rose 21ae828654 Fix typo in Sass variable map 2020-03-06 15:48:03 -05:00
Michael Rose cba217a6da Update CHANGELOG and history 2020-03-06 15:42:43 -05:00
Ivan Storck 72bc135b5f Fix minor deprecation issue (#2425)
with bundler show vs now info. Just to avoid warning for users
2020-03-06 15:41:07 -05:00
Michael Rose 5e5d4210e2 Update CHANGELOG and history 2020-03-06 15:39:05 -05:00
iBug ♦ bcd6126612 Use relative_url and absolute_url where possible (#2387)
* Use relative_url and absolute_url where possible

Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236

* One more unneeded {% assign %}

* Remove one more assign as noted by mmistakes

* Consolidate 4 more captures

* Consolidate an extra assign on "active" class
2020-03-06 15:37:07 -05:00
Michael Rose 0cf1a2e114 Improve headline hierarchy
Add headline specific Sass variables:

```scss
$h-size-1: 1.563em !default; // ~25.008px
$h-size-2: 1.25em !default; // ~20px
$h-size-3: 1.125em !default; // ~18px
$h-size-4: 1.0625em !default; // ~17px
$h-size-5: 1.03125em !default; // ~16.5px
$h-size-6: 1em !default; // ~16px
```

Fixes #2423
2020-03-05 12:39:35 -05:00
Michael Rose 52fcc60474 Update CHANGELOG and history 2020-03-05 12:28:40 -05:00
Michael Rose dc8a41bb60 Improve accessiblity of default skin by increasing color contrast 2020-03-04 16:33:50 -05:00
Michael Rose 4fa9cf63d2 Update CHANGELOG and history 2020-03-04 16:10:57 -05:00
Michael Rose 4bf72cf73f Hide hidden posts from listings (#2345) 2020-03-04 16:09:24 -05:00
Michael Rose 31dff63ad1 Update CHANGELOG, history, and documentation 2020-03-04 16:08:15 -05:00
Michael Rose 648ef257a4 Add Irish (Gaeilge) locale to ui-text.yml (#2422) 2020-03-04 16:05:27 -05:00
Michael Rose 909745a7c9 Fix rake vulnerability in .gemspec file 2020-03-02 16:25:50 -05:00
Michael Rose 2513357cdc Update CHANGELOG and history 2020-02-17 15:30:14 -05:00
Daniel Schroeder e8b36c94d3 fix: Do not redirect user away from site after they submit a comment (#2402) 2020-02-17 15:28:33 -05:00
Michael Rose f7884a31c6 Update CHANGELOG and history 2020-02-17 15:27:35 -05:00
iBug ♦ 060d50eda0 Disable box-shadow for radio and checkbox (#2398) 2020-02-17 15:26:10 -05:00
Michael Rose b06b6477e9 Bump Jekyll gem dependency to v3.7 2020-01-29 13:24:22 -05:00
iBug ♦ 1799ddd6a5 Regression for mmistakes#2332 (#2385)
* Regression for mmistakes#2332

There's already a `relative_url` in place, shouldn't stack up another

* Update CHANGELOG and history
2020-01-29 12:48:13 -05:00
Michael Rose 636ea3eb87 Release 4.18.1 💎 2020-01-25 11:18:44 -05:00
iBug ♦ 82a71a59f2 Fix compatibility issue with paginate V2 introduced by mmistakes/minimal-mistakes#2378 (#2381) 2020-01-25 11:14:29 -05:00
Michael Rose ec0b288f9e Release 4.18.0 💎 2020-01-25 10:26:16 -05:00
Michael Rose 1b9b8465b0 Update CHANGELOG and history 2020-01-25 10:19:18 -05:00
Mohamed Akram 3332196ec5 Allow using theme without pagination (#2378) 2020-01-25 10:17:46 -05:00
Michael Rose 1163ddc3f2 Add links to high resolution skin screenshots
Resolves #2363
2020-01-14 12:51:36 -05:00
Michael Rose d6c935aaaa Update CHANGELOG and history 2020-01-14 12:46:02 -05:00
Johannes Ganzenmüller 741b6dcb10 Adjust comments to be compatible with compress_html (#2373) 2020-01-14 12:43:14 -05:00
Michael Rose 0ce6c0d648 Update CHANGELOG and history 2020-01-14 12:42:35 -05:00
Michael Rose 2397da4e28 Add post to test multiline excerpt 2020-01-14 12:41:28 -05:00
iBug ♦ c6b4cdac97 Fix wrong newline concatenation in SEO description, resolves #2354 (#2368)
Close #2354
2020-01-14 12:40:11 -05:00
Michael Rose b84c196178 Update CHANGELOG and history 2020-01-14 12:33:30 -05:00
iBug ♦ d1db419e59 Update README and LICENSE (#2367)
* Update README and LICENSE

* README: Replace RawGit with jsDelivr
2020-01-14 12:32:48 -05:00
Michael Rose 31d230934c Update CHANGELOG and history 2020-01-14 12:32:20 -05:00
iBug ♦ a9f927a353 Update .gitignore (#2366) 2020-01-14 12:31:30 -05:00
Michael Rose 39423bc233 Update CHANGELOG and history 2020-01-07 13:14:57 -05:00
Michael Rose eb1af70810 Document header tagline 2020-01-07 13:14:50 -05:00
Michael Rose 6deaab8d3a Add example posts with header tagline 2020-01-07 13:14:33 -05:00
iBug ♦ be0e7ca971 Allow override of page excerpt in heading (via tagline) (#2307)
Allow the use of `page.tagline` to override `page.excerpt` in heading area
2020-01-07 13:01:47 -05:00
Michael Rose f2af873e94 Update CHANGELOG and history 2020-01-07 12:47:33 -05:00
Rodrigo Graça e2f0cf82f9 🔧 Exclude package-lock.json (#2364) 2020-01-07 12:45:58 -05:00
Michael Rose 65051cce2e Update CHANGELOG and history 2020-01-07 12:39:34 -05:00
iBug ♦ f331584125 Use %-d instead of %d (#2359) 2020-01-07 12:38:08 -05:00
Michael Rose e604b4742a Update CHANGELOG and history 2020-01-07 12:37:31 -05:00
iBug ♦ 8e2d290c7f Update toc.html from allejo/jekyll-toc:master (#2355) 2020-01-07 12:36:05 -05:00
Michael Rose 92401a14b7 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2019-12-19 11:39:42 -05:00
Michael Rose e7d429cd74 Update CHANGELOG and history 2019-12-19 11:39:39 -05:00
Akhyar Amarullah 7607fcf7b6 Fix staticman v2/v3 comments (#2351)
According to the most recent docs, `branch` and `endpoint` should be inside `site.comments.staticman` config.
2019-12-19 11:38:51 -05:00
Michael Rose 4a85725bfe Update CHANGELOG and history 2019-12-19 11:38:16 -05:00
dmitrypvandiBug ♦ abf29432f6 Update masthead.html (#2332)
* Update masthead.html

fix image path in masthead for relative url

* Update _includes/masthead.html

Co-Authored-By: iBug ♦ <git@ibugone.com>
2019-12-19 11:37:11 -05:00
Eloi Perdereau af528d49ce Fix schema.org dates to ISO-8601 (#2339)
* Fix schema.org dates to ISO-8601

* Revert date_to_xmlschema in <time> tag
2019-12-19 11:35:35 -05:00
Michael Rose df3da4f7e3 Update CHANGELOG and history 2019-11-22 09:27:54 -05:00
Michael Rose e749af9ff8 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2019-11-22 09:26:59 -05:00
iBug ♦ ee9aa75213 Set background-color = inherit for <pre code> in notices (#2328) 2019-11-22 09:26:38 -05:00
Michael Rose 032aaf209b Add notices with code blocks for testing 2019-11-22 09:26:06 -05:00
Michael Rose 5c9b5c3218 Update CHANGELOG and history 2019-11-22 09:17:09 -05:00
iBug ♦ 02dd27ccdc Make feature row live well with TOC, fix #2327 (#2329) 2019-11-22 09:15:38 -05:00
Michael Rose 6c733c3b93 Update CHANGELOG and history 2019-11-22 09:13:52 -05:00
Lars Olesen 0be64d50fc Fixed page.excerpt to seo_description (#2326) 2019-11-22 09:12:34 -05:00
Michael Rose 14ebcce4a9 Update CHANGELOG and history 2019-11-22 09:12:12 -05:00
Wouter Overmeire c7e3c5e3cb Add missing dutch ui-text fields (#2321) 2019-11-22 09:11:13 -05:00
Michael Rose c2c33a9ca8 Update CHANGELOG and history 2019-11-12 15:15:20 -05:00
Wouter Janson e09ff7efd7 Add social icon color for Keybase (#2302) 2019-11-12 15:14:32 -05:00
Michael Rose 2d257a905e Update CHANGELOG and history 2019-11-12 15:13:33 -05:00
iBug ♦ 13d7a231f7 Support page header (page hero) in archive-taxonomy layouts (#2320)
* Support page header in archive-taxonomy layout
2019-11-12 15:11:52 -05:00
Michael Rose 4ef8db79ba Update CHANGELOG and history 2019-11-12 15:01:33 -05:00
Michael Rose 5eaa0e5ec8 Fix typo in comments in _config.yml 2019-11-12 15:00:44 -05:00
iBug ♦ 96feec08a9 Fix typo in _config.yml (#2319) 2019-11-12 14:59:26 -05:00
Michael Rose ef22eb314e Update CHANGELOG and history
Fix #2310
2019-11-07 11:52:42 -05:00
Michael Rose d4edd0c1e3 Release 4.17.2 💎 (#2296) 2019-10-27 20:22:16 -04:00
Michael Rose 6d1edf339c Update CHANGELOG and history 2019-10-27 20:17:48 -04:00
Dan Wilde 13ab95d1ad Added another step (#2294)
The step is required to get the portfolio collection to work.
2019-10-27 20:14:58 -04:00
Michael Rose 2328c8192c Update CHANGELOG and history
Close #2281
2019-10-21 10:46:44 -04:00
Michael Rose 6d28d12d1d Flexbox sticky footer (#2289)
* Remove sticky footer JavaScript

* Use flexbox to force footer to the bottom of every page

* Fix flexbox in Internet Explorer
2019-10-21 10:41:36 -04:00
170 changed files with 5993 additions and 2444 deletions
+9 -5
View File
@@ -1,6 +1,10 @@
assets/fonts/* linguist-vendored
assets/js/main.min.js linguist-vendored
assets/js/lunr/* linguist-vendored
assets/js/plugins/* linguist-vendored
assets/js/vendor/* linguist-vendored
assets/fonts/* linguist-vendored
assets/js/main.min.js linguist-vendored
assets/js/lunr/* linguist-vendored
assets/js/plugins/* linguist-vendored
assets/js/vendor/* linguist-vendored
_sass/minimal-mistakes/vendor/* linguist-vendored
CHANGELOG.md text merge=union
docs/_docs/18-history.md text merge=union
*.md text
+3 -6
View File
@@ -1,11 +1,8 @@
# Contributing
Having trouble working with the theme? Found a typo in the documentation?
Interested in adding a feature or [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.
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.
For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).
Minimal Mistakes has been designed as a base for you to customize and fit your
site's unique needs. Please keep this in mind when requesting features and/or
-1
View File
@@ -1 +0,0 @@
custom: https://www.paypal.me/mmistakes
+4 -4
View File
@@ -14,7 +14,7 @@ about: "Is something not working as expected?"
for solutions and to avoid duplication.
- Ask for help at http://talk.jekyllrb.com/
After exhausting these suggestions use the format below.
If none of the above solved your problem, you can continue below.
-->
## Environment
@@ -25,7 +25,7 @@ about: "Is something not working as expected?"
Issues without a link to a public repository or ZIP file will likely go ignored.
Being able to see your actual files is necessary to troubleshoot, as most
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.sys
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.yml
file, or problematic site content.
-->
@@ -33,7 +33,7 @@ about: "Is something not working as expected?"
- Ruby gem or remote theme version:
- Jekyll version:
- Git repository URL:
- GitHub Pages hosted (if yes provide URL to site):
- Hosted on GitHub Pages (if yes provide URL to site):
- Operating system:
## Expected behavior
@@ -46,7 +46,7 @@ about: "Is something not working as expected?"
## Steps to reproduce the behavior
<!--
Describe the steps you took for this problem to exist. Such as: you installed
Describe the steps you took for this problem to come up. Such as: you installed
the theme, customized _config.yml, added your own posts, and started up a
Jekyll server locally.
+81
View File
@@ -0,0 +1,81 @@
name: Bug Report
description: There is something wrong with the theme. 99% of the time you should select Support below.
body:
- type: markdown
attributes:
value: |
Before opening a new issue please:
- Verify you have the latest versions of Jekyll and Minimal Mistakes
installed by running `bundle update`.
- Thoroughly read the theme's documentation at
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
for solutions and to avoid duplication.
- Ask for help at https://talk.jekyllrb.com/
If none of the above solved your problem, you can continue below.
- type: textarea
id: environment
attributes:
label: What happened?
description: |
Please include theme version, Jekyll version, public git repository, whether
you are hosting with GitHub Pages, and the operating system you tested with.
Issues without a link to a public repository or ZIP file will likely go ignored.
Being able to see your actual files is necessary to troubleshoot, as most
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.yml
file, or problematic site content.
value: |-
- Minimal Mistakes version:
- Ruby gem or remote theme version:
- Jekyll version:
- Git repository URL:
- Hosted on GitHub Pages (if yes provide URL to site):
- Operating system:
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: |
Please describe the expected behavior and the actual result you got.
placeholder: >
What is it you expected to happen? This should be a description of how the
functionality you tried to use is supposed to work.
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce the behavior
description: |
Describe the steps you took for this problem to come up. Such as: you installed
the theme, customized _config.yml, added your own posts, and started up a
Jekyll server locally.
If an error occurred on GitHub Pages when pushing, please test a local version
following these setup instructions:
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
and include this output in the filed issue.
Screenshots can also be included if they help illustrate a behavior.
validations:
required: true
- type: textarea
id: other
attributes:
label: Other
description: |
Please provide a code repository, gist, code snippet, sample files,
screenshots, or anything else you think will aid in reproducing the issue.
validations:
required: false
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Support
url: https://github.com/mmistakes/minimal-mistakes/discussions
about: Please post your support questions in the Discussions section.
+25
View File
@@ -0,0 +1,25 @@
name: Documentation
description: Found a typo or something that needs clarification?
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to open an issue and help make the docs better.
- type: textarea
id: motivation
attributes:
label: Motivation
description: |
Why should we update our docs?
validations:
required: true
- type: textarea
id: suggestion
attributes:
label: Suggestion
description: |
What should we do instead?
validations:
required: true
-32
View File
@@ -1,32 +0,0 @@
---
name: "Enhancement / Feature Request"
about: "What would make this theme better?"
---
<!--
Before opening a new issue please search all issues at
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
-->
## Summary
<!--
A short explanation of the enhancement or feature.
-->
## Motivation
<!--
Why do you want to see this feature in the theme?
What use cases does it support?
NOTE: This theme has been designed as a base for you to customize and fit
your site's unique needs. If a feature is not something most people will use,
it likely won't be considered. When in doubt ask.
-->
## Drawbacks
<!--
Why should this enhancement or feature **not** be considered?
-->
-22
View File
@@ -1,22 +0,0 @@
---
name: "Question"
about: "Having trouble working with the theme?"
---
<!--
Before opening a new issue please:
- Verify you have the latest versions of Jekyll and Minimal Mistakes
installed by running `bundle update`.
- Thoroughly read the theme's documentation at
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
for solutions and to avoid duplication.
- Ask for help at http://talk.jekyllrb.com/
After exhausting these suggestions ask your question below.
NOTE: Please provide a code repository, gist, code snippet, sample files, or
screenshots to triage your issue.
-->
+5 -1
View File
@@ -23,4 +23,8 @@
<!--
Is this related to any GitHub issue(s)?
-->
-->
<!--
Please confirm that you want to submit this Pull Request to Minimal Mistakes, the free Jekyll theme by Michael Rose, by deleting this comment block.
-->
-21
View File
@@ -1,21 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- "Status: Accepted"
- "Status: Under Consideration"
# Label to use when marking an issue as stale
staleLabel: "Status: Stale"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: |
This issue has been automatically marked as stale because it has not had recent activity.
If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+32
View File
@@ -0,0 +1,32 @@
name: Cleanup bad PR
on:
pull_request_target:
types: [opened, reopened]
permissions:
contents: read
jobs:
close-pr:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: "contains(github.event.pull_request.body, 'by deleting this comment block') || github.event.pull_request.body == ''"
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: 'Type: Invalid'
- uses: superbrothers/close-pull-request@v3
with:
# Optional. Post an issue comment just before closing a pull request.
comment: |
**You have created a Pull Request to the wrong repository.** This is the repository for [Minimal Mistakes][1], the free Jekyll theme. See [GitHub Docs: About pull requests][2] if you need help.
[1]: https://mmistakes.github.io/minimal-mistakes/
[2]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
- uses: sudo-bot/action-pull-request-lock@v1.0.5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.pull_request.number }}
lock-reason: spam
+20 -7
View File
@@ -1,16 +1,29 @@
*.gem
# Vim
*~
*.sw[p_]
# Sublime Text
*.sublime-project
*.sublime-workspace
# Ruby Gem
*.gem
.bundle
Gemfile.lock
**/vendor/bundle
# Node.js and NPM
node_modules
npm-debug.log*
package-lock.json
codekit-config.json
# macOS
.DS_Store
# Jekyll generated files
.jekyll-cache
.jekyll-metadata
.sass-cache
_asset_bundler_cache
_site
codekit-config.json
example/_site
Gemfile.lock
node_modules
npm-debug.log*
vendor/bundle
+551 -241
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2013-2019 Michael Rose and contributors
Copyright (c) 2013-2020 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
+40 -31
View File
@@ -1,19 +1,13 @@
# [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/)
[![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.6-blue.svg)](https://jekyllrb.com/)
[![Ruby gem](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://rubygems.org/gems/minimal-mistakes-jekyll)
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.7-blue.svg)](https://jekyllrb.com/)
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:.
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) to continue developing and maintaining it.**
[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/mmistakes)
**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 throw `Unknown tag 'include_cached'` errors at build.
**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.
[![Minimal Mistakes live preview][2]][1]
@@ -31,25 +25,25 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data.
- 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.
- 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/), and [utterances](https://utteranc.es/)).
- 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/)).
- [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Malayalam, Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
- 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), Ukrainian (Українська) and Vietnamese.
## Skins (color variations)
This theme comes in nine different skins (including the default one).
This theme comes in nine different skins (in addition to the default one).
| `air` | `contrast` | `dark` |
| --- | --- | --- |
| ![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png) | ![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png) | ![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png) |
| [![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive-large.png) | [![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive-large.png) | [![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive-large.png) |
| `dirt` | `mint` | `sunrise` |
| --- | --- | --- |
| ![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png) | ![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png) | ![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png) |
| [![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive-large.png) | [![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive-large.png) | [![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive-large.png) |
| `aqua` | `neon` | `plum` |
| --- | --- | --- |
| ![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png) | ![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png) | ![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png) |
| [![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive-large.png) | [![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive-large.png) | [![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive-large.png) |
## Demo pages
@@ -116,33 +110,52 @@ To install:
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
gem "jekyll-include-cache", group: :jekyll_plugins
```
2. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`.
3. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
3. Fetch and update bundled gems by running the following [Bundler](https://bundler.io/) command:
```bash
bundle
```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.17.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.25.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
**Looking for an example?** Fork the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter) for the quickest method of getting a GitHub Pages hosted site up and running. Replace sample content with your own and configure as needed.
<!--
Dev note: The version number is currently hard-coded in these files:
- README.md (this file)
- package.json
- docs/_config.yml (as theme_version)
- docs/_pages/home.md (in Front Matter "excerpt")
For every release, files listed above should be manually updated with the new version number.
Additionally, the license year is hard-coded in these files:
- README.md (this file, near the end)
- LICENSE
The following files should also be regenerated:
- _includes/copyright.html, _includes/copyright.js, _sass/minimal-mistakes/_copyright.scss
(Run `bundle exec rake clean` then `bundle exec rake copyright` - all three references `package.json`)
- assets/js/main.min.js (Run `npm run build:js`, references `_includes/copyright.js`)
-->
**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.
## Usage
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/).
---
## Contributing
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [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.
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.
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).
### Pull Requests
@@ -160,8 +173,6 @@ To set up your environment to develop this theme, run `bundle install`.
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.
---
## Credits
### Creator
@@ -174,7 +185,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
### Icons + Demo Images:
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
- [The Noun Project](https://thenounproject.com) - Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
- [Font Awesome](http://fontawesome.io/)
- [Unsplash](https://unsplash.com/)
@@ -192,13 +203,11 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
- [Lunr](http://lunrjs.com)
---
## License
The MIT License (MIT)
Copyright (c) 2013-2019 Michael Rose and contributors
Copyright (c) 2013-2020 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -238,7 +247,7 @@ Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opens
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
Copyright (c) 2013 Dave Rubert and Chris Coyier.
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
FitVids is distributed under the terms of the [WTFPL License](http://www.wtfpl.net/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
@@ -250,7 +259,7 @@ Smooth Scroll is distributed under the terms of the [MIT License](http://opensou
Minimal Mistakes incorporates [Gumshoejs](http://github.com/cferdinandi/gumshoe),
Copyright (c) 2019 Chris Ferdinandi.
Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Gumshoejs is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/),
Copyright (c) 2010 "Cowboy" Ben Alman.
+76
View File
@@ -1,6 +1,14 @@
require "bundler/gem_tasks"
require "jekyll"
require "json"
require "listen"
require "rake/clean"
require "time"
require "yaml"
task :default => [:copyright, :changelog]
package_json = JSON.parse(File.read("package.json"))
def listen_ignore_paths(base, options)
[
@@ -74,3 +82,71 @@ task :preview do
Jekyll::Commands::Serve.process(options)
end
task :changelog => "docs/_docs/18-history.md"
file "docs/_docs/18-history.md" => "CHANGELOG.md" do |t|
front_matter = {
title: "History",
classes: "wide",
permalink: "/docs/history/",
excerpt: "Change log of enhancements and bug fixes made to the theme.",
sidebar: {
nav: "docs",
},
last_modified_at: Time.now.iso8601,
toc: false,
}
# https://stackoverflow.com/a/49553523/5958455
front_matter = JSON.parse(JSON.dump(front_matter))
File.open(t.name, "w") do |f|
f.puts front_matter.to_yaml
f.puts "---"
f.puts ""
f.puts "<!--\n Sourced from CHANGELOG.md\n See Rakefile `task :changelog` for details\n-->"
f.puts ""
f.puts "{% raw %}"
changelog = File.read(t.prerequisites.first).gsub(/^# [^\n]*$/m, "").strip
f.write changelog
f.puts ""
f.puts "{% endraw %}"
end
end
COPYRIGHT_LINES = [
"Minimal Mistakes Jekyll Theme #{package_json["version"]} by Michael Rose",
"Copyright 2013-#{Time.now.year} Michael Rose - mademistakes.com | @mmistakes",
"Free for personal and commercial use under the MIT license",
"https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE",
]
COPYRIGHT_FILES = [
"_includes/copyright.html",
"_includes/copyright.js",
"_sass/minimal-mistakes/_copyright.scss",
]
def genenerate_copyright_file(filename, header, prefix, footer)
File.open(filename, "w") do |f|
f.puts header
COPYRIGHT_LINES.each do |line|
f.puts "#{prefix}#{line}"
end
f.puts footer
end
end
file "_includes/copyright.html" => "package.json" do |t|
genenerate_copyright_file(t.name, "<!--", " ", "-->")
end
file "_includes/copyright.js" => "package.json" do |t|
genenerate_copyright_file(t.name, "/*!", " * ", " */")
end
file "_sass/minimal-mistakes/_copyright.scss" => "package.json" do |t|
genenerate_copyright_file(t.name, "/*!", " * ", " */")
end
task :copyright => COPYRIGHT_FILES
CLEAN.include(*COPYRIGHT_FILES)
+26 -21
View File
@@ -29,8 +29,10 @@ logo : # path of logo image to display in the masthead, e.g.
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
# breadcrumbs : false # true, false (default)
words_per_minute : 200
copyright : # "copyright" name, defaults to site.title
copyright_url : # "copyright" URL, defaults to site.url
comments:
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
@@ -43,31 +45,32 @@ comments:
utterances:
theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default)
staticman:
allowedFields : # ['name', 'email', 'url', 'message']
branch : # "master"
commitMessage : # "New comment by {fields.name}"
filename : # comment-{@timestamp}
format : # "yml"
moderation : # true
path : # "/_data/comments/{options.slug}" (default)
requiredFields : # ['name', 'email', 'message']
transforms:
email : # "md5"
generatedFields:
date:
type : # "date"
options:
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance
giscus:
repo_id : # Shown during giscus setup at https://giscus.app
category_name : # Full text name of the category
category_id : # Shown during giscus setup at https://giscus.app
discussion_term : # "pathname" (default), "url", "title", "og:title"
reactions_enabled : # '1' for enabled (default), '0' for disabled
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
strict : # 1 for enabled, 0 for disabled (default)
input_position : # "top", "bottom" # The comment input box will be placed above or below the comments
emit_metadata : # 1 for enabled, 0 for disabled (default) # https://github.com/giscus/giscus/blob/main/ADVANCED-USAGE.md#imetadatamessage
lang : # "en" (default)
lazy : # true, false # Loading of the comments will be deferred until the user scrolls near the comments container.
staticman:
branch : # "master"
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
reCaptcha:
siteKey :
secret :
atom_feed:
path : # blank (default) uses feed.xml
hide : # true, false (default)
search : # true, false (default)
search_full_content : # true, false (default)
search_provider : # lunr (default), algolia, google
lunr:
search_within_pages : # true, false (default)
algolia:
application_id : # YOUR_APPLICATION_ID
index_name : # YOUR_INDEX_NAME
@@ -79,8 +82,9 @@ google:
# SEO Related
google_site_verification :
bing_site_verification :
yandex_site_verification :
naver_site_verification :
yandex_site_verification :
baidu_site_verification :
# Social Sharing
twitter:
@@ -99,7 +103,7 @@ social:
# Analytics
analytics:
provider : false # false (default), "google", "google-universal", "custom"
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
google:
tracking_id :
anonymize_ip : # true, false (default)
@@ -115,7 +119,7 @@ author:
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
# url: mailto:your.name@email.com
# url: "mailto:your.name@email.com"
- label: "Website"
icon: "fas fa-fw fa-link"
# url: "https://your-website.com"
@@ -180,6 +184,7 @@ exclude:
- log
- node_modules
- package.json
- package-lock.json
- Rakefile
- README
- tmp
+544 -75
View File
@@ -47,6 +47,7 @@ en: &DEFAULT_EN
loading_label : "Loading..."
search_label_text : "Enter your search term..."
search_placeholder_text : "Enter your search term..."
search_algolia_no_results : "No results"
results_found : "Result(s) found"
back_to_top : "Back to top"
en-US:
@@ -105,6 +106,7 @@ es: &DEFAULT_ES
loading_label : "Cargando..."
search_label_text : "Términos de búsqueda..."
search_placeholder_text : "Términos de búsqueda..."
search_algolia_no_results :
results_found : "resultado(s) encontrado(s)"
back_to_top : "Volver arriba"
es-ES:
@@ -159,6 +161,7 @@ fr: &DEFAULT_FR
loading_label : "Chargement..."
search_label_text :
search_placeholder_text : "Entrez votre recherche..."
search_algolia_no_results :
results_found : "Résultat(s) trouvé(s)"
back_to_top : "Retour en haut"
fr-FR:
@@ -214,6 +217,7 @@ tr: &DEFAULT_TR
comment_error_msg : "Maalesef bir hata oluştu. Lütfen zorunlu olan tüm alanları doldurduğunuzdan emin olun ve sonrasında tekrar deneyin."
loading_label : "Yükleniyor..."
search_label_text :
search_algolia_no_results :
tr-TR:
<<: *DEFAULT_TR
@@ -263,24 +267,25 @@ pt: &DEFAULT_PT
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."
loading_label : "A carregar..."
search_label_text :
search_algolia_no_results :
pt-PT:
<<: *DEFAULT_PT
# Brazilian Portuguese
pt-BR:
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_links : "Pular links"
skip_primary_nav : "Pular para navegação primária"
skip_content : "Pular para conteúdo"
skip_footer : "Pular para rodapé"
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Próxima"
breadcrumb_home_label : "Home"
breadcrumb_home_label : "Início"
breadcrumb_separator : "/"
menu_label :
search_label : "Buscar"
menu_label : "Chavear menu"
search_label : "Chavear busca"
toc_label : "Nesta página"
ext_link_label : "Link direto"
less_than : "menos que"
less_than : "menos de"
minute_read : "minuto(s) de leitura"
share_on_label : "Compartilhe"
meta_label :
@@ -291,13 +296,13 @@ pt-BR:
comments_title : "Comentários"
more_label : "Saiba mais"
related_label : "Talvez você também goste"
follow_label : "Acompanhe no"
follow_label : "Siga:"
feed_label : "Feed"
powered_by : "Desenvolvido com"
website_label : "Site"
email_label : "E-mail"
recent_posts : "Publicações recentes"
undefined_wpm : "Parâmetro words_per_minute indefinido no _config.yml"
undefined_wpm : "Parâmetro words_per_minute não definido em _config.yml"
comment_form_info : "Seu e-mail não será publicado. Os campos obrigatórios estão marcados"
comment_form_comment_label : "Comentário"
comment_form_md_info : "Você pode usar Markdown."
@@ -309,8 +314,9 @@ pt-BR:
comment_success_msg : "Obrigado pelo seu comentário! Ele aparecerá no site assim que for aprovado."
comment_error_msg : "Desculpe, ocorreu um erro no envio. Verifique se todos os campos obrigatórios foram preenchidos e tente novamente."
loading_label : "Carregando..."
search_label_text :
search_placeholder_text : "Pesquisar..."
search_label_text : "Digite seu termo de busca..."
search_placeholder_text : "Digite seu termo de busca..."
search_algolia_no_results : "Nenhum resultado"
results_found : "Resultado(s) encontrado(s)"
back_to_top : "Voltar para o topo"
@@ -361,6 +367,7 @@ it: &DEFAULT_IT
loading_label : "Caricamento..."
search_label_text :
search_placeholder_text : "Inserisci termini di ricerca..."
search_algolia_no_results :
results_found : "Risultati"
back_to_top : "Vai su"
it-IT:
@@ -369,18 +376,18 @@ it-IT:
# Chinese (zh-CN Chinese - China)
# --------------------------------
zh: &DEFAULT_ZH_HANS
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_links : "跳转链接"
skip_primary_nav : "转到主导航栏"
skip_content : "转到内容"
skip_footer : "转到底部"
page : "页面"
pagination_previous : "向前"
pagination_next : "向后"
pagination_previous : "上一页"
pagination_next : "下一页"
breadcrumb_home_label : "首页"
breadcrumb_separator : "/"
menu_label : "切换菜单"
search_label :
toc_label : "在本页上"
search_label : "切换搜索"
toc_label : "目录"
ext_link_label : "直接链接"
less_than : "少于"
minute_read : "分钟阅读"
@@ -411,8 +418,9 @@ zh: &DEFAULT_ZH_HANS
comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "正在加载..."
search_label_text :
search_label_text : "输入您要搜索的关键词..."
search_placeholder_text : "输入您要搜索的关键词..."
search_algolia_no_results : "无结果"
results_found : "条记录匹配"
back_to_top : "返回顶部"
zh-CN:
@@ -422,16 +430,16 @@ zh-SG:
# Taiwan (Traditional Chinese)
zh-TW: &DEFAULT_ZH_HANT
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_primary_nav : "轉至主導航欄"
skip_content : "轉至内容"
skip_footer : "轉至頁脚"
page : "頁面"
pagination_previous : "較舊"
pagination_next : "較新"
pagination_previous : "前一頁"
pagination_next : "後一頁"
breadcrumb_home_label : "首頁"
breadcrumb_separator : "/"
menu_label : "切換選單"
search_label :
search_label : "切換搜索"
toc_label : "本頁"
ext_link_label : "外部連結"
less_than : "少於"
@@ -454,7 +462,7 @@ zh-TW: &DEFAULT_ZH_HANT
undefined_wpm : "_config.yml 中未定義 words_per_minute"
comment_form_info : "您的電子信箱不會被公開. 必填部份已標記"
comment_form_comment_label : "留言內容"
comment_form_md_info : "支援Markdown語法。"
comment_form_md_info : "支援 Markdown 語法。"
comment_form_name_label : "名字"
comment_form_email_label : "電子信箱帳號"
comment_form_website_label : "網頁 (可選填)"
@@ -463,7 +471,11 @@ zh-TW: &DEFAULT_ZH_HANT
comment_success_msg : "感謝您的留言! 審核後將會顯示在站上。"
comment_error_msg : "抱歉,部份資料輸入有問題。請確認資料填寫正確後再試一次。"
loading_label : "載入中..."
search_label_text :
search_label_text : "輸入您要搜索的關鍵詞..."
search_placeholder_text : "輸入您要搜索的關鍵詞..."
search_algolia_no_results : "沒有結果"
results_found : "條匹配的記錄"
back_to_top : "回到頂部"
zh-HK:
<<: *DEFAULT_ZH_HANT
@@ -484,7 +496,7 @@ de: &DEFAULT_DE
toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link"
less_than : "weniger als"
minute_read : "Minuten zum lesen"
minute_read : "Minuten zum Lesen"
share_on_label : "Teilen auf"
meta_label :
tags_label : "Tags:"
@@ -514,6 +526,7 @@ de: &DEFAULT_DE
loading_label : "Lade..."
search_label_text :
search_placeholder_text : "Suchbegriff eingeben..."
search_algolia_no_results :
results_found : "Ergebnis(se) gefunden"
de-DE:
<<: *DEFAULT_DE
@@ -574,6 +587,7 @@ ne: &DEFAULT_NE
comment_error_msg : "माफ गर्नुहोस्, तपाईंको टिप्पणी त्रुटि थियो।सबै आवश्यक जानकारीहरु पूरा गरिएको छ भने निश्चित गर्नुहोस् र फेरि प्रयास गर्नुहोस्।"
loading_label : "लोड हुँदैछ ..."
search_label_text :
search_algolia_no_results :
ne-NP:
<<: *DEFAULT_NE
@@ -624,6 +638,7 @@ ko: &DEFAULT_KO
loading_label : "로딩중..."
search_label_text :
search_placeholder_text : "검색어를 입력하세요..."
search_algolia_no_results :
results_found : "개 결과 발견"
back_to_top : "맨 위로 이동"
ko-KR:
@@ -676,6 +691,7 @@ ru: &DEFAULT_RU
loading_label : "Отправка..."
search_label_text :
search_placeholder_text : "Введите поисковый запрос..."
search_algolia_no_results :
results_found : "Найдено"
ru-RU:
<<: *DEFAULT_RU
@@ -726,6 +742,7 @@ lt: &DEFAULT_LT
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ą."
loading_label : "Kraunama..."
search_label_text :
search_algolia_no_results :
lt-LT:
<<: *DEFAULT_LT
@@ -776,6 +793,7 @@ gr: &DEFAULT_GR
loading_label : "Φόρτωση..."
search_label_text :
search_placeholder_text : "Εισάγετε όρο αναζήτησης..."
search_algolia_no_results :
results_found : "Αποτελέσματα"
gr-GR:
<<: *DEFAULT_GR
@@ -827,6 +845,7 @@ sv: &DEFAULT_SV
loading_label : "Laddar..."
search_label_text :
search_placeholder_text : "Fyll i sökterm..."
search_algolia_no_results :
results_found : "Resultat funna"
back_to_top : "Tillbaka till toppen"
sv-SE:
@@ -879,7 +898,11 @@ nl: &DEFAULT_NL
comment_success_msg : "Bedankt voor uw reactie! Het zal op de site worden weergegeven zodra het is goedgekeurd."
comment_error_msg : "Sorry, er is een fout opgetreden bij uw inzending. Zorg ervoor dat alle vereiste velden zijn voltooid en probeer het opnieuw."
loading_label : "Laden..."
search_label_text :
search_label_text : "Geef uw zoekterm in..."
search_placeholder_text : "Geef uw zoekterm in..."
search_algolia_no_results :
results_found : "Resultaat gevonden"
back_to_top : "Terug naar boven"
nl-BE:
<<: *DEFAULT_NL
nl-NL:
@@ -889,81 +912,85 @@ nl-NL:
# ----------
id: &DEFAULT_ID
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_primary_nav : "Loncat ke navigasi"
skip_content : "Loncat ke konten"
skip_footer : "Loncat ke footer"
page : "Halaman"
pagination_previous : "Kembali"
pagination_next : "Maju"
breadcrumb_home_label : "Home"
pagination_previous : "Sebelumnya"
pagination_next : "Selanjutnya"
breadcrumb_home_label : "Beranda"
breadcrumb_separator : "/"
menu_label : "Menu Toggle"
search_label :
menu_label : "Menu"
search_label : "Pencarian"
toc_label : "Pada Halaman Ini"
ext_link_label : "Link langsung"
less_than : "Kurang dari"
minute_read : "Waktu baca"
share_on_label : "Berbagi di"
minute_read : "menit baca"
share_on_label : "Bagikan di"
meta_label :
tags_label : "Golongan:"
tags_label : "Label:"
categories_label : "Kategori:"
date_label : "Diupdate:"
comments_label : "Tinggalkan komentar"
comments_title : "Komentar"
more_label : "Pelajari lagi"
related_label : "Anda juga akan suka"
related_label : "Anda mungkin suka"
follow_label : "Ikuti:"
feed_label : "Feed"
powered_by : "Didukung oleh"
website_label : "Website"
email_label : "Email"
recent_posts : "Posting terbaru"
recent_posts : "Post terbaru"
undefined_wpm : "Parameter terdeskripsi words_per_minute di _config.yml"
comment_form_info : "Email Anda tidak akan dipublish. Kolom yang diperlukan ditandai"
comment_form_info : "Email Anda tidak akan dipublish. Kolom yang diperlukan ditandai dengan tanda "
comment_form_comment_label : "Komentar"
comment_form_md_info : "Markdown disupport."
comment_form_md_info : "Markdown didukung."
comment_form_name_label : "Nama"
comment_form_email_label : "Alamat email"
comment_form_website_label : "Website (opsional)"
comment_btn_submit : "Submit Komentar"
comment_btn_submitted : "Telah disubmit"
comment_success_msg : "Terimakasih atas komentar Anda! Komentar ini akan tampil setelah disetujui."
comment_error_msg : "Maaf, ada kesalahan pada submisi Anda. Pastikan seluruh kolom sudah dilengkapi dan coba kembali."
loading_label : "Sedang meload..."
search_label_text :
comment_btn_submit : "Kirim Komentar"
comment_btn_submitted : "Telah dikirim"
comment_success_msg : "Terimakasih atas komentar Anda! Komentar akan tampil setelah disetujui."
comment_error_msg : "Maaf, ada kesalahan pada komentar Anda. Pastikan seluruh kolom sudah dilengkapi dan coba kembali."
loading_label : "Sedang memuat..."
search_label_text : "Masukkan kata kunci pencarian..."
search_placeholder_text : "Masukkan kata kunci pencarian..."
search_algolia_no_results : "Tidak ada hasil"
results_found : "Hasil pencarian ditemukan"
back_to_top : "Kembali ke awal"
id-ID:
<<: *DEFAULT_ID
# Vietnamese
# ----------
vi: &DEFAULT_VI
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_links : "Đường dẫn tắt"
skip_primary_nav : "Nhảy tới thanh điều hướng"
skip_content : "Nhảy tới nội dung"
skip_footer : "Nhảy tới chân trang"
page : "Trang"
pagination_previous : "Trước"
pagination_next : "Sau"
pagination_next : "Kế tiếp"
breadcrumb_home_label : "Trang chủ"
breadcrumb_separator : "/"
menu_label : "Menu"
search_label :
toc_label : "Tại trang này"
search_label : "Tìm kiếm"
toc_label : "Mục lục"
ext_link_label : "Đường dẫn trực tiếp"
less_than : "nhỏ hơn"
minute_read : "phút đọc"
less_than : "chỉ cần"
minute_read : "phút để đọc"
share_on_label : "Chia sẻ tại"
meta_label :
tags_label : "Nhãn:"
categories_label : "Chủ đề:"
date_label : "Cập nhật:"
tags_label : "Thẻ:"
categories_label : "Danh mục:"
date_label : "Ngày cập nhật:"
comments_label : "Để lại bình luận"
comments_title : "Bình luận"
more_label : "Mở rộng"
related_label : "Có thể bạn cũng thích"
follow_label : "Theo dõi:"
feed_label : "Feed"
powered_by : "Được hỗ trợ bởi"
powered_by : "Xây dựng trên nền tảng"
website_label : "Website"
email_label : "Email"
recent_posts : "Bài viết mới"
@@ -979,8 +1006,9 @@ vi: &DEFAULT_VI
comment_success_msg : "Cảm ơn bạn đã bình luận! Bình luận sẽ xuất hiện sau khi được duyệt."
comment_error_msg : "Rất tiếc, có lỗi trong việc gửi bình luận. Hãy đảm bảo toàn bộ các phần bắt buộc đã được điền đầy đủ và thử lại."
loading_label : "Đang tải..."
search_label_text :
search_label_text : "Nhập từ khóa cần tìm..."
search_placeholder_text : "Nhập từ khóa cần tìm..."
search_algolia_no_results : "Không tìm thấy kết quả nào"
results_found : "Kết quả tìm được"
back_to_top : "Lên đầu trang"
vi-VN:
@@ -990,16 +1018,16 @@ vi-VN:
# ------
da: &DEFAULT_DA
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_primary_nav : "Gå til hovedmenuen"
skip_content : "Gå til indholdet"
skip_footer : "Gå til sidefoden"
page : "Side"
pagination_previous : "Forrige"
pagination_next : "Næste"
breadcrumb_home_label : "Home"
breadcrumb_home_label : "Forside"
breadcrumb_separator : "/"
menu_label : "Vis/skjul menu"
search_label :
search_label : "Søgning til/fra"
toc_label : "På denne side"
ext_link_label : "Direkte link"
less_than : "mindre end"
@@ -1031,8 +1059,9 @@ da: &DEFAULT_DA
comment_success_msg : "Tak for din kommentar! Den bliver vist på siden, så snart den er godkendt."
comment_error_msg : "Desværre skete der en fejl. Prøv igen, mens du sørger for at alle obligatoriske felter er udfyldt."
loading_label : "Indlæser..."
search_label_text :
search_label_text : "Hvad leder du efter..."
search_placeholder_text : "Hvad leder du efter..."
search_algolia_no_results : "Ingen resultater"
results_found : "Resultat(er) fundet"
back_to_top : "Tilbage til toppen"
da-DK:
@@ -1083,7 +1112,11 @@ pl: &DEFAULT_PL
comment_success_msg : "Dziękuję za Twój komentarz! Zostanie dodany po akceptacji."
comment_error_msg : "Niestety wystąpił błąd. Proszę upewnij się, że wszystkie wymagane pola zostały wypełnione i spróbuj ponownie."
loading_label : "Trwa ładowanie strony..."
search_label_text :
search_label_text : "Wprowadź kryteria wyszukiwania..."
search_placeholder_text : "Wprowadź kryteria wyszukiwania..."
search_algolia_no_results : "Brak wyników"
results_found : "Znalezione wyniki"
back_to_top : "Wróć na górę"
pl-PL:
<<: *DEFAULT_PL
@@ -1134,6 +1167,7 @@ ja: &DEFAULT_JA
loading_label : "読み込み中..."
search_label_text :
search_placeholder_text : "検索キーワードを入力してください..."
search_algolia_no_results :
results_found : "件"
ja-JP:
<<: *DEFAULT_JA
@@ -1185,6 +1219,7 @@ sk: &DEFAULT_SK
loading_label : "Načítava sa..."
search_label_text :
search_placeholder_text : "Zadaj hľadaný výraz..."
search_algolia_no_results :
results_found : "Nájdených výsledkov"
back_to_top : "Na začiatok stránky"
sk-SK:
@@ -1237,6 +1272,7 @@ hu: &DEFAULT_HU
loading_label : "Betöltés..."
search_label_text :
search_placeholder_text : "Keresendő szöveg..."
search_algolia_no_results :
results_found : "Találatok:"
back_to_top : "Oldal tetejére"
hu-HU:
@@ -1289,6 +1325,7 @@ ro: &DEFAULT_RO
loading_label : "Se încarcă..."
search_label_text :
search_placeholder_text : "Caută ceva..."
search_algolia_no_results :
results_found : "Rezultate găsite"
back_to_top : "Înapoi în susul paginii"
ro-RO:
@@ -1341,6 +1378,7 @@ pa: &DEFAULT_PA
loading_label : "ਲੋਡ ਹੋ ਰਿਹਾ ਹੈ..."
search_label_text : "ਖੋਜ"
search_placeholder_text : "ਆਪਣੀ ਖੋਜ ਦੇ ਸ਼ਬਦ ਨੂੰ ਦਰਜ ਕਰੋ..."
search_algolia_no_results :
results_found : "ਨਤੀਜਾ ਮਿਲਿਆ/ਮਿਲੇ"
back_to_top : "ਵਾਪਸ ਚੋਟੀ 'ਤੇ ਜਾਓ"
pa-IN:
@@ -1392,6 +1430,7 @@ fa: &DEFAULT_FA
loading_label : "...بارگذاری"
search_label_text :
search_placeholder_text : "...عبارت جستجوی خود را وارد کنید"
search_algolia_no_results :
results_found : "نتایج"
back_to_top : "بازگشت به بالا"
fa-IR:
@@ -1445,6 +1484,7 @@ ml: &DEFAULT_ML
loading_label : "ലോഡിംഗ്..."
search_label_text :
search_placeholder_text : "നിങ്ങളുടെ തിരയൽ പദം നൽകുക..."
search_algolia_no_results :
results_found : "ഫലം (കൾ) കണ്ടെത്തി"
back_to_top : "മുകളിലേയ്ക്ക്"
ml-IN:
@@ -1497,6 +1537,7 @@ th: &DEFAULT_TH
loading_label : "กำลังโหลด..."
search_label_text :
search_placeholder_text : "ใส่คำค้นหาของคุณ..."
search_algolia_no_results :
results_found : "ผลการค้นหา พบ"
back_to_top : "กลับด้านบน"
th-TH:
@@ -1548,11 +1589,12 @@ hi: &DEFAULT_HI
loading_label : "लोड हो रहा है..."
search_label_text : "खोज"
search_placeholder_text : "अपना खोज शब्द दर्ज करें..."
search_algolia_no_results :
results_found : "परिणाम मिला/मिले"
back_to_top : "शीर्ष पर वापस"
hi-IN:
<<: *DEFAULT_HI
# Catalan
# --------------
ca: &DEFAULT_CA
@@ -1600,11 +1642,438 @@ ca: &DEFAULT_CA
loading_label : "Carregant..."
search_label_text : "Introdueix termes per cercar..."
search_placeholder_text : "Introdueix termes per cercar..."
search_algolia_no_results :
results_found : "resultat(s)"
back_to_top : "Torna a dalt"
ca-ES:
<<: *DEFAULT_CA
# Irish (Gaeilge)
# --------------
ga: &DEFAULT_GA
skip_links : "Léim naisc"
skip_primary_nav : "Léim chuig príomh naiscleanúint"
skip_content : "Léim chuig inneachar"
skip_footer : "Léim chuig buntásc"
page : "Leathanach"
pagination_previous : "Leathanach roimhe sin"
pagination_next : "Céad leathanach eile"
breadcrumb_home_label : "Baile"
breadcrumb_separator : "/"
menu_label : "Scorán roghchlár"
search_label : "Scorán cuardach"
toc_label : "Ar an leathanach seo"
ext_link_label : "Nasc díreach"
less_than : "níos lú na"
minute_read : "a léamh"
share_on_label : "Roinn ar"
meta_label :
tags_label : "Clibeanna:"
categories_label : "Catagoírí:"
date_label : "Nuashonraíodh:"
comments_label : "Fág trácht"
comments_title : "Tráchtanna"
more_label : "Foghlaim níos mó"
follow_label : "Lean:"
feed_label : "Feed"
powered_by : "Ag fáil cumhacht as"
website_label : "Suíomh gréasáin"
email_label : "R-phost"
recent_posts : "Postálacha le deanaí"
comment_form_comment_label : "Trácht"
comment_form_name_label : "Ainm"
comment_form_email_label : "Ríomhsheoladh"
comment_form_website_label : "Suíomh gréasáin (roghnach)"
comment_btn_submit : "Cuir isteach trácht"
comment_btn_submitted : "Curtha isteach"
loading_label : "Lódáil..."
search_label_text : "Cuir do chuardach isteach..."
search_placeholder_text : "Cuir do chuardach isteach..."
search_algolia_no_results :
results_found : "Torthaí aimsithe"
back_to_top : "Ar ais go barr"
ga-IE:
<<: *DEFAULT_GA
# Finnish / Suomi
# -----------------
fi: &DEFAULT_FI
skip_links : "Ohita linkit"
skip_primary_nav : "Siirry päävalikkoon"
skip_content : "Siirry sisältöön"
skip_footer : "Siirry alareunaan"
page : "Sivu"
pagination_previous : "Edellinen"
pagination_next : "Seuraava"
breadcrumb_home_label : "Etusivu"
breadcrumb_separator : "/"
menu_label : "Avaa valikko"
search_label : "Avaa haku"
toc_label : "Tällä sivulla"
ext_link_label : "Suora linkki"
less_than : "vähemmän kuin"
minute_read : "minuuttia luettavaa"
share_on_label : "Jaa"
meta_label :
tags_label : "Tunnisteet:"
categories_label : "Kategoriat:"
date_label : "Päivitetty:"
comments_label : "Jätä kommentti"
comments_title : "Kommentit"
more_label : "Lisää"
related_label : "Saatat olla kiinnostunut myös"
follow_label : "Seuraa:"
feed_label : "Syöte"
powered_by : "Käyttäen"
website_label : "Kotisivu"
email_label : "Sähköposti"
recent_posts : "Viimeisimmät kirjoitukset"
undefined_wpm : "words_per_minute asetusta ei ole määritelty _config.yml tiedostossa"
comment_form_info : "Sinun sähköpostiosoitetta ei julkaista. Vaaditut kentät ovat merkittyjä"
comment_form_comment_label : "Kommentti"
comment_form_md_info : "Tukee markdown muotoilua."
comment_form_name_label : "Nimi"
comment_form_email_label : "Sähköpostiosoite"
comment_form_website_label : "Nettisivu (vapaaehtoinen)"
comment_btn_submit : "Lähetä"
comment_btn_submitted : "Lähetetty"
comment_success_msg : "Kiitos kommentista, se julkaistaan tällä sivulla tarkastelun jälkeen."
comment_error_msg : "Tapahtui virhe. Tarkista, että olet täyttänyt kaikki kentät ja yritä uudelleen."
loading_label : "Ladataan..."
search_label_text : "Hakusana..."
search_placeholder_text : "Hakusana..."
search_algolia_no_results : "Ei hakutuloksia"
results_found : "Tulosta"
back_to_top : "Siirry ylös"
# Myanmar (Burmese)
# -----------------
my: &DEFAULT_MY
skip_links : "လင့်များကို​ကျော်ပါ။"
skip_primary_nav : "မူလအညွှန်းသို့​ကျော်ပါ။"
skip_content : "အကြောင်းအရာသို့ကျော်ပါ။"
skip_footer : "အောက်ခြေသို့ကျော်ပါ။"
page : "စာမျက်နှာ"
pagination_previous : "ရှေ့တစ်ခု"
pagination_next : "နောက်တစ်ခု"
breadcrumb_home_label : "ပင်မစာမျက်နှာ"
breadcrumb_separator : "/"
menu_label : "မီနူး ဖွင့်၊ပိတ်"
search_label : "ရှာ​ဖွေရန် ဖွင့်၊ပိတ်"
toc_label : "ဒီစာမျက်နှာတွင်"
ext_link_label : "တိုက်ရိုက်လင့်"
less_than : "ဖတ်ရန်ကြာချိန်"
minute_read : "မိနစ်"
share_on_label : "မျှဝေပါ။"
meta_label :
tags_label : "အမှတ်အသားများ -"
categories_label : "အမျိုးအစားများ -"
date_label : "ပြင်ဆင်ပြီး -"
comments_label : "မှတ်ချက်တစ်ခုချန်ထားပါ။"
comments_title : "မှတ်ချက်များ"
more_label : "ပိုမိုသိရှိရန်"
related_label : "သင်နှစ်သက်နိုင်​သော"
follow_label : "သတင်းလိုက်ယူရန် -"
feed_label : "Feed ယူရန် -"
powered_by : "ပံ့ပိုးသည်"
website_label : "ဝဘ်ဆိုက်"
email_label : "အီးမေးလ်"
recent_posts : "လတ်တလောရေးသားချက်များ"
undefined_wpm : "_config.yml မှာ words_per_minute ကိုမသတ်မှတ်ထားပါ။"
comment_form_info : "သင့်အီးမေးလ်လိပ်စာကို​ဖော်ပြသွားမည်မဟုတ်ပါ။ လိုအပ်သောဖြည့်စွက်ရန်​နေရာများကို အမှတ်အသားပြထားပါသည်။"
comment_form_comment_label : "မှတ်ချက်"
comment_form_md_info : "Markdown ကိုထောက်ပံ့သည်။"
comment_form_name_label : "နာမည်"
comment_form_email_label : "အီးမေးလိပ်စာ"
comment_form_website_label : "ဝဘ်ဆိုက် (မဖြည့်စွက်လည်းရသည်)"
comment_btn_submit : "မှတ်ချက်တင်ပါ"
comment_btn_submitted : "တင်သွင်းလိုက်သည်"
comment_success_msg : "မှတ်ချက်ပေးတဲ့အတွက်ကျေးဇူးတင်ပါတယ်။ ၎င်းကိုအတည်ပြုပြီးသည့်အခါ ဝဘ်ဆိုက်ပေါ်တွင်ပြလိမ့်မည်။"
comment_error_msg : "တောင်းပန်ပါတယ်။ သင့်တင်သွင်းမှုတွင်အမှားတစ်ခုရှိခဲ့သည်။ ကျေးဇူးပြုပြီးလိုအပ်သောဖြည့်စွက်ရန်​နေရာအားလုံးဖြည့်ပြီးပါကထပ်မံကြိုးစားပါ။"
loading_label : "တင်နေသည်..."
search_label_text : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
search_placeholder_text : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
search_algolia_no_results :
results_found : "ရလဒ်(များ)ကိုတွေ့ရှိခဲ့သည်"
back_to_top : "အပေါ်သို့ပြန်သွား"
my-MM:
<<: *DEFAULT_MY
# Norwegian
# -------
no: &DEFAULT_NO
skip_links : "Hopp over lenker"
skip_primary_nav : "Gå til primærnavigasjon"
skip_content : "Gå til innhold"
skip_footer : "Gå til fotnote"
page : "Side"
pagination_previous : "Forrige"
pagination_next : "Neste"
breadcrumb_home_label : "Hjem"
breadcrumb_separator : "/"
menu_label : "Vis/skjul meny"
search_label : "Vis/skjul søk"
toc_label : "På denne siden"
ext_link_label : "Direkte lenke"
less_than : "mindre enn"
minute_read : "minutters lesing"
share_on_label : "Del på"
meta_label :
tags_label : "Nøkkelord:"
categories_label : "Kategorier:"
date_label : "Oppdatert:"
comments_label : "Skriv en kommentar"
comments_title : "Kommentarer"
more_label : "Lær mer"
related_label : "Du vil kanskje også lese:"
follow_label : "Følg:"
feed_label : "Feed"
powered_by : "Lagd med"
website_label : "Nettside"
email_label : "E-post"
recent_posts : "Nyeste innlegg"
undefined_wpm : "Parameteret words_per_minute er ikke definert i _config.yml"
comment_form_info : "Din e-postadresse vil ikke bli publisert. Obligatoriske felt er markert"
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown er støttet"
comment_form_name_label : "Navn"
comment_form_email_label : "E-postadresse"
comment_form_website_label : "Nettside (frivillig)"
comment_btn_submit : "Send kommentar"
comment_btn_submitted : "Sendt"
comment_success_msg : "Takk for din kommentar! Den blir vist på siden så fort den er godkjent"
comment_error_msg : "Beklager, noe gikk galt. Sjekk at alle obligatoriska felt er utfylt og prøv igjen"
loading_label : "Laster..."
search_label_text : "Skriv inn søkeord"
search_placeholder_text : "Skriv inn søkeord"
search_algolia_no_results : "Ingen treff"
results_found : "Treff funnet"
back_to_top : "Tillbake til toppen"
no-NB:
<<: *DEFAULT_NO
no-NN:
<<: *DEFAULT_NO
# Hebrew
# -------
he: &DEFAULT_HE
skip_links : "דלגו על קישור"
skip_primary_nav : "דלגו לראשי"
skip_content : "דלגו לתוכן"
skip_footer : "דלגו לתחתית"
page : "דף"
pagination_previous : "קודם"
pagination_next : "הבא"
breadcrumb_home_label : "בית"
breadcrumb_separator : "/"
menu_label : "סגירה/פתיחה של תפריט"
search_label : "סגירה/פתיחה של חיפוש"
toc_label : "בדף זה"
ext_link_label : "קישור ישיר"
less_than : "פחות מ"
minute_read : "דקת קריאה"
share_on_label : "שתפו ב"
meta_label :
tags_label : "תגיות:"
categories_label : "קטגוריות:"
date_label : "מעודכן:"
comments_label : "השאירו הערה"
comments_title : "הערות"
more_label : "קראו עוד"
related_label : "אולי יעניין אותך גם"
follow_label : "עקבו אחרי"
feed_label : "פיד"
powered_by : "Powered by"
website_label : "אתר"
email_label : "אימייל"
recent_posts : "פוסטים אחרונים"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "האימייל שלך נשמר חסוי. שדות חובה מסומנים"
comment_form_comment_label : "הערה"
comment_form_md_info : "Markdown is supported."
comment_form_name_label : "שם"
comment_form_email_label : "כתובת אימייל"
comment_form_website_label : "אתר (אפשרות)"
comment_btn_submit : "שלחו הערה"
comment_btn_submitted : "נשלח"
comment_success_msg : "תודה על ההערה שלך! היא תופיע באתר ברגע שתאושר."
comment_error_msg : "סליחה, קרתה תקלה בשליחה. אנא וודאו שכל השדות מלאים ונסו שנית."
loading_label : "טוען..."
search_label_text : "מילות חיפוש..."
search_placeholder_text : "מילות חיפוש..."
search_algolia_no_results : "אין תוצאות"
results_found : "תוצאות נמצאו"
back_to_top : "חזרה להתחלה"
he-IL:
<<: *DEFAULT_HE
# Arabic (عربي)
# --------------
ar: &DEFAULT_AR
skip_links : "تخطي الروابط"
skip_primary_nav : "تخطى الى شريط التنقل"
skip_content : "الانتقال الى المحتوى"
skip_footer : "الانتقال الى ذيل الصفحة"
page : "صفحه"
pagination_previous : "قبل"
pagination_next : "بعد"
breadcrumb_home_label : "الرئيس"
breadcrumb_separator : "/"
menu_label : "الخيارات"
search_label : "البحث"
toc_label : "على هذه الصفحة"
ext_link_label : "رابط مباشر"
less_than : "اقل من"
minute_read : "دقيقة قرائية"
share_on_label : "مشاركة"
meta_label :
tags_label : "العلامات الوصفية:"
categories_label : "الفئات:"
date_label : "تم التحديث:"
comments_label : "اترك تعليق"
comments_title : "التعليقات"
more_label : "اقرأ المزيد"
related_label : "قد يعجبك أيضا"
follow_label : "تابع:"
feed_label : "الاخبار - RSS"
powered_by : "تم تطوير بواسطة"
website_label : "موقع"
email_label : "ايميل"
recent_posts : "المشاركات الأخيرة"
undefined_wpm : "معامل غير معرف في words_per_minute (كلمة في الدقيقة) في ملف _config.yml"
comment_form_info : "لن يتم نشر عنوان بريدك الإلكتروني. الحقول المطلوبة إلزامية"
comment_form_comment_label : "تعليق"
comment_form_md_info : "لغة ال Markdown مدعومة."
comment_form_name_label : "الاسم"
comment_form_email_label : "البريد الالكتروني"
comment_form_website_label : "الموقع (اختياري)"
comment_btn_submit : "أضف تعليق"
comment_btn_submitted : "تم الإرسال"
comment_success_msg : "شكراً على التعليق! سيتم اظهاره عندما يتم موافقة عليه."
comment_error_msg : "للأسف, هناك خطأ في المحاولة. الرجاء الحرص على تعبئة جميع الخانات و محاولة مجدداً."
loading_label : "جاري التحميل..."
search_label_text : "اكتب مصطلح للبحث..."
search_placeholder_text : "اكتب مصطلح للبحث..."
search_algolia_no_results : "لا توجد نتائج"
results_found : "تم إيجاد نتيجة"
back_to_top : "الانتقال الى الأعلى"
ar-SD:
<<: *DEFAULT_AR
ar-SA:
<<: *DEFAULT_AR
ar-AE:
<<: *DEFAULT_AR
ar-EG:
<<: *DEFAULT_AR
# Kiswahili
# -----------------
sw: &DEFAULT_SW
skip_links : "Ruka viungo"
skip_primary_nav : "Ruka orodha kuu"
skip_content : "Ruka maandiko maakuu"
skip_footer : "Ruka chini"
page : "Ukurasa"
pagination_previous : "Rudi"
pagination_next : "Endelea"
breadcrumb_home_label : "Ukurasa wa kwanza"
breadcrumb_separator : "/"
menu_label : "Wezesha/Zima orodha"
search_label : "Wezesha/Zima kutafuta"
toc_label : "Kwa ukurasa huu"
ext_link_label : "Kiungo mbio"
less_than : "Soma kwa dakikia ndogo kuliko"
minute_read : "Soma kwa dakika"
share_on_label : "Tangaza"
meta_label :
tags_label : "Alama:"
categories_label : "Aina:"
date_label : "Geuzi ya mwisho:"
comments_label : "Wacha maoni"
comments_title : "Maoni"
more_label : "Jifunze zaidi"
related_label : "Pia, utapenda"
follow_label : "Fuata:"
feed_label : "Feed"
powered_by : "Inatumia"
website_label : "Tovuti"
email_label : "Barua pepe"
recent_posts : "Makala juzi"
undefined_wpm : "Ingizo words_per_minute kwa _config.yml haijawekwa"
comment_form_info : "Barua pepe yako haitaonekana. Kuna alama kwa ingizo tunahitaji."
comment_form_comment_label : "Maoni"
comment_form_md_info : "Unaweza kutumia `Markdown`."
comment_form_name_label : "Jina"
comment_form_email_label : "Barua pepe"
comment_form_website_label : "Tovuti (hiari)"
comment_btn_submit : "Tuma maoni"
comment_btn_submitted : "Umetuma"
comment_success_msg : "Asante kwa maoni yako! Itaonekana ikiridhiwa."
comment_error_msg : "Pole, kuna makosa kwa ingizo yako. Tafadhali angalia umeandika kwa ingizo zote zinahitaji, na jaribu tena."
loading_label : "Inapakiwa..."
search_label_text : "Ingiza neno unatafuta..."
search_placeholder_text : "Ingiza neno unatafuta..."
search_algolia_no_results : "Hakuna matokeo"
results_found : "Tumepata"
back_to_top : "Rudi juu"
sw-KE:
<<: *DEFAULT_SW
sw-TZ:
<<: *DEFAULT_SW
# Ukrainian / Українська
# -----------------
uk: &DEFAULT_UK
skip_links : "Посилання для переходу"
skip_primary_nav : "Перейти до основної навігації"
skip_content : "Перейти до змісту"
skip_footer : "Перейти до нижнього колонтитула"
page : "Сторінка"
pagination_previous : "Попередня"
pagination_next : "Наступна"
breadcrumb_home_label : "Головна"
breadcrumb_separator : "/"
menu_label : "Випадаюче меню"
search_label : "Пошук"
toc_label : "Зміст"
ext_link_label : "Пряме посилання"
less_than : "менше ніж"
minute_read : "хв. на чітання"
share_on_label : "Поділитися"
meta_label :
tags_label : "Мітки:"
categories_label : "Розділи:"
date_label : "Дата зміни:"
comments_label : "Залишити коментар"
comments_title : "Коментарі"
more_label : "Читати далі"
related_label : "Вам також може сподобатись"
follow_label : "Зв'язатися зі мною:"
feed_label : "RSS-стрічка"
powered_by : "Сайт працює на"
website_label : "Сайт"
email_label : "Электронна пошта"
recent_posts : "Останні записи"
undefined_wpm : "Не визначено параметр words_per_minute в _config.yml"
comment_form_info : "Вашу адресу електронної пошти не буде опубліковано. Обов'язкові поля позначені"
comment_form_comment_label : "Коментар"
comment_form_md_info : "Підтримується синтаксис Markdown."
comment_form_name_label : "Ім'я"
comment_form_email_label : "Електронна пошта"
comment_form_website_label : "Посилання на сайт (необов'язково)"
comment_btn_submit : "Залишити коментар"
comment_btn_submitted : "Відправлено"
comment_success_msg : "Дякую за Ваш коментар! Його буде опубліковано на сайті після перевірки."
comment_error_msg : "На жаль, сталася помилка з надсиланням коментаря. Будь ласка, переконайтеся, що всі обов'язкові поля заповнені та спробуйте знову."
loading_label : "Відправка..."
search_label_text : "Введіть пошуковий запит..."
search_placeholder_text : "Введіть пошуковий запит..."
search_algolia_no_results :
results_found : "Знайдено"
uk-UA:
<<: *DEFAULT_UK
# Another locale
# --------------
#
View File
+4 -12
View File
@@ -10,29 +10,21 @@
{% assign title = post.title %}
{% endif %}
<div class="{{ include.type | default: "list" }}__item">
<div class="{{ include.type | default: 'list' }}__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | relative_url }}"
{% endif %}
alt="">
<img src="{{ teaser | relative_url }}" alt="">
</div>
{% endif %}
<h2 class="archive__item-title" itemprop="headline">
<h2 class="archive__item-title no_toc" itemprop="headline">
{% if post.link %}
<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>
{% else %}
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
{% endif %}
</h2>
{% if post.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% include page__meta.html type=include.type %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
+61 -78
View File
@@ -1,39 +1,22 @@
{% assign author = page.author | default: page.authors[0] | default: site.author %}
{% assign author = site.data.authors[author] | default: author %}
<div itemscope itemtype="https://schema.org/Person">
<div itemscope itemtype="https://schema.org/Person" class="h-card">
{% if author.avatar %}
<div class="author__avatar">
{% if author.avatar contains "://" %}
{% assign author_src = author.avatar %}
{% else %}
{% assign author_src = author.avatar | relative_url %}
{% endif %}
{% if author.home %}
{% if author.home contains "://" %}
{% assign author_link = author.home %}
{% else %}
{% assign author_link = author.home | relative_url %}
{% endif %}
<a href="{{ author_link }}">
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
</a>
{% else %}
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
{% endif %}
<a href="{{ author.home | default: '/' | absolute_url }}">
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image" class="u-photo">
</a>
</div>
{% endif %}
<div class="author__content">
{% if author.home %}
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
{% else %}
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% endif %}
<h3 class="author__name p-name" itemprop="name">
<a class="u-url" rel="me" href="{{ author.home | default: '/' | absolute_url }}" itemprop="url">{{ author.name }}</a>
</h3>
{% if author.bio %}
<div class="author__bio" itemprop="description">
<div class="author__bio p-note" itemprop="description">
{{ author.bio | markdownify }}
</div>
{% endif %}
@@ -44,159 +27,159 @@
<ul class="author__urls social-icons">
{% if author.location %}
<li itemprop="homeLocation" itemscope itemtype="https://schema.org/Place">
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name" class="p-locality">{{ author.location }}</span>
</li>
{% endif %}
{% if author.links %}
{% for link in author.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
<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>
{% endif %}
{% endfor %}
{% endif %}
{% if author.uri %}
<li>
<a href="{{ author.uri }}" itemprop="url">
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
<a href="{{ author.uri }}" itemprop="url" rel="me">
<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>
</a>
</li>
{% endif %}
{% if author.email %}
<li>
<a href="mailto:{{ author.email }}">
<a href="mailto:{{ author.email }}" rel="me" class="u-email">
<meta itemprop="email" content="{{ author.email }}" />
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
<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>
</a>
</li>
{% endif %}
{% if author.keybase %}
<li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-keybase" aria-hidden="true"></i><span class="label">Keybase</span>
</a>
</li>
{% endif %}
{% if author.twitter %}
<li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
</a>
</li>
{% endif %}
{% if author.facebook %}
<li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
</a>
</li>
{% endif %}
{% if author.linkedin %}
<li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
</a>
</li>
{% endif %}
{% if author.xing %}
<li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
</a>
</li>
{% endif %}
{% if author.instagram %}
<li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
</a>
</li>
{% endif %}
{% if author.tumblr %}
<li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
</a>
</li>
{% endif %}
{% if author.bitbucket %}
<li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i><span class="label">Bitbucket</span>
</a>
</li>
{% endif %}
{% if author.github %}
<li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-github" aria-hidden="true"></i><span class="label">GitHub</span>
</a>
</li>
{% endif %}
{% if author.gitlab %}
<li>
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i><span class="label">GitLab</span>
</a>
</li>
{% endif %}
{% if author.stackoverflow %}
<li>
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i><span class="label">Stack Overflow</span>
</a>
</li>
{% endif %}
{% if author.lastfm %}
<li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
</a>
</li>
{% endif %}
{% if author.dribbble %}
<li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i><span class="label">Dribbble</span>
</a>
</li>
{% endif %}
{% if author.pinterest %}
<li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i><span class="label">Pinterest</span>
</a>
</li>
{% endif %}
{% if author.foursquare %}
<li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i><span class="label">Foursquare</span>
</a>
</li>
{% endif %}
{% if author.steam %}
<li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-steam" aria-hidden="true"></i><span class="label">Steam</span>
</a>
</li>
{% endif %}
@@ -204,14 +187,14 @@
{% if author.youtube %}
{% if author.youtube contains "://" %}
<li>
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
</a>
</li>
{% else author.youtube %}
{% elsif author.youtube %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
</a>
</li>
{% endif %}
@@ -219,40 +202,40 @@
{% if author.soundcloud %}
<li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i><span class="label">SoundCloud</span>
</a>
</li>
{% endif %}
{% if author.weibo %}
<li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i><span class="label">Weibo</span>
</a>
</li>
{% endif %}
{% if author.flickr %}
<li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i><span class="label">Flickr</span>
</a>
</li>
{% endif %}
{% if author.codepen %}
<li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i><span class="label">CodePen</span>
</a>
</li>
{% endif %}
{% if author.vine %}
<li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<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>
</a>
</li>
{% endif %}
View File
+3 -2
View File
@@ -19,7 +19,8 @@
{% for crumb in crumbs offset: 1 %}
{% if forloop.first %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
<a href="{{ '/' | relative_url }}" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
<meta itemprop="position" content="{{ i }}" />
</li>
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
@@ -29,7 +30,7 @@
{% else %}
{% assign i = i | plus: 1 %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | url_decode | replace: '-', ' ' | capitalize }}</span></a>
<meta itemprop="position" content="{{ i }}" />
</li>
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
-3
View File
@@ -1,3 +0,0 @@
<!--[if lt IE 9]>
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
<![endif]-->
+3 -10
View File
@@ -6,20 +6,13 @@
{% endcase %}
{% if site.category_archive.path %}
{% comment %}
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %}
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}|{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign category_hashes = page_categories | split: ',' | sort %}
{% assign categories_sorted = page.categories | sort_natural %}
<p class="page__taxonomy">
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
<span itemprop="keywords">
{% for hash in category_hashes %}
{% assign keyValue = hash | split: '|' %}
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% for category_word in categories_sorted %}
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %}
</span>
</p>
+1 -1
View File
@@ -13,7 +13,7 @@
<p class="comment__date">
{% if include.date %}
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %-d, %Y at %I:%M %p" }}</time>
{% if include.index %}</a>{% endif %}
{% endif %}
</p>
@@ -0,0 +1,3 @@
<!-- start custom comments scripts -->
<!-- end custom comments scripts -->
+3 -3
View File
@@ -1,10 +1,10 @@
{% if site.comments.disqus.shortname %}
<script>
var disqus_config = function () {
this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
this.page.url = "{{ page.url | absolute_url }}"; /* Replace PAGE_URL with your page's canonical URL variable */
this.page.identifier = "{{ page.id }}"; /* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
};
(function() { // DON'T EDIT BELOW THIS LINE
(function() { /* DON'T EDIT BELOW THIS LINE */
var d = document, s = d.createElement('script');
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
+34
View File
@@ -0,0 +1,34 @@
<script>
'use strict';
(function () {
var commentContainer = document.querySelector('#giscus-comments');
if (!commentContainer) {
return;
}
var script = document.createElement('script');
script.setAttribute('src', 'https://giscus.app/client.js');
script.setAttribute('data-repo', '{{ site.repository | downcase }}');
script.setAttribute('data-repo-id', '{{ site.comments.giscus.repo_id }}');
script.setAttribute('data-category', '{{ site.comments.giscus.category_name }}');
script.setAttribute('data-category-id', '{{ site.comments.giscus.category_id }}');
script.setAttribute('data-mapping', '{{ site.comments.giscus.discussion_term | default: "pathname" }}');
script.setAttribute('data-strict', '{{ site.comments.giscus.strict | default: 0 }}');
script.setAttribute('data-reactions-enabled', '{{ site.comments.giscus.reactions_enabled | default: 1 }}');
script.setAttribute('data-emit-metadata', '{{ site.comments.giscus.emit_metadata | default: 0 }}');
script.setAttribute('data-input-position', '{{ site.comments.giscus.input_position | default: "top" }}');
script.setAttribute('data-theme', '{{ site.comments.giscus.theme | default: "light" }}');
script.setAttribute('data-lang', '{{ site.comments.giscus.lang | default: "en" }}');
{% if site.comments.giscus.lazy %}
script.setAttribute('data-loading', 'lazy');
{% endif %}
script.setAttribute('crossorigin', 'anonymous');
script.setAttribute('async', '');
commentContainer.appendChild(script);
})();
</script>
+3 -1
View File
@@ -12,7 +12,9 @@
{% include /comments-providers/staticman_v2.html %}
{% when "utterances" %}
{% include /comments-providers/utterances.html %}
{% when "giscus" %}
{% include /comments-providers/giscus.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% include /comments-providers/custom_scripts.html %}
{% endcase %}
{% endif %}
@@ -1,4 +1,4 @@
{% if site.repository and site.staticman.branch %}
{% if site.repository and site.comments.staticman.branch %}
<script>
(function ($) {
$('#new_comment').submit(function () {
@@ -12,6 +12,7 @@
script.setAttribute('src', 'https://utteranc.es/client.js');
script.setAttribute('repo', '{{ site.repository }}');
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
{% if site.comments.utterances.label %}script.setAttribute('label', '{{ site.comments.utterances.label }}');{% endif %}
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
script.setAttribute('crossorigin', 'anonymous');
+36 -15
View File
@@ -12,19 +12,28 @@
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
{% when "staticman_v2" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
{% if site.repository and site.comments.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% assign comments = site.data.comments[page.slug] %}
<!-- In order to sort by date we must have an array of objects, not an array of arrays, so
create a new array of plain comment objects and then sort by the comment date. -->
{% assign commentObjects = '' | split: '' %}
{% for comment in comments %}
{% assign commentObject = comment[1] %}
{% assign commentObjects = commentObjects | push: commentObject %}
{% endfor %}
{% assign comments = commentObjects | sort: "date" %}
{% for comment in comments %}
{% assign email = comment[1].email %}
{% assign name = comment[1].name %}
{% assign url = comment[1].url %}
{% assign date = comment[1].date %}
{% assign message = comment[1].message %}
{% assign email = comment.email %}
{% assign name = comment.name %}
{% assign url = comment.url %}
{% assign date = comment.date %}
{% assign message = comment.message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %}
{% endif %}
@@ -35,7 +44,7 @@
<div class="page__comments-form">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.staticman.branch }}/comments">
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.comments.staticman.endpoint }}{{ site.repository }}/{{ site.comments.staticman.branch }}/comments">
<div class="form__spinner">
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
@@ -91,14 +100,23 @@
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% assign comments = site.data.comments[page.slug] %}
<!-- In order to sort by date we must have an array of objects, not an array of arrays, so
create a new array of plain comment objects and then sort by the comment date. -->
{% assign commentObjects = '' | split: '' %}
{% for comment in comments %}
{% assign commentObject = comment[1] %}
{% assign commentObjects = commentObjects | push: commentObject %}
{% endfor %}
{% assign comments = commentObjects | sort: "date" %}
{% for comment in comments %}
{% assign email = comment[1].email %}
{% assign name = comment[1].name %}
{% assign url = comment[1].url %}
{% assign date = comment[1].date %}
{% assign message = comment[1].message %}
{% assign email = comment.email %}
{% assign name = comment.name %}
{% assign url = comment.url %}
{% assign date = comment.date %}
{% assign message = comment.message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %}
{% endif %}
@@ -153,7 +171,10 @@
{% when "utterances" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="utterances-comments"></section>
{% when "giscus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="giscus-comments"></section>
{% when "custom" %}
<section id="custom-comments"></section>
{% include /comments-providers/custom.html %}
{% endcase %}
</div>
+6
View File
@@ -0,0 +1,6 @@
<!--
Minimal Mistakes Jekyll Theme 4.25.1 by Michael Rose
Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
+6
View File
@@ -0,0 +1,6 @@
/*!
* Minimal Mistakes Jekyll Theme 4.25.1 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
*/
+9 -13
View File
@@ -1,19 +1,15 @@
{% assign entries = site[include.collection] %}
{% if include.sort_by == 'title' %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | sort: 'title' | reverse %}
{% else %}
{% assign entries = entries | sort: 'title' %}
{% endif %}
{% elsif include.sort_by == 'date' %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | sort: 'date' | reverse %}
{% else %}
{% assign entries = entries | sort: 'date' %}
{% endif %}
{% if include.sort_by %}
{% assign entries = entries | sort: include.sort_by %}
{% endif %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | reverse %}
{% endif %}
{%- for post in entries -%}
{% include archive-single.html %}
{%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%}
+4 -16
View File
@@ -7,24 +7,12 @@
<div class="feature__wrapper">
{% for f in feature_row %}
{% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %}
{% else %}
{% capture f_url %}{{ f.url | relative_url }}{% endcapture %}
{% endif %}
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
<div class="archive__item">
{% if f.image_path %}
<div class="archive__item-teaser">
<img src=
{% if f.image_path contains "://" %}
"{{ f.image_path }}"
{% else %}
"{{ f.image_path | relative_url }}"
{% endif %}
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
<img src="{{ f.image_path | relative_url }}"
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
{% if f.image_caption %}
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %}
@@ -43,11 +31,11 @@
{% endif %}
{% if f.url %}
<p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
<p><a href="{{ f.url | relative_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
+6 -9
View File
@@ -1,12 +1,9 @@
<figure class="{{ include.class }}">
<img src=
{% if include.image_path contains "://" %}
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | relative_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<img src="{{ include.image_path | relative_url }}"
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{%- if include.caption -%}
<figcaption>
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
</figcaption>{% endif %}</figure>
</figcaption>
{%- endif -%}
</figure>
+4 -2
View File
@@ -12,8 +12,10 @@
{% endfor %}
{% endif %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
{% unless site.atom_feed.hide %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
{% endunless %}
</ul>
</div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
+7 -23
View File
@@ -19,33 +19,17 @@
<figure class="{{ gallery_layout }} {{ include.class }}">
{% for img in gallery %}
{% if img.url %}
<a href=
{% if img.url contains "://" %}
"{{ img.url }}"
{% else %}
"{{ img.url | relative_url }}"
{% endif %}
{% if img.title %}title="{{ img.title }}"{% endif %}
>
<img src=
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
<a href="{{ img.url | relative_url }}"
{% if img.title %}title="{{ img.title }}"{% endif %}>
<img src="{{ img.image_path | relative_url }}"
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a>
{% else %}
<img src=
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
<img src="{{ img.image_path | relative_url }}"
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %}
{% endfor %}
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
</figure>
+7 -23
View File
@@ -2,9 +2,11 @@
{% include seo.html %}
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
{% unless site.atom_feed.hide %}
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
{% endunless %}
<!-- https://t.co/dKP3o1e -->
{%- comment %} https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present {% endcomment -%}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
@@ -13,29 +15,11 @@
<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<!--[if IE]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
padding-right: 3em;
}
.greedy-nav button {
position: absolute;
top: 0;
right: 0;
height: 100%;
}
</style>
<![endif]-->
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css"></noscript>
{% if site.head_scripts %}
{% for script in site.head_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% endif %}
+4 -15
View File
@@ -1,15 +1,11 @@
{% if site.logo contains "://" %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% else %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% endif %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
<div class="masthead">
<div class="masthead__inner-wrap">
<div class="masthead__menu">
<nav id="site-nav" class="greedy-nav">
{% unless logo_path == empty %}
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
{% endunless %}
<a class="site-title" href="{{ '/' | relative_url }}">
{{ site.masthead_title | default: site.title }}
@@ -17,22 +13,15 @@
</a>
<ul class="visible-links">
{%- for link in site.data.navigation.main -%}
{%- if link.url contains '://' -%}
{%- assign url = link.url -%}
{%- else -%}
{%- assign url = link.url | relative_url -%}
{%- endif -%}
<li class="masthead__menu-item">
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
<a href="{{ link.url | relative_url }}"{% if link.description %} title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
</li>
{%- endfor -%}
</ul>
{% if site.search == true %}
<button class="search__toggle" type="button">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
</svg>
<i class="fas fa-search"></i>
</button>
{% endif %}
<button class="greedy-nav__toggle hidden" type="button">
+3 -24
View File
@@ -8,14 +8,7 @@
{% for nav in navigation %}
<li>
{% if nav.url %}
{% comment %} internal/external URL check {% endcomment %}
{% if nav.url contains "://" %}
{% assign nav_url = nav.url %}
{% else %}
{% assign nav_url = nav.url | relative_url %}
{% endif %}
<a href="{{ nav_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
<a href="{{ nav.url | relative_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% else %}
<span class="nav__sub-title">{{ nav.title }}</span>
{% endif %}
@@ -23,25 +16,11 @@
{% if nav.children != null %}
<ul>
{% for child in nav.children %}
{% comment %} internal/external URL check {% endcomment %}
{% if child.url contains "://" %}
{% assign child_url = child.url %}
{% else %}
{% assign child_url = child.url | relative_url %}
{% endif %}
{% comment %} set "active" class on current page {% endcomment %}
{% if child.url == page.url %}
{% assign active = "active" %}
{% else %}
{% assign active = "" %}
{% endif %}
<li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
<li><a href="{{ child.url | relative_url }}"{% if child.url == page.url %} class="active"{% endif %}>{{ child.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</nav>
</nav>
+6
View File
@@ -0,0 +1,6 @@
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
{% if page.last_modified_at %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time class="dt-published" datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: date_format }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time></p>
{% endif %}
+14 -31
View File
@@ -1,25 +1,13 @@
{% if page.header.image contains "://" %}
{% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %}
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
{% endif %}
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% if page.header.cta_url contains "://" %}
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
{% else %}
{% capture cta_path %}{{ page.header.cta_url | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
{% elsif page.header.overlay_image %}
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_filter contains "rgba" %}
{% if page.header.overlay_filter contains "gradient" %}
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
{% elsif page.header.overlay_filter contains "rgba" %}
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
{% capture overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}){% endcapture %}
{% elsif page.header.overlay_filter %}
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
{% capture overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}){% endcapture %}
{% endif %}
{% if page.header.image_description %}
@@ -31,7 +19,7 @@
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}{{ overlay_filter }}, {% endif %}url('{{ overlay_img_path }}');{% endif %}"
>
{% if page.header.overlay_color or page.header.overlay_image %}
<div class="wrapper">
@@ -42,29 +30,24 @@
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
{% endif %}
</h1>
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
{% if page.tagline %}
<p class="page__lead">{{ page.tagline | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% include page__meta.html %}
{% if page.header.cta_url %}
<p><a href="{{ cta_path }}" 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>
<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>
{% endif %}
{% if page.header.actions %}
<p>
{% for action in page.header.actions %}
{% if action.url contains "://" %}
{% assign url = action.url %}
{% else %}
{% assign url = action.url | relative_url %}
{% endif %}
<a href="{{ url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
<a href="{{ action.url | relative_url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
{% endfor %}
{% endif %}
</div>
{% else %}
<img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
<img src="{{ page.header.image | relative_url }}" alt="{{ image_description }}" class="page__hero-image">
{% endif %}
{% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
+2 -4
View File
@@ -1,4 +1,2 @@
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
{% include video id=video_id provider=video_provider %}
{% assign video = page.header.video %}
{% include video id=video.id provider=video.provider danmaku=video.danmaku %}
+31
View File
@@ -0,0 +1,31 @@
{% assign document = post | default: page %}
{% if document.read_time or document.show_date %}
<p class="page__meta">
{% if document.show_date and document.date %}
{% assign date = document.date %}
<span class="page__meta-date">
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
<time datetime="{{ date | date_to_xmlschema }}">{{ date | date: date_format }}</time>
</span>
{% endif %}
{% if document.read_time and document.show_date %}<span class="page__meta-sep"></span>{% endif %}
{% if document.read_time %}
{% assign words_per_minute = document.words_per_minute | default: site.words_per_minute | default: 200 %}
{% assign words = document.content | strip_html | number_of_words %}
<span class="page__meta-readtime">
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-clock" aria-hidden="true"></i>
{% if words < words_per_minute %}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words == words_per_minute %}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by: words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
</span>
{% endif %}
</p>
{% endif %}
+15
View File
@@ -0,0 +1,15 @@
<div class="page__related">
{% include before-related.html %}
<h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h2>
<div class="grid__wrapper">
{% assign count = 0 %}
{% assign limit = include.limit | default: 4 %}
{% for post in include.posts %}
{% if post.hidden %}{% continue %}{% endif %}
{% if post.id == page.id %}{% continue %}{% endif %}
{% if count >= limit %}{% break %}{% endif %}
{% assign count = count | plus: 1 %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
+2 -1
View File
@@ -1,6 +1,7 @@
{% if paginator.total_pages > 1 %}
<nav class="pagination">
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
{% assign paginate_path_last = site.paginate_path | split: '/' | last %}
{% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: paginate_path_last, '' | replace: '//', '/' | relative_url %}
<ul>
{% comment %} Link for previous page {% endcomment %}
{% if paginator.previous_page %}
+3 -1
View File
@@ -1,3 +1,5 @@
{%- for post in site.categories[include.taxonomy] -%}
{% include archive-single.html %}
{%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%}
+3 -1
View File
@@ -1,3 +1,5 @@
{%- for post in site.tags[include.taxonomy] -%}
{% include archive-single.html %}
{%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%}
-15
View File
@@ -1,15 +0,0 @@
{% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}
{% if post.read_time %}
{% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %}
{% assign words = page.content | strip_html | number_of_words %}
{% endif %}
{% if words < words_per_minute %}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words == words_per_minute %}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
+2 -13
View File
@@ -1,15 +1,9 @@
{% if site.footer_scripts %}
{% for script in site.footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% else %}
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
<script src="https://kit.fontawesome.com/4eee35f757.js"></script>
{% endif %}
{% if site.search == true or page.layout == "search" %}
@@ -29,11 +23,6 @@
{% if site.after_footer_scripts %}
{% for script in site.after_footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% endif %}
+75 -47
View File
@@ -1,54 +1,82 @@
<!-- Including InstantSearch.js library and styling -->
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css">
<script>
// Instanciating InstantSearch.js with Algolia credentials
const search = instantsearch({
appId: '{{ site.algolia.application_id }}',
apiKey: '{{ site.algolia.search_only_api_key }}',
indexName: '{{ site.algolia.index_name }}',
searchParameters: {
restrictSearchableAttributes: [
'title',
'content'
]
}
});
// Including InstantSearch.js library and styling
const loadSearch = function() {
const loadCSS = function(src) {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = src;
link.media = 'all';
document.head.appendChild(link);
};
const hitTemplate = function(hit) {
const url = hit.url;
const title = hit._highlightResult.title.value;
const content = hit._highlightResult.html.value;
var script = document.createElement('script');
script.setAttribute("type", "text/javascript");
script.setAttribute("src", "https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js");
script.addEventListener("load", function() {
// Instantiating InstantSearch.js with Algolia credentials
const search = instantsearch({
appId: '{{ site.algolia.application_id }}',
apiKey: '{{ site.algolia.search_only_api_key }}',
indexName: '{{ site.algolia.index_name }}',
searchParameters: {
restrictSearchableAttributes: ['title', 'content']
}
});
return `
<div class="list__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
<div class="archive__item-excerpt" itemprop="description">${content}</div>
</article>
</div>
`;
}
const hitTemplate = function(hit) {
const url = hit.url;
const hightlight = hit._highlightResult;
const title = hightlight.title && hightlight.title.value || "";
const content = hightlight.html && hightlight.html.value || "";
// Adding searchbar and results widgets
search.addWidget(
instantsearch.widgets.searchBox({
container: '.search-searchbar',
{% unless site.algolia.powered_by == false %}poweredBy: true,{% endunless %}
placeholder: '{{ site.data.ui-text[site.locale].search_placeholder_text | default: "Enter your search term..." }}'
})
);
search.addWidget(
instantsearch.widgets.hits({
container: '.search-hits',
templates: {
item: hitTemplate
return `
<div class="list__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
<div class="archive__item-excerpt" itemprop="description">${content}</div>
</article>
</div>
`;
}
})
);
// Starting the search
search.start();
// Adding searchbar and results widgets
search.addWidget(
instantsearch.widgets.searchBox({
container: '.search-searchbar',
{% unless site.algolia.powered_by == false %}poweredBy: true,{% endunless %}
placeholder: '{{ site.data.ui-text[site.locale].search_placeholder_text | default: "Enter your search term..." }}'
})
);
search.addWidget(
instantsearch.widgets.hits({
container: '.search-hits',
templates: {
item: hitTemplate,
empty: '{{ site.data.ui-text[site.locale].search_algolia_no_results | default: "No results" }}',
}
})
);
if (!search.started) {
search.start();
}
});
document.body.appendChild(script);
loadCSS("https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css");
loadCSS("https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css");
};
// Starting the search only when toggle is clicked
$(document).ready(function() {
var scriptLoaded = false;
$(".search__toggle").on("click", function() {
if (!scriptLoaded) {
loadSearch();
scriptLoaded = true;
}
});
});
</script>
+2 -2
View File
@@ -2,7 +2,7 @@
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<form class="search-content__form" onkeydown="return event.key != 'Enter';">
<form class="search-content__form" onkeydown="return event.key != 'Enter';" role="search">
<label class="sr-only" for="search">
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
</label>
@@ -10,7 +10,7 @@
</form>
<div id="results" class="results"></div>
{%- when "google" -%}
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id" role="search">
<label class="sr-only" for="cse-search-input-box-id">
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
</label>
+11 -14
View File
@@ -22,7 +22,7 @@
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{%- if seo_description -%}
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
{%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
@@ -32,22 +32,13 @@
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
{%- unless page_large_image contains '://' -%}
{%- assign page_large_image = page_large_image | absolute_url -%}
{%- endunless -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url -%}
{%- assign page_large_image = page_large_image | escape -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
{%- unless page_teaser_image contains '://' -%}
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
{%- endunless -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url -%}
{%- assign page_teaser_image = page_teaser_image | escape -%}
{%- assign site_og_image = site.og_image -%}
{%- unless site_og_image contains '://' -%}
{%- assign site_og_image = site_og_image | absolute_url -%}
{%- endunless -%}
{%- assign site_og_image = site.og_image | absolute_url -%}
{%- assign site_og_image = site_og_image | escape -%}
{%- if page.date -%}
@@ -61,6 +52,9 @@
{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
{% if og_type == "article" %}
<meta property="article:author" content="{{ author.name | default: author }}">
{% endif %}
{% endif %}
<meta property="og:type" content="{{ og_type }}">
@@ -69,7 +63,7 @@
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta property="og:url" content="{{ canonical_url }}">
{% if page.excerpt %}
{% if seo_description %}
<meta property="og:description" content="{{ seo_description }}">
{% endif %}
@@ -158,4 +152,7 @@
{% if site.naver_site_verification %}
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
{% endif %}
{% if site.baidu_site_verification %}
<meta name="baidu-site-verification" content="{{ site.baidu_site_verification }}">
{% endif %}
<!-- end _includes/seo.html -->
+3 -8
View File
@@ -4,13 +4,8 @@
{% if page.sidebar %}
{% for s in page.sidebar %}
{% if s.image %}
<img src=
{% if s.image contains "://" %}
"{{ s.image }}"
{% else %}
"{{ s.image | relative_url }}"
{% endif %}
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
<img src="{{ s.image | relative_url }}"
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
{% endif %}
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
{% if s.text %}{{ s.text | markdownify }}{% endif %}
@@ -21,4 +16,4 @@
{% endif %}
{% endif %}
</div>
{% endif %}
{% endif %}
-1
View File
@@ -1,5 +1,4 @@
<nav class="skip-links">
<h2 class="screen-reader-text">{{ site.data.ui-text[site.locale].skip_links | default: 'Skip links' }}</h2>
<ul>
<li><a href="#site-nav" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
+1 -1
View File
@@ -7,5 +7,5 @@
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>
+3 -10
View File
@@ -6,20 +6,13 @@
{% endcase %}
{% if site.tag_archive.path %}
{% comment %}
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %}
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}|{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign tag_hashes = page_tags | split: ',' | sort %}
{% assign tags_sorted = page.tags | sort_natural %}
<p class="page__taxonomy">
<strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
<span itemprop="keywords">
{% for hash in tag_hashes %}
{% assign keyValue = hash | split: '|' %}
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% for tag_word in tags_sorted %}
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %}
</span>
</p>
+144 -40
View File
@@ -1,6 +1,30 @@
{% capture tocWorkspace %}
{% comment %}
Version 1.0.5
Copyright (c) 2017 Vladimir "allejo" Jimenez
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
{% endcomment %}
{% comment %}
Version 1.2.1
https://github.com/allejo/jekyll-toc
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
@@ -9,77 +33,157 @@
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
* item_class (string) : '' - add custom class for each list item; has support for '%level%' placeholder, which is the current heading level
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
* submenu_class (string) : '' - add custom class(es) for each child group of headings; has support for '%level%' placeholder which is the current "submenu" heading level
* base_url (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
* anchor_class (string) : '' - add custom class(es) for each anchor element
* skip_no_ids (bool) : false - skip headers that do not have an `id` attribute
* flat_toc (bool) : false - when set to true, the TOC will be a single level list
Output:
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
generate the table of contents and will NOT output the markdown given to it
{% endcomment %}
{% capture my_toc %}{% endcapture %}
{% capture newline %}
{% endcapture %}
{% assign newline = newline | rstrip %} <!-- Remove the extra spacing but preserve the newline -->
{% capture deprecation_warnings %}{% endcapture %}
{% if include.baseurl %}
{% capture deprecation_warnings %}{{ deprecation_warnings }}<!-- jekyll-toc :: "baseurl" has been deprecated, use "base_url" instead -->{{ newline }}{% endcapture %}
{% endif %}
{% if include.skipNoIDs %}
{% capture deprecation_warnings %}{{ deprecation_warnings }}<!-- jekyll-toc :: "skipNoIDs" has been deprecated, use "skip_no_ids" instead -->{{ newline }}{% endcapture %}
{% endif %}
{% capture jekyll_toc %}{% endcapture %}
{% assign orderedList = include.ordered | default: false %}
{% assign flatToc = include.flat_toc | default: false %}
{% assign baseURL = include.base_url | default: include.baseurl | default: '' %}
{% assign skipNoIDs = include.skip_no_ids | default: include.skipNoIDs | default: false %}
{% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %}
{% assign nodes = include.html | split: '<h' %}
{% assign firstHeader = true %}
{% assign nodes = include.html | strip | split: '<h' %}
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
{% assign firstHeader = true %}
{% assign currLevel = 0 %}
{% assign lastLevel = 0 %}
{% capture listModifier %}{% if orderedList %}ol{% else %}ul{% endif %}{% endcapture %}
{% for node in nodes %}
{% if node == "" %}
{% continue %}
{% endif %}
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
{% assign currLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
{% if headerLevel < minHeader or headerLevel > maxHeader %}
{% if currLevel < minHeader or currLevel > maxHeader %}
{% continue %}
{% endif %}
{% if firstHeader %}
{% assign firstHeader = false %}
{% assign minHeader = headerLevel %}
{% endif %}
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
{% assign _workspace = node | split: '</h' %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %}
{% assign htmlID = _idWorkspace[0] %}
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
{% assign htmlClass = _classWorkspace[0] %}
{% if htmlClass contains "no_toc" %}
{% continue %}
{% endif %}
{% if firstHeader %}
{% assign minHeader = currLevel %}
{% endif %}
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
{% assign space = '' %}
{% for i in (1..indentAmount) %}
{% assign space = space | prepend: ' ' %}
{% endfor %}
{% if include.item_class and include.item_class != blank %}
{% capture listItemClass %} class="{{ include.item_class | replace: '%level%', currLevel | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% unless include.item_class == blank %}
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
{% endunless %}
{% if include.submenu_class and include.submenu_class != blank %}
{% assign subMenuLevel = currLevel | minus: 1 %}
{% capture subMenuClass %} class="{{ include.submenu_class | replace: '%level%', subMenuLevel | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% capture my_toc %}{{ my_toc }}
{{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% endcapture %}
{% capture anchorBody %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
{% if htmlID %}
{% capture anchorAttributes %} href="{% if baseURL %}{{ baseURL }}{% endif %}#{{ htmlID }}"{% endcapture %}
{% if include.anchor_class %}
{% capture anchorAttributes %}{{ anchorAttributes }} class="{{ include.anchor_class | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% capture listItem %}<a{{ anchorAttributes }}>{{ anchorBody }}</a>{% endcapture %}
{% elsif skipNoIDs == true %}
{% continue %}
{% else %}
{% capture listItem %}{{ anchorBody }}{% endcapture %}
{% endif %}
{% if currLevel > lastLevel and flatToc == false %}
{% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifier }}{{ subMenuClass }}>{% endcapture %}
{% elsif currLevel < lastLevel and flatToc == false %}
{% assign repeatCount = lastLevel | minus: currLevel %}
{% for i in (1..repeatCount) %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
{% endfor %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li>{% endcapture %}
{% else %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li>{% endcapture %}
{% endif %}
{% capture jekyll_toc %}{{ jekyll_toc }}<li{{ listItemClass }}>{{ listItem }}{% endcapture %}
{% assign lastLevel = currLevel %}
{% assign firstHeader = false %}
{% endfor %}
{% if include.class %}
{% capture my_toc %}{:.{{ include.class }}}
{{ my_toc | lstrip }}{% endcapture %}
{% if flatToc == true %}
{% assign repeatCount = 1 %}
{% else %}
{% assign repeatCount = minHeader | minus: 1 %}
{% assign repeatCount = lastLevel | minus: repeatCount %}
{% endif %}
{% if include.id %}
{% capture my_toc %}{: #{{ include.id }}}
{{ my_toc | lstrip }}{% endcapture %}
{% for i in (1..repeatCount) %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
{% endfor %}
{% if jekyll_toc != '' %}
{% assign rootAttributes = '' %}
{% if include.class and include.class != blank %}
{% capture rootAttributes %} class="{{ include.class | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% if include.id and include.id != blank %}
{% capture rootAttributes %}{{ rootAttributes }} id="{{ include.id }}"{% endcapture %}
{% endif %}
{% if rootAttributes %}
{% assign nodes = jekyll_toc | split: '>' %}
{% capture jekyll_toc %}<{{ listModifier }}{{ rootAttributes }}>{{ nodes | shift | join: '>' }}>{% endcapture %}
{% endif %}
{% endif %}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
{% endcapture %}{% assign tocWorkspace = '' %}{{ deprecation_warnings }}{{ jekyll_toc -}}
+21 -10
View File
@@ -1,13 +1,24 @@
{% capture video_id %}{{ include.id }}{% endcapture %}
{% capture video_provider %}{{ include.provider }}{% endcapture %}
{% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}
<!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container">
{% if video_provider == "vimeo" %}
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
{% elsif video_provider == "youtube" %}
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% elsif video_provider == "google-drive" %}
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div>
{% capture video_src %}
{% case video_provider %}
{% when "vimeo" %}
https://player.vimeo.com/video/{{ video_id }}?dnt=true
{% when "youtube" %}
https://www.youtube-nocookie.com/embed/{{ video_id }}
{% when "google-drive" %}
https://drive.google.com/file/d/{{ video_id }}/preview
{% when "bilibili" %}
https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
{% endcase %}
{% endcapture %}
{% assign video_src = video_src | strip %}
<!-- Courtesy of embedresponsively.com -->
{% unless video_src == "" %}
<div class="responsive-video-container">
<iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
</div>
{% endunless %}
+16 -2
View File
@@ -3,13 +3,27 @@ layout: default
author_profile: false
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
{% endif %}
<div id="main" role="main">
{% include sidebar.html %}
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
{% for post in page.posts %}
{% include archive-single.html %}
{% endfor %}
</div>
</div>
</div>
+4 -3
View File
@@ -25,14 +25,15 @@ layout: archive
{% endfor %}
</ul>
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<section id="{{ category[0] | slugify }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ category[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
<div class="entries-{{ entries_layout }}">
{% for post in category.last %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
+3 -2
View File
@@ -4,6 +4,7 @@ layout: archive
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include posts-category.html taxonomy=page.taxonomy type=page.entries_layout %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include posts-category.html taxonomy=page.taxonomy type=entries_layout %}
</div>
+3 -2
View File
@@ -4,6 +4,7 @@ layout: archive
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=page.entries_layout %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=entries_layout %}
</div>
+2 -8
View File
@@ -2,12 +2,7 @@
---
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.17.1 by Michael Rose
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
{% include copyright.html %}
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<head>
{% include head.html %}
@@ -16,11 +11,11 @@
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
{% include_cached skip-links.html %}
{% include_cached browser-upgrade.html %}
{% include_cached masthead.html %}
<div class="initial-content">
{{ content }}
{% include after-content.html %}
</div>
{% if site.search == true %}
@@ -37,6 +32,5 @@
</div>
{% include scripts.html %}
</body>
</html>
+12 -3
View File
@@ -6,8 +6,17 @@ layout: archive
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% for post in paginator.posts %}
{% include archive-single.html %}
{% endfor %}
{% if paginator %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
{% endif %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% for post in posts %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
{% include paginator.html %}
+5 -4
View File
@@ -5,7 +5,7 @@ layout: archive
{{ content }}
<ul class="taxonomy__index">
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% assign postsInYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsInYear %}
<li>
<a href="#{{ year.name }}">
@@ -15,13 +15,14 @@ layout: archive
{% endfor %}
</ul>
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% assign postsByYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsByYear %}
<section id="{{ year.name }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ year.name }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
<div class="entries-{{ entries_layout }}">
{% for post in year.items %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
+2 -2
View File
@@ -25,11 +25,11 @@ layout: default
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<input type="text" id="search" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<div id="results" class="results"></div>
{%- when "google" -%}
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<input type="text" id="cse-search-input-box-id" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
</form>
<div id="results" class="results">
<gcse:searchresults-only></gcse:searchresults-only>
+17 -34
View File
@@ -8,7 +8,11 @@ layout: default
{% include page__hero_video.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs %}
{% assign breadcrumbs_enabled = site.breadcrumbs %}
{% if page.breadcrumbs != null %}
{% assign breadcrumbs_enabled = page.breadcrumbs %}
{% endif %}
{% if page.url != "/" and breadcrumbs_enabled %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
@@ -17,28 +21,28 @@ layout: default
<div id="main" role="main">
{% include sidebar.html %}
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<article class="page h-entry" itemscope itemtype="https://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% if page.title %}<h1 id="page-title" class="page__title p-name" itemprop="headline">
<a href="{{ page.url | absolute_url }}" class="u-url" itemprop="url">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</a>
</h1>{% endif %}
{% include page__meta.html %}
</header>
{% endunless %}
<section class="page__content" itemprop="text">
<section class="page__content e-content" itemprop="text">
{% if page.toc %}
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
<nav class="toc">
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label | default: "On this page" }}</h4></header>
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" skip_no_ids=true %}
</nav>
</aside>
{% endif %}
@@ -51,11 +55,7 @@ layout: default
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %}
{% include page__taxonomy.html %}
{% if page.last_modified_at %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
{% endif %}
{% include page__date.html %}
</footer>
{% if page.share %}{% include social-share.html %}{% endif %}
@@ -70,26 +70,9 @@ layout: default
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related">
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
<div class="grid__wrapper">
{% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
{% include page__related.html posts=site.related_posts %}
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
{% elsif page.id and page.related %}
<div class="page__related">
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
<div class="grid__wrapper">
{% for post in site.posts limit:4 %}
{% if post.id == page.id %}
{% continue %}
{% endif %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
{% include page__related.html posts=site.posts %}
{% endif %}
</div>
+2 -2
View File
@@ -12,8 +12,8 @@ layout: default
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
<section class="page__content" itemprop="text">
{{ content }}
+3 -2
View File
@@ -4,6 +4,7 @@ layout: archive
{{ content }}
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% include posts-tag.html taxonomy=page.taxonomy type=page.entries_layout %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include posts-tag.html taxonomy=page.taxonomy type=entries_layout %}
</div>
+3 -2
View File
@@ -25,14 +25,15 @@ layout: archive
{% endfor %}
</ul>
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for i in (1..tags_max) reversed %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
<div class="entries-{{ entries_layout }}">
{% for post in tag.last %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
+2 -5
View File
@@ -1,8 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.17.1 by Michael Rose
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
*/
/* Copyright comment */
@import "minimal-mistakes/copyright";
/* Variables */
@import "minimal-mistakes/variables";
+18 -2
View File
@@ -32,7 +32,7 @@
}
.archive__subtitle {
margin: 1.414em 0 0;
margin: 1.414em 0 0.5em;
padding-bottom: 0.5em;
font-size: $type-size-5;
color: $muted-text-color;
@@ -201,6 +201,14 @@
font-size: 0.6em;
}
.page__meta-sep {
display: block;
&::before {
display: none;
}
}
.archive__item-title {
margin-top: 0.5em;
font-size: $type-size-5;
@@ -444,4 +452,12 @@
padding-right: 0;
}
}
}
}
/* Place inside a single layout */
.layout--single {
.feature__wrapper {
display: inline-block;
}
}
+6 -24
View File
@@ -35,27 +35,27 @@ h6 {
h1 {
margin-top: 0;
font-size: $type-size-3;
font-size: $h-size-1;
}
h2 {
font-size: $type-size-4;
font-size: $h-size-2;
}
h3 {
font-size: $type-size-5;
font-size: $h-size-3;
}
h4 {
font-size: $type-size-6;
font-size: $h-size-4;
}
h5 {
font-size: $type-size-6;
font-size: $h-size-5;
}
h6 {
font-size: $type-size-6;
font-size: $h-size-6;
}
small,
@@ -160,24 +160,6 @@ pre {
overflow-x: auto; /* add scrollbars to wide code blocks*/
}
p > code,
a > code,
li > code,
figcaption > code,
td > code {
padding-top: 0.1rem;
padding-bottom: 0.1rem;
font-size: 0.8em;
background: $code-background-color;
border-radius: $border-radius;
&:before,
&:after {
letter-spacing: -0.2em;
content: "\00a0"; /* non-breaking space*/
}
}
/* horizontal rule */
hr {
+6
View File
@@ -0,0 +1,6 @@
/*!
* Minimal Mistakes Jekyll Theme 4.25.1 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
*/
-1
View File
@@ -8,7 +8,6 @@
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
margin-top: 3em;
color: $muted-text-color;
-webkit-animation: $intro-transition;
+1 -35
View File
@@ -107,6 +107,7 @@ input[type="radio"] {
cursor: pointer;
border-radius: 0;
border: 0 \9;
box-shadow: none;
}
input[type="checkbox"],
@@ -119,7 +120,6 @@ input[type="radio"] {
input[type="image"] {
border: 0;
box-shadow: none;
}
input[type="file"] {
@@ -357,37 +357,3 @@ select:focus {
left: 50%;
z-index: 11;
}
/*
Google search form
========================================================================== */
#goog-fixurl {
ul {
list-style: none;
margin-left: 0;
padding-left: 0;
li {
list-style-type: none;
}
}
}
#goog-wm-qt {
width: auto;
margin-right: 10px;
margin-bottom: 20px;
padding: 8px 20px;
display: inline-block;
font-size: $type-size-6;
background-color: #fff;
color: #000;
border-width: 2px !important;
border-style: solid !important;
border-color: $border-color;
border-radius: $border-radius;
}
#goog-wm-sb {
@extend .btn;
}
+1 -1
View File
@@ -50,7 +50,7 @@
-ms-flex-item-align: center;
align-self: center;
font-weight: bold;
z-index: 20;
// z-index: 20;
}
.site-subtitle {
+7
View File
@@ -184,6 +184,8 @@
margin: 0 1rem;
color: $masthead-link-color;
text-decoration: none;
-webkit-transition: none;
transition: none;
&:hover {
color: $masthead-link-color-hover;
@@ -199,6 +201,11 @@
}
}
img {
-webkit-transition: none;
transition: none;
}
&__toggle {
-ms-flex-item-align: center;
align-self: center;
+16 -7
View File
@@ -13,17 +13,18 @@
@mixin notice($notice-color) {
margin: 2em 0 !important; /* override*/
padding: 1em;
color: $dark-gray;
color: $text-color;
font-family: $global-font-family;
font-size: $type-size-6 !important;
text-indent: initial; /* override*/
background-color: mix(#fff, $notice-color, 90%);
background-color: mix($background-color, $notice-color, $notice-background-mix);
border-radius: $border-radius;
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
h4 {
margin-top: 0 !important; /* override*/
margin-bottom: 0.75em;
line-height: inherit;
}
@at-root .page__content #{&} h4 {
@@ -45,17 +46,25 @@
}
a {
color: $notice-color;
color: mix(#000, $notice-color, 10%);
&:hover {
color: mix(#000, $notice-color, 40%);
color: mix(#000, $notice-color, 50%);
}
}
code {
background-color: mix(#fff, $notice-color, 95%)
@at-root #{selector-unify(&, "blockquote")} {
border-left-color: mix(#000, $notice-color, 10%);
}
code {
background-color: mix($background-color, $notice-color, $code-notice-background-mix)
}
pre code {
background-color: inherit;
}
ul {
&:last-child {
margin-bottom: 0; /* override*/
@@ -97,4 +106,4 @@
.notice--danger {
@include notice($danger-color);
}
}
+28 -3
View File
@@ -72,6 +72,11 @@ body {
margin-top: 0;
line-height: 1;
a {
color: $text-color;
text-decoration: none;
}
& + .page__meta {
margin-top: -0.5em;
}
@@ -134,6 +139,20 @@ body {
}
}
:not(pre) > code {
padding-top: 0.1rem;
padding-bottom: 0.1rem;
font-size: 0.8em;
background: $code-background-color;
border-radius: $border-radius;
&::before,
&::after {
letter-spacing: -0.2em;
content: "\00a0"; /* non-breaking space*/
}
}
dt {
margin-top: 1em;
font-family: $sans-serif;
@@ -299,6 +318,12 @@ body {
text-transform: uppercase;
}
.page__meta-sep::before {
content: "\2022";
padding-left: 0.5em;
padding-right: 0.5em;
}
/*
Page taxonomy
========================================================================== */
@@ -352,11 +377,11 @@ body {
.taxonomy__title {
margin-bottom: 0.5em;
color: lighten($text-color, 60%);
color: $muted-text-color;
}
.taxonomy__count {
color: lighten($text-color, 50%);
color: $muted-text-color;
}
.taxonomy__index {
@@ -389,7 +414,7 @@ body {
.back-to-top {
display: block;
clear: both;
color: lighten($text-color, 50%);
color: $muted-text-color;
font-size: 0.6em;
text-transform: uppercase;
text-align: right;
+47 -12
View File
@@ -8,13 +8,13 @@
.sidebar {
@include clearfix();
@include breakpoint(max-width $large) {
/* fix z-index order of follow links */
position: relative;
z-index: 10;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
// @include breakpoint(max-width $large) {
// /* fix z-index order of follow links */
// position: relative;
// z-index: 10;
// -webkit-transform: translate3d(0, 0, 0);
// transform: translate3d(0, 0, 0);
// }
@include breakpoint($large) {
float: left;
@@ -32,7 +32,7 @@
/* calculate height of nav list
viewport height - nav height - masthead x-padding
*/
height: calc(100vh - #{$nav-height} - 2em);
max-height: calc(100vh - #{$nav-height} - 2em);
}
}
@@ -63,7 +63,7 @@
img {
width: 100%;
&.emoji {
width: 20px;
height: 20px;
@@ -89,6 +89,13 @@
position: sticky;
top: 2em;
float: right;
.toc {
.toc__menu {
overflow-y: auto;
max-height: calc(100vh - 7em);
}
}
}
}
@@ -184,8 +191,7 @@
display: table-cell;
vertical-align: middle;
font-family: $sans-serif;
z-index: 10;
position: relative;
z-index: 20;
cursor: pointer;
li:last-child {
@@ -194,13 +200,38 @@
}
}
.author__urls {
span.label {
padding-left: 5px;
}
}
@include breakpoint($large) {
display: block;
}
button {
position: relative;
margin-bottom: 0;
&:before {
@supports (pointer-events: none) {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
}
&.open {
&:before {
pointer-events: auto;
}
}
@include breakpoint($large) {
display: none;
}
@@ -217,7 +248,6 @@
border: 1px solid $border-color;
border-radius: $border-radius;
background: $background-color;
z-index: -1;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default;
@@ -269,6 +299,11 @@
}
}
ul {
padding: 10px;
list-style-type: none;
}
li {
white-space: nowrap;
}
+31
View File
@@ -253,6 +253,10 @@ body:hover .visually-hidden button {
color: $instagram-color;
}
.fa-keybase {
color: $keybase-color;
}
.fa-lastfm,
.fa-lastfm-square {
color: $lastfm-color;
@@ -381,6 +385,33 @@ body:hover .visually-hidden button {
}
}
.greedy-nav__toggle {
&:before {
@supports (pointer-events: none) {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
background-color: $background-color;
-webkit-transition: $global-transition;
transition: $global-transition;
pointer-events: none;
}
}
&.close {
&:before {
opacity: 0.9;
-webkit-transition: $global-transition;
transition: $global-transition;
pointer-events: auto;
}
}
}
.greedy-nav__toggle:hover {
.navicon,
.navicon:before,
+16 -3
View File
@@ -43,12 +43,20 @@ $type-size-6: 0.75em !default; // ~12px
$type-size-7: 0.6875em !default; // ~11px
$type-size-8: 0.625em !default; // ~10px
/* headline scale */
$h-size-1: 1.563em !default; // ~25.008px
$h-size-2: 1.25em !default; // ~20px
$h-size-3: 1.125em !default; // ~18px
$h-size-4: 1.0625em !default; // ~17px
$h-size-5: 1.03125em !default; // ~16.5px
$h-size-6: 1em !default; // ~16px
/*
Colors
========================================================================== */
$gray: #7a8288 !default;
$dark-gray: mix(#000, $gray, 40%) !default;
$dark-gray: mix(#000, $gray, 50%) !default;
$darker-gray: mix(#000, $gray, 60%) !default;
$light-gray: mix(#fff, $gray, 50%) !default;
$lighter-gray: mix(#fff, $gray, 90%) !default;
@@ -57,7 +65,7 @@ $background-color: #fff !default;
$code-background-color: #fafafa !default;
$code-background-color-dark: $light-gray !default;
$text-color: $dark-gray !default;
$muted-text-color: mix(#fff, $text-color, 35%) !default;
$muted-text-color: mix(#fff, $text-color, 20%) !default;
$border-color: $lighter-gray !default;
$form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default;
@@ -86,6 +94,7 @@ $foursquare-color: #0072b1 !default;
$github-color: #171516 !default;
$gitlab-color: #e24329 !default;
$instagram-color: #517fa4 !default;
$keybase-color: #ef7639 !default;
$lastfm-color: #d51007 !default;
$linkedin-color: #007bb6 !default;
$mastodon-color: #2b90d9 !default;
@@ -102,13 +111,17 @@ $youtube-color: #bb0000 !default;
$xing-color: #006567 !default;
/* links */
$link-color: mix(#000, $info-color, 15%) !default;
$link-color: mix(#000, $info-color, 20%) !default;
$link-color-hover: mix(#000, $link-color, 25%) !default;
$link-color-visited: mix(#fff, $link-color, 15%) !default;
$masthead-link-color: $primary-color !default;
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
/* notices */
$notice-background-mix: 80% !default;
$code-notice-background-mix: 90% !default;
/* syntax highlighting (base16) */
$base00: #263238 !default;
$base01: #2e3c43 !default;
+5 -1
View File
@@ -27,4 +27,8 @@ $link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
/* notices */
$notice-background-mix: 90% !default;
$code-notice-background-mix: 95% !default;
+2 -1
View File
@@ -46,6 +46,7 @@ $base0f: #b18a3d !default;
color: #fff !important; // override
}
.page__footer-follow .social-icons .svg-inline--fa {
.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+4 -2
View File
@@ -18,11 +18,13 @@ $masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
.author__urls.social-icons i,
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}
}
+1
View File
@@ -18,6 +18,7 @@ $navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
color: #fff !important; // override
}
.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+7 -1
View File
@@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* notices */
$notice-background-mix: 90% !default;
$code-notice-background-mix: 95% !default;
/* neon syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
@@ -36,8 +40,10 @@ $base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons i,
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+7 -1
View File
@@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* notices */
$notice-background-mix: 70% !default;
$code-notice-background-mix: 80% !default;
/* plum syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
@@ -36,8 +40,10 @@ $base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons i,
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+7 -2
View File
@@ -20,6 +20,9 @@ $masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* notices */
$notice-background-mix: 75% !default;
/* sunrise syntax highlighting (base16) */
$base00: #1d1f21 !default;
$base01: #282a2e !default;
@@ -38,7 +41,9 @@ $base0d: #81a2be !default;
$base0e: #b294bb !default;
$base0f: #a3685a !default;
.author__urls.social-icons .fa,
.page__footer-follow .social-icons .svg-inline--fa {
.author__urls.social-icons i,
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+1
View File
@@ -1,5 +1,6 @@
---
# Only the main Sass file needs front matter (the dashes are enough)
search: false
---
@charset "utf-8";
+9 -9
View File
@@ -2,16 +2,16 @@
jQuery plugin settings and other scripts
========================================================================== */
$(document).ready(function() {
$(function() {
// FitVids init
$("#main").fitVids();
// Sticky sidebar
var stickySideBar = function() {
var show =
$(".author__urls-wrapper button").length === 0
$(".author__urls-wrapper").find("button").length === 0
? $(window).width() > 1024 // width should match $large Sass variable
: !$(".author__urls-wrapper button").is(":visible");
: !$(".author__urls-wrapper").find("button").is(":visible");
if (show) {
// fix
$(".sidebar").addClass("sticky");
@@ -28,9 +28,9 @@ $(document).ready(function() {
});
// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls-wrapper").find("button").on("click", function() {
$(".author__urls").toggleClass("is--visible");
$(".author__urls-wrapper button").toggleClass("open");
$(".author__urls-wrapper").find("button").toggleClass("open");
});
// Close search screen with Esc key
@@ -49,7 +49,7 @@ $(document).ready(function() {
$(".initial-content").toggleClass("is--hidden");
// set focus on input
setTimeout(function() {
$(".search-content input").focus();
$(".search-content").find("input").focus();
}, 400);
});
@@ -83,8 +83,8 @@ $(document).ready(function() {
// add lightbox class to all image links
$(
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']"
).addClass("image-popup");
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif'],a[href$='.webp']"
).has("> img").addClass("image-popup");
// Magnific-Popup options
$(".image-popup").magnificPopup({
@@ -128,7 +128,7 @@ $(document).ready(function() {
var anchor = document.createElement("a");
anchor.className = 'header-link';
anchor.href = '#' + id;
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>';
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
anchor.title = "Permalink";
$(this).append(anchor);
}
+1 -1
View File
@@ -1,5 +1,5 @@
---
layout: null
layout: none
---
var idx = lunr(function () {
+1 -1
View File
@@ -1,5 +1,5 @@
---
layout: null
layout: none
---
step1list = new Array();

Some files were not shown because too many files have changed in this diff Show More