Compare commits

..
481 Commits
Author SHA1 Message Date
Michael Rose 075482c383 Replace priority plus navigation with dropdowns 2019-04-10 10:37:59 -04:00
Michael Rose 995225b7f3 Replace priority plus navigation with dropdowns 2019-04-10 10:36:36 -04:00
Michael Rose 29acb2a0bf Fix table of contents active link styling 2019-04-03 16:08:31 -04:00
Michael Rose 60b5bacca8 Add reference to Thai UI text strings 2019-04-03 15:16:04 -04:00
Michael Rose 2413ea7204 Update /docs text strings 2019-04-03 15:13:41 -04:00
Samiti d09bf47087 Add UI Text for Thai Language (#2111) 2019-04-03 15:11:44 -04:00
Michael Rose ac2975a8dd Update CHANGELOG and history 2019-04-03 15:08:02 -04:00
Kulbhushan Chand 146186ab82 Added missing Hindi Translation of ui-text ( for docs folder) (#2106)
Due to unknown reason, Hindi translation of ui-text was missing (https://github.com/mmistakes/minimal-mistakes/issues/2101)
I have added it back from a previous pull request (https://github.com/mmistakes/minimal-mistakes/pull/1888)
2019-04-03 15:06:44 -04:00
Kulbhushan Chand c7184ba2a2 Added missing Hindi Translation of ui-text (#2105)
Due to unknown reason, Hindi translation of ui-text was missing (https://github.com/mmistakes/minimal-mistakes/issues/2101)
I have added it back from a previous pull request (https://github.com/mmistakes/minimal-mistakes/pull/1888)
2019-04-03 15:06:31 -04:00
Michael Rose 63f3240366 Update CHANGELOG and history 2019-04-03 15:05:59 -04:00
Michael Rose 01150a8dac Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2019-04-03 15:04:43 -04:00
Christian Oliff 737c011d46 Update Font Awesome (#2102)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2019-04-03 15:04:07 -04:00
Michael Rose b93ec8ca34 Update CHANGELOG and history 2019-04-03 15:03:27 -04:00
Andre Pacheco baec5d00b5 Typos fix and including more words for pt-br (#2098)
I just fixed some typos PT-BR, included translations for words that were not translated and changed some words to better describe the tag's meaning. This is how I use it in my Portuguese blog.
2019-04-03 15:01:31 -04:00
Michael Rose 54e141aa0b Update CHANGELOG and history 2019-03-22 16:10:47 -04:00
samdx 346c8a9257 Updated vi-VN for some missing terms (#2097)
```yml
search_placeholder_text    : "Nhập từ khóa cần tìm..."
results_found              : "Kết quả tìm được"
back_to_top                : "Về đầu trang"
```
2019-03-22 16:09:49 -04:00
Michael Rose 7fa5ac49db Update CHANGELOG and history 2019-03-22 16:09:05 -04:00
iinimata 2e9e2ab312 Fix French translation typo (#2096) 2019-03-22 16:08:02 -04:00
Michael Rose a66cf1d700 Update CHANGELOG and hsitory 2019-03-22 16:07:37 -04:00
Luis Puerto a1ff46cc59 Fix figures when they are inside of a list (#2094) 2019-03-22 16:05:48 -04:00
Michael Rose 5ed1f79557 Update CHANGELOG and history 2019-03-22 16:05:17 -04:00
Michael Rose a44dc2f914 Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe (#2082)
* Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe
* Change smooth scrolling speed
* Set maximum smooth scroll duration
* Remove Font Awesome CSS Ppseudo elements attribute from JS script

Close #2050, close #2075
2019-03-22 16:01:28 -04:00
Michael Rose 94e8280950 Add GFM task list example to post 2019-03-13 08:36:07 -04:00
Michael Rose 8625e0708a Add styling for GFM task lists
Close #2092
2019-03-13 08:30:30 -04:00
Michael Rose 097c01eff1 Adjust wording 2019-03-07 16:26:54 -05:00
Michael Rose 960d6af1a2 Update CHANGELOG and history 2019-03-05 18:56:41 -05:00
Christian Oliff bd5f157833 Update Google Universal Analytics to load async (#2079) 2019-03-05 18:56:03 -05:00
Maxime Michel d5dae86319 Add tip on how to start a YouTube embed at a given timestamp (#2077)
Close #2077
2019-03-05 18:55:29 -05:00
Michael Rose 102924ff94 Update CHANGELOG 2019-03-05 18:54:44 -05:00
Michael Rose 59111d1e01 Remove Google+
Google+ is being shutdown on April 2, 2019. Social sharing buttong, comment provider, and author link configs have been removed from the theme.

ref: https://support.google.com/plus/answer/9195133
2019-03-05 18:53:30 -05:00
Michael Rose 4a38b5fae0 Loosen Bundler dependency for theme gem 2019-03-04 16:56:05 -05:00
Michael Rose 3dbe89d3f0 Fix indents 2019-03-04 11:10:43 -05:00
Michael Rose fb74bde6f6 Fix indendation
Close #2078
2019-03-04 11:09:33 -05:00
Michael Rose 10f62bb9ac Update CHANGELOG and history 2019-03-03 19:03:49 -05:00
Shuo c1094cad44 Add missing translation of chinese (#2072)
Add missing Chinese text strings
2019-03-03 19:02:40 -05:00
Michael Rose 78817f9c66 Release 4.15.2 💎 2019-02-17 12:31:43 -05:00
Michael Rose 7f414f4968 Add link to issue 2019-02-11 16:07:11 -05:00
Michael Rose 4501e4f4b0 Update history page 2019-02-11 16:06:17 -05:00
Michael Rose 397c13f087 Update CHANGELOG and history 2019-02-11 16:03:04 -05:00
safaer 1e78b160ca exit search screen with Esc key (#2055)
* exit search with esc key feature is added
* closing search screen with esc key feature is added to _main.js
2019-02-11 16:00:14 -05:00
Michael Rose 8eb880aaa0 Revert "Add Staticman app endpoint to docs site"
This reverts commit 67c08a05fd.
2019-02-11 15:55:47 -05:00
Michael Rose 67c08a05fd Add Staticman app endpoint to docs site 2019-02-11 15:53:51 -05:00
Michael Rose 65c401b319 Fix bad YAML
Remove comma
2019-02-08 12:51:10 -05:00
Michael Rose 9be0551c69 Update CHANGELOG and history 2019-02-08 12:38:57 -05:00
Michael Rose aefe633770 Update Swedish localized UI text strings 2019-02-08 12:38:47 -05:00
Johannes adfdf4b1d9 Updated swedish translations. (#2056) 2019-02-08 12:37:03 -05:00
Michael Rose 1d4cad2fd7 Update CHANGELOG and history 2019-02-08 12:32:45 -05:00
Christian Oliff f59711945e update Font Awesome (#2053)
* update Font Awesome

REF: https://fontawesome.com/changelog/latest

* Update _includes/scripts.html

Co-Authored-By: coliff <christianoliff@yahoo.com>
2019-02-08 12:30:56 -05:00
Michael Rose 8efaa7e46a Update CHANGELOG and history 2019-02-08 12:30:16 -05:00
Michael Rose 246c678028 Compile main.min.js 2019-02-08 12:29:35 -05:00
정승원 81f7851347 [fix] syntax error of non-english character (#2042)
* Dear the make of one of the world's greatest jekyll theme.

[problem]
I found that
'Syntax Error' occurs when non-english character is included in some html elements(e.g h2, h3 ...) and 'toc' is generated based of that elements.

[debug]
Click the any element of auto generated 'toc' in the below link.
https://aliwo.github.io/swblog/series/principles_of_python/object/#%EA%B0%9D%EC%B2%B4%EC%99%80-%ED%81%B4%EB%9E%98%EC%8A%A4%EC%9D%98-%EC%A0%95%EC%9D%98

[fix]
This happens because escaped url string get right in to jquery. So I fixed it with
javascript's 'decodeURI' function! :)

* rollback unnecessary changes
2019-02-08 12:28:56 -05:00
Lucas Caton ea2b6de555 Remove 'www' from Stack Overflow URL (#2054)
Stack Overflow is no longer including `www` in its URLs.
2019-02-05 08:07:16 -05:00
Vincent Tam 622005cb44 Improve Staticman v3 documentation (#2043)
* Corrected Staticman v3 info

* Added a link to eduardoboucas/staticman#219

* Fix typo
2019-01-27 20:08:03 -05:00
Michael Rose cc4471e4dd Update CHANGELOG, history, and docs 2019-01-23 20:23:29 -05:00
Michael Rose bcb7343b17 Add Malayalam localized UI text strings 2019-01-23 20:21:38 -05:00
Hermit Physicist- Aravindvenma c510b51a43 Update ui-text.yml (#2037)
Add Malayalam localized UI text strings
2019-01-23 20:20:05 -05:00
Michael Rose d41a284bd2 Fix site.logo false positives 2019-01-23 20:05:17 -05:00
Michael Rose f405d24ce2 Update CHANGELOG and history 2019-01-23 19:36:01 -05:00
Alex Malaszkiewicz d0d267697e Add empty alt attribute to img tag with logo (#2035)
* Provide empty alt attribute (alt="") for logo image, because it does not provide information
2019-01-23 19:34:43 -05:00
Michael Rose 8f5140ab42 Update test post 2019-01-21 14:24:50 -05:00
Michael Rose afd8cfd99e Fix empty <img> when site_logo is not assigned
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876
2019-01-16 11:06:54 -05:00
Michael Rose c44e65cdec Release 4.15.0 💎 2019-01-16 08:26:45 -05:00
Evan Debenham 282806ae07 Add logo and title customization to the masthead (#2026)
* Add logo and title customization to the masthead

* Adjust config description

* Add test site logo to `/test`

* Document `site.logo` and `site.masthead_title`

* Update CHANGELOG and history
2019-01-15 09:07:56 -05:00
Michael Rose 86e95b4f6f Update CHANGELOG and history 2019-01-15 08:09:45 -05:00
Erik Demaine 1b7e8335fe Fix scrollspy on link clicking, and # for top of page (#2023) 2019-01-15 08:08:41 -05:00
Michael Rose a974e45712 Update 2019-01-08 08:45:57 -05:00
Huan LI (李卓桓) cac73fb87d Add support to customize issue-term (#2022)
Current we hardcoded the `pathname` for `issue-term` when we are using utterances comment provider.

It would be better for let users customize it by setting a `site.comments.utterances.issue_term` in their `_config.yml`.
2019-01-08 08:42:19 -05:00
Michael Rose 89c4169191 Update CHANGELOG, history, and canonical_url documentation 2019-01-08 08:32:24 -05:00
Sean Killeen 77059e3710 assign canonical directly if custom value exists (#2021) 2019-01-08 08:23:31 -05:00
Michael Rose 2274abb67d Update CHANGELOG and history 2019-01-08 08:22:03 -05:00
Michael Rose 4c2557d670 Merge pull request #2020 from edemaine/scrollspy 2019-01-08 08:19:16 -05:00
Erik Demaine 04e1614184 Define $active-color in terms of $primary-color 2019-01-04 15:46:01 -05:00
Erik Demaine 6990f8fcc9 Use jQuery throttle library 2019-01-04 12:57:33 -05:00
Erik Demaine f2f580101e Scrollspy-style updating of hash and TOC highlighting 2019-01-04 12:45:04 -05:00
Michael Rose d361c00f8a Update CHANGELOG and history 2019-01-04 12:33:29 -05:00
Erik Demaine 33551c8cdb Clicking TOC links changes hash fragment (#2019)
* Fix smooth scroll breaking back button #1767
* Change URL's hash fragment when clicking on TOC
* Switch from hashchange to popstate event handler

This seems to have better behavior with the Forward button, on page load,
and always scrolls in the right direction.

Close #1767
2019-01-04 12:31:38 -05:00
Michael Rose 2784b3ad43 Bump version to 4.14.2 2019-01-04 12:16:38 -05:00
Michael Rose 9232a38f2a Release 4.14.2 💎 2019-01-01 19:13:16 -05:00
Michael Rose 53a45a240e Update copyright year 2019-01-01 19:06:45 -05:00
Michael Rose c848d1ed61 Update CHANGELOG and history 2019-01-01 18:36:06 -05:00
Michael Rose b45c66f1f8 Update 2019-01-01 18:36:00 -05:00
Sean Killeen a81ed706da Accessibility: Add aria-label to the search button (#2014)
* Accessibility: Add aria-label to the search button
* Update button aria text
* Add aria text to menu toggle
* Add span for search toggle
* Update span for menu label & remove aria
* Update ui-text.yml to add search_label
2019-01-01 18:33:51 -05:00
Michael Rose 1cd1e7112a Fix wide tables that overflow parent container
Close #2008
2019-01-01 18:31:32 -05:00
Michael Rose 47450e8d08 Update CHANGELOG and history 2019-01-01 17:06:55 -05:00
Justin Rummel f27bd39a41 lunr 2.3.5 update (#2010) 2019-01-01 17:05:06 -05:00
Michael Rose 70c937392d Fix typo 2019-01-01 16:53:19 -05:00
Michael Rose 9fb484940f Update CHANGELOG and history 2019-01-01 16:52:54 -05:00
Christian Oliff 8ec8def1b8 shorter IE conditional statement (#2006)
saves 5 bytes :-)
2019-01-01 16:50:33 -05:00
Michael Rose f98445ef96 Update CHANGELOG and history 2019-01-01 16:49:49 -05:00
Roy 599847bf2d Persian Translation of UI Elements (#2004)
* Add Persian translation to ui-text.yml
* Mention the added Persian translation in the documentation
2019-01-01 16:47:05 -05:00
Michael Rose f3f73fdedc Update CHANGELOG and history 2019-01-01 16:42:55 -05:00
Vincent Tam 7de372cea9 [Bug fix]: Added missing Staticman Spanish UI text (#1997)
Taken from line 91 of 5d-eu/messages.php@ec56008
2019-01-01 16:41:20 -05:00
Michael Rose e647af55dd Update CHANGELOG and history 2019-01-01 16:40:39 -05:00
Vincent Tam c1412e3958 Remove unused variables (#1996) 2019-01-01 16:39:39 -05:00
Michael Rose f4d890f282 Update CHANGELOG and history 2019-01-01 16:04:06 -05:00
Christian Oliff 4c6dd4fb41 update font awesome (#1995)
REF: https://fontawesome.com/changelog/latest
2019-01-01 16:02:59 -05:00
Harry Kalantzis 7178b37b08 Fixed Netlify typo (#2013) 2018-12-31 21:15:07 -05:00
Christian Oliff 5b8a9de8eb HTTPS Twitter short link (#2001) 2018-12-19 08:02:41 -05:00
Michael Rose f83fce9a02 Fix broken image 2018-12-11 08:10:51 -05:00
Michael Rose f6d41f8fc8 Fix broken image
Close #1994
2018-12-11 08:10:27 -05:00
Michael Rose aeb09ff7e1 Update YAML example 2018-12-04 14:22:47 -05:00
Michael Rose 63109a8316 Update CHANGELOG and history 2018-12-04 14:20:09 -05:00
Michael Rose 5a8f737732 Update test post 2018-12-04 14:20:00 -05:00
Michael Rose 9de7eab353 Allow sidebar navs with custom sidebar content
Multiple sidebar navs can also be included on a page:

```
sidebar:
  - title: Navigation 1
    nav: nav1
  - title: Navigation 2
    nav: nav2
```

Fixes #1986
2018-12-04 14:17:54 -05:00
Michael Rose be82750f82 Update CHANGELOG and history 2018-12-03 08:40:21 -05:00
Eric Fung f4f6e32cc3 Fix function name for Google Custom Search (#1983)
fbafe58e40b1bd4a2628aef1eb5955ab57dcfaf4 renamed the function in the
scripts file, but did not rename the call sites.
2018-12-03 08:38:33 -05:00
Kulbhushan Chand 6a93cea9bd Update README.md (#1982)
Just a minor addition, the word Hindi written in devnagri script (the script used for this language). Makes it easier to visually understand what script we are talking about.
2018-12-03 08:34:06 -05:00
Kulbhushan Chand f36a8a0bb0 Update about.md (#1981)
Just a minor addition, the word Hindi written in devnagri script (the script used for this language). Makes it easier to visually understand what script we are talking about.
2018-12-03 08:33:51 -05:00
Michael Rose 19862018e5 Update CHANGELOG and history 2018-11-27 09:08:52 -05:00
Justin Rummel 82e9aee6a8 Change remaining schema.org markup to https (#1978) 2018-11-27 09:07:51 -05:00
Michael Rose 4e745d2f14 Update NPM dependencies
cc/ #1977
2018-11-27 08:27:08 -05:00
Michael Rose 763d1c1bb5 Release 4.14.1 gem 2018-11-26 08:17:49 -05:00
Michael Rose b689af7eea Fix closed navicon on hover 2018-11-26 08:14:40 -05:00
Michael Rose 83aa6ecb98 Update CHANGELOG 2018-11-25 23:07:12 -05:00
Michael Rose ed09740b42 Release 4.14.0 💎 2018-11-25 23:02:49 -05:00
Michael Rose 5a68b46e5a Add hover state 2018-11-25 22:17:23 -05:00
Michael Rose edaf61b3ef Disable comments 2018-11-25 22:11:05 -05:00
Michael Rose e954039b13 Change teaser image 2018-11-25 22:10:56 -05:00
Michael Rose 2a64d8f514 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-11-25 20:56:23 -05:00
Michael Rose 573ce183c8 Update CHANGELOG and history 2018-11-25 20:56:20 -05:00
Mike Mylonakis 319a74621b Prevent current post from showing in the "You may also enjoy" (related (#1976)
posts) section
2018-11-25 20:54:44 -05:00
Michael Rose 851426dba2 Update CHANGELOG and history 2018-11-25 20:49:15 -05:00
Kulbhushan Chand 1a88b6a24a Changed schema.org to secure links (https) (#1969) 2018-11-25 20:47:47 -05:00
Michael Rose e2ea799424 Update CHANGELOG and history 2018-11-25 20:47:20 -05:00
Michael Rose 99ca41c4fe Add Google Drive provider documentation 2018-11-25 20:47:14 -05:00
Lars Olesen 8a03ffb439 Add Google Drive as video provider (#1967) 2018-11-25 20:40:54 -05:00
Michael Rose 31828d3174 Update CHANGELOG and history 2018-11-25 20:37:23 -05:00
Michael Rose 22a9c523d6 Use dark syntax highlighting 2018-11-25 20:20:15 -05:00
Michael Rose 2729b692f3 Adjust navigation toggles 2018-11-25 20:20:03 -05:00
Michael Rose cbcc53de31 Add focus color 2018-11-25 20:19:24 -05:00
Michael Rose 3cd24c4b69 Increase padding 2018-11-25 19:52:52 -05:00
Michael Rose a59dd4a84c Increase font-size 2018-11-25 19:52:45 -05:00
Michael Rose e4af8a4036 Update theme documentation 2018-11-25 19:48:19 -05:00
Michael Rose e24e259650 Update README.md 2018-11-25 19:02:37 -05:00
Michael Rose b2b66378ac Update localized text list 2018-11-21 15:16:11 -05:00
Michael Rose a2620d34f6 Add support for utterances (#1966)
* Add support for utterances
* Add utterances config documentation
* Update CHANGELOG and history

Close #1909
2018-11-21 14:59:14 -05:00
Michael Rose d89c9a35fe Update CHANGELOG and history 2018-11-21 14:16:19 -05:00
Kulbhushan Chand ed24ab50be Punjabi Translation of ui-text (#1962)
* Punjabi Translation of ui-text

There are more than 100 million native speakers of Punjabi language. I am one of them. More details about [punjabi on wikipedia](https://en.wikipedia.org/wiki/Punjabi_language).
All the punjabi translations are perfect with the following exceptions-
  - in the variable name (_config.yml and words_per_minute) which are intentionally left in english.
  - meta_label is empty
2018-11-21 14:14:45 -05:00
Michael Rose bede124d3f Update CHANGELOG and history 2018-11-21 14:08:55 -05:00
Maxime Michel 8fd8a0ff3d Use privacy aware embed options for YouTube & Vimeo (#1964) 2018-11-21 14:06:26 -05:00
Kulbhushan Chand dbec2b9975 Added missing ref attribute (#1959)
As suggested by @mmistakes in https://github.com/mmistakes/minimal-mistakes/issues/1948#issuecomment-439888193
2018-11-20 14:23:07 -05:00
Michael Rose c00e5cf84c Update last modified time 2018-11-19 15:37:01 -05:00
Vincent Tam 4b8de03b82 Update 05-configuration.md (#1956) 2018-11-19 15:34:53 -05:00
Michael Rose 309b664cdb Add jekyll-include-cache installation instructions 2018-11-18 12:59:57 -05:00
Michael Rose 7d257e4e8b Fix FontAwesome script
ref #1922
2018-11-14 10:54:18 -05:00
Michael Rose 2cd757e601 Add crossorigin attribute to FontAwesome script
ref #1922
2018-11-14 10:11:00 -05:00
Michael Rose 5c7fe6b603 Update CHANGELOG and history 2018-11-13 09:37:44 -05:00
Alex Malaszkiewicz d786c190c7 Add rel attribute to social media links in author profile and fotter (#1924) 2018-11-13 09:37:14 -05:00
Michael Rose 85237fda1e Update CHANGELOG and history 2018-11-13 09:35:54 -05:00
Léo Grange d0ee15eb5c add integrity hash for Font Awesome script (#1922)
* add integrity hash for Font Awesome script

As the script is loaded from an external CDN (use.fontawesome.com), its integrity must be ensured mainly for security reasons.
This hash must be updated together with the exact version of Font Awesome, as given on their website.

* Update to FontAwesome 5.5.0
2018-11-13 09:34:54 -05:00
Michael Rose 9aedf9a694 Fix broken link in layout documentation
Close #1940
2018-11-13 09:30:21 -05:00
Michael Rose 6fcd16154a Fix link 2018-11-05 14:52:38 -05:00
Michael Rose 85dca86d0a Fix link 2018-11-05 14:52:09 -05:00
Michael Rose f4cfc87b0a Update CHANGELOG and history 2018-10-29 10:09:39 -04:00
Alex Malaszkiewicz 0db8fc3ffb Remove unnecessary closing bracket (#1915) 2018-10-29 10:09:03 -04:00
Michael Rose 50e1ed8900 Improve color contrast of primary buttons and links 2018-10-29 10:06:52 -04:00
Michael Rose 6bb8ff0c24 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-10-29 08:56:09 -04:00
Michael Rose 6690630917 Fix breadcrumb navigation alignment
Fixes #1917
2018-10-29 08:55:05 -04:00
Staticman edae4eaa00 New comment by Jair G (#1911) 2018-10-24 20:07:21 -04:00
Michael Rose 39a0aa91de Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-10-23 10:40:59 -04:00
Michael Rose bf2c543c6c Update CHANGELOG and history 2018-10-23 10:38:42 -04:00
Yash Ketkar 45d2ad86ed Hindi Translation of ui-text #1887 (#1888)
* Hindi Translation of ui-text #1887
* Update README.md and about.md
2018-10-23 10:37:41 -04:00
Michael Rose 28e918e47d Update history 2018-10-23 10:33:28 -04:00
Paul Fioravanti 98d518817f Revert caching for comments and analytics. Fixes #1905 (#1907) 2018-10-23 10:32:41 -04:00
Michael Rose c8f4820d31 Fix Algolia search link positioning (#1904)
* Add link for testing purposes
* Fix excerpt link positioning in Algolia search results
* Fix Algolia search input color
* Update CHANGELOG and history

Fixes #1903
2018-10-22 13:56:43 -04:00
Michael Rose de15fb80c4 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-10-09 17:46:38 -04:00
Michael Rose 4f21d99d56 Fix license path 2018-10-09 17:46:34 -04:00
Michael Rose c3693656dd Update license (#1886) 2018-10-09 17:44:56 -04:00
Michael Rose 91e71e3de5 Update CHANGELOG and history 2018-10-09 14:49:36 -04:00
Justin Rummel e665944f26 Update LUNR to 2.3.3 (#1885)
Close #1882
2018-10-09 14:48:51 -04:00
Michael Rose f932eeae3e Update CHANGELOG and history 2018-10-09 13:55:53 -04:00
Ben McGough 05d296c247 Fix Lunr search index merging words (#1884)
Close #1883
2018-10-09 13:54:36 -04:00
Michael Rose 86d64f412c Move jekyll-include-cache notice up 2018-10-04 23:27:49 -04:00
Michael Rose 9e8899569a Add jekyll-include-cache to docs Gemfile 2018-10-04 20:21:36 -04:00
Michael Rose 2a323940b7 Add notice for fixing Unknown tag 'include_cached'
Fixes #1875
2018-10-04 20:17:37 -04:00
Michael Rose e704cd40d4 Cache "static" includes to improve build performance (#1874)
* Add jekyll-include-cache plugin
* Cache "static" includes to improve build performance
* Update CHANGELOG and history

"Static" refers to those includes that don't rely on data passed from the page content.
2018-10-04 15:48:26 -04:00
Michael Rose c801107754 Make entire archive/feature item "clickable" (#1864)
* Make entire feature item "clickable"

Use a pseudo element on the call to action button to cover the entire feature item and make it "clickable".

* Make entire archive item "clickable"

Use a pseudo element on the `<a>` element to cover the entire archive item and make it "clickable".

* Update CHANGELOG and history

* Reference issue
2018-10-02 11:04:28 -04:00
Staticman 71df5e0112 New comment by Bobby (#1863) 2018-10-02 08:29:40 -04:00
Michael Rose dcdbba835c Change GitHub issue templates 2018-09-28 20:45:34 -04:00
Michael Rose a7258d4fe4 Update CHANGELOG and history 2018-09-21 09:50:42 -04:00
Maxime Michel 4bd6efc323 Allow custom Staticman endpoints (#1845) 2018-09-21 09:49:58 -04:00
Michael Rose 6d6d738e23 Update CHANGELOG and history 2018-09-16 18:20:05 -04:00
Christian Oliff 2f1b8f3321 Update algolia-search-scripts.html (#1836)
not needed for HTML5 and saves a few bytes by removing
2018-09-16 18:18:46 -04:00
Michael Rose 0a7cab0180 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-09-16 18:17:39 -04:00
Michael Rose a5e96659a0 Update CHANGELOG and history 2018-09-16 18:17:37 -04:00
Christian Oliff adfbe8622b Remove unneeded HandheldFriendly and MobileOptimized meta tags (#1837)
Fixes: #1835
2018-09-16 18:16:47 -04:00
Michael Rose 7869947455 Update CHANGELOG and history 2018-09-16 18:15:06 -04:00
Christian Oliff fe67efdee8 Update Font Awesome to latest version (#1830) 2018-09-16 18:13:50 -04:00
Michael Rose 396e2ae402 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-09-16 18:12:41 -04:00
Michael Rose 2167884cae Update CHANGELOG and history 2018-09-16 18:12:38 -04:00
Christian Oliff 07f203bd1d Always load Google 404 Linkhelp script over HTTPS (#1829)
Also removed unneeded type
2018-09-16 18:10:13 -04:00
Michael Rose a95fae0155 Properly apply relative_url filter to internal links in header overlay actions array 2018-09-11 11:42:21 -04:00
Michael Rose 90f5a98406 Remove deprecated base_path include helper 2018-09-11 09:58:22 -04:00
Michael Rose 2f40bb6403 Release 4.13.0 💎 2018-09-10 19:38:50 -04:00
Michael Rose 98682985d7 Add Romanian localized UI text strings 2018-09-10 19:06:31 -04:00
Claudiu Constantin 5b2a699a11 Update ui-text.yml with Romanian translation (#1814)
* Update ui-text.yml with Romanian translation

Added the translations for Romanian

* Update ui-text.yml

Corrected „less_than” with a proper translation for the context where it is being used

* Update docs

Added Romanian to the languages list
2018-09-10 19:04:20 -04:00
Michael Rose f4bb3971e7 Add social icon colors for Reddit and Mastodon 2018-09-10 15:11:58 -04:00
Michael Rose 2ef2f27ab9 Update CHANGELOG and history 2018-09-10 15:11:45 -04:00
Michael Rose 1504379168 Improve footer link flexibility
Deprecate hardcoded footer links in favor or new `footer.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
footer:
  links:
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```
2018-09-10 15:06:50 -04:00
Michael Rose 42de7a56fc Improve author link flexibility
Deprecate social networking links in `_config.yml` in favor or new `author.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
author:
  links:
    - label: "Your Website"
      icon: "fas fa-fw fa-link"
      url: "https://your-site.com"
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```

Fixes #1581
2018-09-10 15:05:07 -04:00
Michael Rose 68df0b6b63 Add header actions array support for multiple call to action links
```
header:
  overlay_image: /assets/images/unsplash-image-1.jpg
  og_image: /assets/images/page-header-og-image.png
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  actions:
    - label: "Learn More"
      url: "https://unsplash.com"
```

Fixes #1461
2018-09-10 11:04:06 -04:00
Michael Rose 833ab3933d Add support to gallery helper for defining column layout
e.g. `{% include gallery id="gallery" layout="half" caption="2 column gallery caption" %}

Fixes #1821
2018-09-10 10:24:24 -04:00
Michael Rose d082dc2a39 Fix sidebar navigation list toggle.
Prettier managled `@include breakpoint` media queries causing the input/checkbox toggle hack styles to go missing.

Fixes #1819
2018-09-05 15:29:45 -04:00
Michael Rose d23a569eff Update CHANGELOG and history 2018-09-05 15:18:56 -04:00
Michael Rose 0fe7a7af2e Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-09-05 15:17:43 -04:00
Michael Rose 192c22a637 Place :hover declarations after :visited to fix hover animation
Fixes #1820
2018-09-05 15:16:31 -04:00
Michael Rose 174dfd1ba0 Update CHANGELOG and history 2018-09-02 12:20:50 -04:00
Michael Rose b0ff6ef4c6 Release 4.12.2 💎 2018-09-02 12:18:51 -04:00
Michael Rose 1bebba692c Update CHANGELOG and history 2018-09-02 12:14:36 -04:00
Michael Rose a50c84e5d7 Add missing translation texts 2018-09-02 12:14:26 -04:00
Samplasion ea2573fdc9 Add Italian translation for search (#1793) 2018-09-02 12:12:04 -04:00
Staticman c0725e9653 New comment by Richard Rich Steinmetz (#1796) 2018-08-21 07:59:16 -04:00
Michael Rose 0d9978fe65 Wrap Liquid tag with {% raw %} 2018-08-15 09:55:35 -04:00
Michael Rose 8dc845e4fb Fix TOC icon 2018-08-15 09:53:16 -04:00
Michael Rose 7ffc103437 Fix heading levels in comments section 2018-08-15 09:50:22 -04:00
Michael Rose 3ada7c1483 Adjust toc indents 2018-08-15 09:46:57 -04:00
Michael Rose 4a072e50dc Add table of contents test posts 2018-08-15 09:44:21 -04:00
Michael Rose b40018d280 Update CHANGELOG and history 2018-08-15 09:41:18 -04:00
Michael Rose 07411719a0 Update jekyll-toc to v1.0.5 2018-08-15 09:38:22 -04:00
Michael Rose 961d0b4db8 Add table of contents test post 2018-08-15 09:38:08 -04:00
Michael Rose 2d808b783d Add table of contents test posts 2018-08-15 09:35:02 -04:00
Michael Rose 3b77428c49 Allow heading levels 1-6 in table of contents
Adjust minimum and maximum levels to allow all headings and fix CSS to style indentation and nested lists properly in jekyll-toc and Kramdown generated table of contents.

Fixes #1782
2018-08-15 09:34:45 -04:00
Michael Rose cd14423918 Reduce padding and adjust toc font-size
Fit more text to handle indentation better.

Ref: #1782
2018-08-15 09:32:55 -04:00
Michael Rose 0c1157977d Fix capitalization 2018-08-15 09:07:18 -04:00
Michael Rose 61fee28543 Update CHANGELOG and history 2018-08-13 08:01:43 -04:00
Luc Sarzyniec f5c33989c8 Fix: use relative links for menu items when possible (#1783) (#1784) 2018-08-13 08:00:39 -04:00
Michael Rose 67f94f0588 Update CHANGELOG and history 2018-08-10 08:59:20 -04:00
Pat Eskinasy 74def8eb65 Fixing scaling issue w. emoji in Sidebar Author Profile (#1780)
* Fixing scaling issue w. emoji in Sidebar Author Profile

Had the same issue as in mmistakes#1554

So should there be more demand for having emojis in sidebar, this style change fixes it

* Fix indendation and nesting
2018-08-10 08:57:27 -04:00
Michael Rose f008388e39 Add test menu items 2018-08-10 08:55:06 -04:00
Michael Rose 623ac4a650 Adjust height of navigation toggle 2018-08-10 08:54:56 -04:00
Michael Rose f9c418c740 Update Staticman commit message to include name 2018-08-10 08:04:00 -04:00
Michael Rose 73f47af242 Switch $nav-height to a relative unit 2018-08-09 15:56:12 -04:00
Michael Rose 1fbbe993c6 Increase navigation min-height 2018-08-09 15:52:50 -04:00
Michael Rose ca9d1ccb58 Update CHANGELOG and history 2018-08-09 15:46:52 -04:00
Michael Rose b3d7ea1fc6 Increase font-size to improve readability 2018-08-09 15:43:50 -04:00
Michael Rose c259535e44 Use sentence case for better readability 2018-08-09 15:43:27 -04:00
Michael Rose ec0f75b9c0 Adjust feature row spacing and font-sizes 2018-08-09 15:34:20 -04:00
Michael Rose 9c65724955 Style archive links with appropriate link color 2018-08-09 15:06:55 -04:00
Michael Rose e707057fa8 Improve side navigation spacing in relation to masthead 2018-08-09 15:06:00 -04:00
Michael Rose 676b9cc0e3 Update CHANGELOG and history 2018-08-09 09:24:55 -04:00
Mark Crossfield 26e3864478 Add {{ content }} to home layout (#1775)
* Add `{{ content }}` to `home` layout

Allow the author to add content which will appear above the list of
recent posts. This also allows the `home` layout to be extended.

Add text to index.html in tests to indicate that the content appears in
the correct spot.

* Add paragraph markup

Since this is a HTML file, proper paragraph markup is needed.
2018-08-09 09:23:57 -04:00
Michael Rose 0adebd240f Update CHANGELOG and history 2018-08-07 23:05:05 -04:00
Michael Rose 7760108601 Release 4.12.1 💎 2018-08-07 22:59:46 -04:00
Michael Rose ac618ec2b5 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-08-07 22:54:34 -04:00
Michael Rose 4cfbede6e4 Bump dependencies 2018-08-07 22:54:25 -04:00
Michael Rose ecd1748247 Remove slash at the beginning of path in staticman.yml example 2018-08-07 15:55:19 -04:00
genghisun 858b5cc2a4 remove the slash at the beginning of the 'path' in staticman.yml's example (#1772) 2018-08-07 15:52:32 -04:00
Michael Rose 2be90f8f4a Update CHANGELOG and history 2018-08-07 15:50:53 -04:00
Gasser Loïc c427b9bd39 Add french translations (#1769) 2018-08-07 15:49:00 -04:00
Michael Rose 120ba7a0b0 Update CHANGELOG and history 2018-07-24 10:44:39 -04:00
Brian Exelbierd 3c48a2ed02 Allow time to be shown with a header image overlay (#1756)
Fix `read_time` logic in header image overlay
2018-07-24 10:43:54 -04:00
Michael Rose 9cfa4865fd Update CHANGELOG and history 2018-07-24 10:40:02 -04:00
Christian Oliff 89d3cb3d02 Update font awesome (#1754)
* Update scripts.html

* update to 5.2.0

REF: https://github.com/FortAwesome/Font-Awesome/releases
2018-07-24 10:38:49 -04:00
Michael Rose 99f727138f Fix link 2018-07-19 11:31:49 -04:00
Michael Rose a3fe9487ce Add note about updating Gemfile when forking theme 2018-07-19 11:26:33 -04:00
Michael Rose f1231ce243 Update CHANGELOG and history 2018-07-10 16:00:25 -04:00
Flohw 8d2625bdf2 Update french labels (#1741) 2018-07-10 15:59:12 -04:00
Staticman fc3e7a6176 New comment (#1716) 2018-06-23 18:47:26 -04:00
Staticman 8de5331a81 New comment (#1715) 2018-06-23 18:42:58 -04:00
Michael Rose 8dcb71e312 Link to sample post 2018-06-22 16:19:59 -04:00
Michael Rose ae99717eb6 Release 4.12.0 💎 2018-06-22 15:16:17 -04:00
Michael Rose 3e367ed881 Update CHANGELOG and history 2018-06-22 14:27:47 -04:00
Christian Oliff 9a94fb0f96 update Font Awesome (#1711)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-06-22 14:26:47 -04:00
Michael Rose 39522e876f Add default value 2018-06-11 08:19:33 -04:00
Michael Rose 4c06fe7003 Update CHANGELOG and history 2018-06-11 08:17:26 -04:00
David Tomaschik 53d1063c17 Include a default title_separator (#1701)
The current code prevented any separator being included when site.title_separator was unset.
2018-06-11 08:17:03 -04:00
Michael Rose 2ba69591bf Update TOC documentation 2018-06-11 07:57:02 -04:00
Michael Rose 9dd3a3a49a Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-06-04 12:11:40 -04:00
Michael Rose b0689a928d Update CHANGELOG and history 2018-06-04 12:11:04 -04:00
GwonHyeok 70bff53a41 fix typo in seo template (#1687)
naver-site-verification to naver_site_verification
2018-06-04 12:10:27 -04:00
Michael Rose 206f89ed6b Update CHANGELOG and history 2018-06-04 12:06:19 -04:00
Michael Rose 738254cd9f Add Hungarian localized UI text strings 2018-06-04 12:06:12 -04:00
gezapeti 4f934bf9ff Hungarian translation of ut-text #1681 (#1682) 2018-06-04 12:03:14 -04:00
Michael Rose 195105c3df Update CHANGELOG and history 2018-06-04 11:58:56 -04:00
Michael Rose 2e1ff9eeb1 DRY categories_max calculation in categories.html layout 2018-06-04 11:58:26 -04:00
Dan Jackson e366a9a72b DRY tags_max calculation in _layouts/tags.html (#1696)
It was being done twice, and it doesn't seem to need to be.
2018-06-04 11:54:29 -04:00
Michael Rose 2bf2c83fea Update CHANGELOG and history 2018-05-31 10:23:47 -04:00
Michael Rose 7cbd61130b Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-05-31 10:22:34 -04:00
Michael Rose 4fbc846414 Add sticky table of contents test posts 2018-05-31 10:22:13 -04:00
Michael Rose f0f5dded48 Add toc_sticky to stick table of contents
"Stick" table of contents to top of the page by adding:

```
toc: true
toc_sticky: true
```

to a post or page's YAML Front Matter.
Note: only supported with `single` layout.
2018-05-31 10:22:02 -04:00
Michael Rose 789f4a5aeb Remove duplicate images 2018-05-31 10:17:59 -04:00
Michael Rose d497e787e9 Add missing images to /test 2018-05-31 10:17:11 -04:00
Staticman e5797284a8 New comment (#1694) 2018-05-30 10:25:21 -04:00
Staticman aeb4742858 New comment (#1693) 2018-05-30 10:22:12 -04:00
Staticman c5c964742a New comment (#1690) 2018-05-28 09:40:56 -04:00
Staticman d475c9ac49 New comment (#1686) 2018-05-23 09:31:59 -04:00
Michael Rose 50dca72f4b Add feature row image caption example 2018-05-15 15:43:34 -04:00
Michael Rose 648254b2b5 Add support for captioning images in feature row helper
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close #1440
2018-05-15 15:41:45 -04:00
Michael Rose bcde2d76ea Fix typo in classname 2018-05-15 15:08:39 -04:00
Michael Rose 5adcb277b8 Add Google Custom Search Engine configuration documentation 2018-05-15 15:06:00 -04:00
Michael Rose 497b3bb741 Update CHANGELOG and history 2018-05-15 14:47:32 -04:00
Michael Rose 9b17ac9856 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-05-15 14:46:03 -04:00
user414 3a817c2bdb Implement feature #1652 google custom search support. (#1667)
Implement feature #1652 google custom search support. For now we only support the look and feel "results only" and the engine must be set to use that layout. Add a google section to the search providers and search_form and search layout.

Close #1652
2018-05-15 14:42:10 -04:00
Michael Rose f031c08c84 Fix table of contents missing borders
Fixes #1675
2018-05-15 14:36:10 -04:00
Michael Rose f744cea6a1 Update CHANGELOG and history 2018-05-11 12:48:34 -04:00
Christian Oliff 28ef6b07d7 update Font Awesome (#1668)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-05-11 12:47:42 -04:00
Michael Rose 1b61c1dd44 Update CHANGELOG and history 2018-05-11 12:47:09 -04:00
Jamie Smith 0101aac2ca fix broken recipe collection and make pets work (#1664) 2018-05-11 12:45:32 -04:00
Michael Rose c5562f53c1 Update CHANGELOG and history 2018-05-11 12:43:44 -04:00
Troy Lindsay 8f900dd3f2 #1659: Prevent line breaking between icon & text in footer social links (#1660) 2018-05-11 12:42:13 -04:00
Michael Rose ea37611d60 Update stale.yml 2018-05-10 11:47:48 -04:00
Michael Rose 08a0a6d5e3 Update CHANGELOG and history 2018-05-08 10:47:56 -04:00
Troy Lindsay c6d726408e #1656: Update example Reddit social share interpolation syntax (#1657) 2018-05-08 10:46:44 -04:00
Michael Rose 042bd5a361 Update CHANGELOG and history 2018-05-08 10:45:10 -04:00
Troy Lindsay 37e5fd11d4 #1653: Add GitLab social icon brand color (#1654) 2018-05-08 10:43:53 -04:00
Michael Rose fa0acf455f Fix "Back to Top" links
Pages that use header overlays were missing `#page-title` anchors on the `<h1>` element.
2018-05-08 10:40:42 -04:00
Michael Rose cc2793fddc Use latest jekyll-algolia gem 2018-05-07 13:11:25 -04:00
Michael Rose ddd5b7a9c5 Revert "Test jekyll-algolia 1.4.0"
This reverts commit 74d7e838ee.
2018-05-04 15:12:56 -04:00
Michael Rose 89a6f9bf4b Revert "Fix gem name"
This reverts commit 1c57e7cd43.
2018-05-04 15:12:45 -04:00
Michael Rose 1c57e7cd43 Fix gem name 2018-05-04 15:04:37 -04:00
Michael Rose ef96114ece Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-05-04 15:02:24 -04:00
Michael Rose 74d7e838ee Test jekyll-algolia 1.4.0 2018-05-04 15:02:18 -04:00
Michael Rose f4ffaa2aeb Release 4.11.2 💎 2018-05-03 19:32:48 -04:00
Michael Rose 7092d4301e Update Font Awesome to 5.0.12 2018-05-03 15:51:06 -04:00
Michael Rose 3ffe095474 Roll back Jekyll Algolia 2018-05-03 15:30:00 -04:00
Michael Rose 0b7a26687d Rollback Jekyll Algolia 2018-05-03 15:20:10 -04:00
Michael Rose 68c8c75419 Revert "Enable jekyll-remote-theme"
This reverts commit 2cfe3c4440.
2018-05-03 15:19:07 -04:00
Michael Rose 2cfe3c4440 Enable jekyll-remote-theme 2018-05-03 15:16:05 -04:00
Michael Rose 61859342c3 Revert "Test Travis CI config changes"
This reverts commit fc80042a9e.
2018-05-03 15:14:54 -04:00
Michael Rose e14c7e45ca Revert "Add Travis Gemfile"
This reverts commit 3405703cda.
2018-05-03 15:14:47 -04:00
Michael Rose 3405703cda Add Travis Gemfile 2018-05-03 15:09:52 -04:00
Michael Rose fc80042a9e Test Travis CI config changes 2018-05-03 15:08:33 -04:00
Michael Rose 6768e45eae Revert "Force bundle installing on Travis"
This reverts commit 1553af9a61.
2018-05-03 14:52:41 -04:00
Michael Rose 1553af9a61 Force bundle installing on Travis 2018-05-03 14:48:45 -04:00
Michael Rose 0f1816e88f Update CHANGELOG and history 2018-05-03 14:31:48 -04:00
Michael Rose 0bd3cf599c Anonymize IP addresses for GA 2018-05-03 14:31:40 -04:00
Michael Rose 0723a9de3e Add anonymize_ip option to documentation 2018-05-03 14:31:27 -04:00
Bruno Coelho 13b2969bb8 Add option to anonymize analytics ip address (#1636)
* Add option to anonymize analytics ip address

* Add option to anonymize analytics ip address in google tag
2018-05-03 14:27:03 -04:00
Christian Oliff ac2b8db6b3 Update Font Awesome to v5.0.11 (#1620)
* Update Font Awesome to v5.0.10

https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md

* Update scripts.html
2018-05-03 14:24:25 -04:00
Michael Rose d4b4c890db Add Slovak localized UI text strings 2018-04-10 08:43:11 -04:00
svacko 6600162870 Add Slovak translation of ui-text (#1613) 2018-04-10 08:37:36 -04:00
Michael Rose 847d96df52 Update issue template 2018-04-01 15:58:49 -04:00
Michael Rose 2248a4b1ba Add conditionals for showing reCaptcha keys in form 2018-03-30 18:39:54 -04:00
Michael Rose c0ee81ea7c Add "Back to Top" text string 2018-03-29 12:48:27 -04:00
Lars Olesen 69fc984e9e Fix UI-text variable and add Danish Translation for Back to top (#1598)
* Added Danish Translation for Back to top

* Update categories.html

* Update tags.html

* Update posts.html
2018-03-29 12:45:29 -04:00
Michael Rose b04f420b9f Update CHANGELOG and history 2018-03-29 12:35:12 -04:00
Christian Oliff 2c03e688f8 Update Font Awesome (#1605)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-03-29 12:34:02 -04:00
Michael Rose 7d25db8f01 Fix typo 2018-03-20 17:32:37 -04:00
Michael Rose ae23e1839f Remove link 2018-03-20 17:32:01 -04:00
Michael Rose 1ab092bcd4 Release 4.11.1 💎 2018-03-20 17:30:07 -04:00
Michael Rose 9bc97aee23 Test external URL 2018-03-20 16:16:50 -04:00
Michael Rose d9bf5025f3 Use relative_url filter 2018-03-20 16:16:42 -04:00
Michael Rose 4d4531d19f Replace absolute_url with relative_url 2018-03-20 16:01:21 -04:00
Michael Rose a76c16ee23 Harmonize class names 2018-03-20 15:38:24 -04:00
Michael Rose 19a943eec1 Fix permalinks 2018-03-20 15:34:17 -04:00
Michael Rose 483184d566 Add new layouts 2018-03-20 15:34:10 -04:00
Michael Rose cc81736778 Replace hard coded archive pages with layouts 2018-03-20 15:09:40 -04:00
Michael Rose 4cfbd7a5aa Document new layouts 2018-03-20 15:06:41 -04:00
Michael Rose a8d3b4b613 Use collection layout 2018-03-20 14:47:23 -04:00
Michael Rose 31b20a6ad0 Add wide modifier to archive layout 2018-03-20 14:47:13 -04:00
Michael Rose ba5d25c419 Replace hard coded archive pages with new layouts 2018-03-20 14:39:40 -04:00
Michael Rose ffef5a93de Clear floats 2018-03-20 14:39:15 -04:00
Michael Rose 467a748815 Configure entries layout list or grid
Switch between list or grid view by adding `entries_layout` to YAML Front Matter.
2018-03-20 14:38:55 -04:00
Michael Rose d6605146ac Add posts, categories, category, tags, tag, and collection layouts
Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
2018-03-20 12:45:28 -04:00
Michael Rose 2463b55c4c Add id to page title 2018-03-20 12:38:54 -04:00
Michael Rose 5e60d2d3c5 Fix search excerpts that run together 2018-03-20 11:48:30 -04:00
Michael Rose c8226a32a6 Replace absolute_url with relative_url
Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
2018-03-20 11:35:36 -04:00
Michael Rose fbb7356d74 Remove space 2018-03-14 12:56:53 -04:00
Michael Rose 25c4bb37ec Remove space 2018-03-14 12:56:02 -04:00
Michael Rose bac26e96b2 Add default theme and remote_theme values to _config.yml 2018-03-14 12:54:15 -04:00
Michael Rose b274ada35c Update version 2018-03-12 19:38:21 -04:00
Michael Rose 7239604922 Release 4.10.1 💎 2018-03-12 19:32:55 -04:00
Michael Rose 6997319c47 Update CHANGELOG and history 2018-03-12 19:29:00 -04:00
Michael Rose e7095c49d9 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-03-12 19:27:51 -04:00
Matías E. Fernández 79d0b75683 Add support for Google Analytics with global site tag (gtag.js) (#1563)
For documentation see https://developers.google.com/analytics/devguides/collection/gtagjs/
and https://support.google.com/analytics/answer/7538414.
2018-03-12 19:27:42 -04:00
Michael Rose eebf6f4b3c Add missing German translations 2018-03-12 19:25:49 -04:00
Tobias L. Maier 39bf00055a Add more translations for de (#1577)
* Add more translations for de

* Fix Typo
2018-03-12 19:23:17 -04:00
Christian Oliff 04716862b0 Update Font Awesome JS to 5.0.8 (#1561)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-03-12 19:22:30 -04:00
Staticman df1e07e3fc New comment (#1574) 2018-03-11 08:55:41 -04:00
Staticman 1db41bc1f6 New comment (#1572) 2018-03-10 09:27:36 -05:00
Staticman bf8b42be17 New comment (#1573) 2018-03-10 09:26:19 -05:00
Michael Rose f52d91a6aa Update CHANGELOG and history 2018-03-09 15:20:25 -05:00
Michael Rose 0be9facfad Revert "Place options before Jekyll command"
This reverts commit 4a7b7a67dd.
2018-03-09 15:14:35 -05:00
Michael Rose 4a7b7a67dd Place options before Jekyll command 2018-03-09 15:12:36 -05:00
Michael Rose fa50bbbe39 Add source and destination paths to build script 2018-03-09 15:11:37 -05:00
Michael Rose 279cd603c3 Fix typo 2018-03-09 15:06:29 -05:00
Michael Rose 973f1fcf98 Fix _config.yml path in build script 2018-03-09 15:04:28 -05:00
Michael Rose 416364471f Set /docs Gemfile 2018-03-09 15:00:29 -05:00
Michael Rose d0473d202a Edit Travis CI build script 2018-03-09 14:56:41 -05:00
Michael Rose 4a03354667 Activate Algolia search on documenation site 2018-03-09 14:52:47 -05:00
Michael Rose 588a044986 Convert EOL sequence to LF 2018-03-06 16:12:46 -05:00
Michael Rose 279770bb5e Update CHANGELOG and history 2018-03-01 11:32:18 -05:00
Christian Oliff b99592bad0 Update Font Awesome JS to 5.0.7 (#1555) 2018-03-01 11:30:19 -05:00
arturamaj a362e3b309 polish language code fix (#1550) 2018-02-24 14:36:57 -05:00
Staticman 4a466b1465 New comment (#1548) 2018-02-23 15:17:31 -05:00
Staticman 95226ac727 New comment (#1542) 2018-02-21 16:08:26 -05:00
Staticman c3ab58f99c New comment (#1541) 2018-02-21 16:05:54 -05:00
Michael Rose 7692a98fce Fix formatting 2018-02-21 08:01:07 -05:00
Christian Oliff 923019e7de update to jquery 3.3.1 (#1540) 2018-02-21 07:41:28 -05:00
Christian Oliff abfefd920d https link to realfavicongenerator.net (#1539) 2018-02-21 07:41:00 -05:00
Michael Rose 1493db8fdf Remove apostrophe 2018-02-19 08:13:24 -05:00
Michael Rose f878aa943b Add link to jekyll-algolia's documentation 2018-02-19 08:10:26 -05:00
Michael Rose 73d82964a2 Update jQuery to v3.3.1
Close #1491
2018-02-16 15:19:01 -05:00
Michael Rose 356c1eb093 Focus Algolia search input 2018-02-16 15:12:57 -05:00
Michael Rose d720398c24 Update CHANGELOG and history 2018-02-16 14:40:56 -05:00
Michael Rose f4b72fef3e Update Algolia search demo URL 2018-02-16 14:37:47 -05:00
Michael Rose ba9079041b Release 4.10.0 💎 2018-02-16 14:27:49 -05:00
Michael Rose 1ec7954277 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-02-16 14:24:21 -05:00
Michael Rose b0ee45b4de Update default layout override 2018-02-16 14:24:17 -05:00
Michael Rose acdd3443de Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Michael Rose 8f483ae906 Fix gem name 2018-02-06 15:59:31 -05:00
Michael Rose c415ed0bed Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-02-06 15:57:49 -05:00
Michael Rose a2cde2c7f9 Update badges 2018-02-06 15:57:44 -05:00
Michael Rose 19ace79114 Update .gitattributes 2018-02-06 15:25:37 -05:00
Michael Rose af7c8a136a Revert "Rename LICENSE.txt to LICENSE"
This reverts commit e2d0b00902.
2018-02-06 15:22:12 -05:00
Michael Rose e2d0b00902 Rename LICENSE.txt to LICENSE 2018-02-06 15:19:59 -05:00
Michael Rose 4462d77420 Update linguist-vendored globs 2018-02-06 14:46:11 -05:00
Michael Rose 2598fbd6d4 Update linguist-vendored globs 2018-02-06 13:56:14 -05:00
Michael Rose 9d994f621b Remove apostrophe 2018-02-05 14:47:09 -05:00
Michael Rose b9d9dc11bf Release 4.9.1 💎 2018-02-05 14:41:43 -05:00
Michael Rose b600046247 Add space 2018-02-05 14:37:13 -05:00
Michael Rose b59d53e34b Add sample wide pages and update documentation 2018-02-05 14:34:32 -05:00
Peter Ahrens ba4a07d771 Giving the people what they want: A new, wider "wide" class for the "single" layout. (#1516)
Add `wide` variant to single layout
2018-02-05 14:23:44 -05:00
Michael Rose ecf22d2d38 Fix grammar 2018-02-01 14:46:27 -05:00
Michael Rose be68ed4259 Fix merge conflicts 2018-02-01 14:35:27 -05:00
Michael Rose ed533591d0 Update CHANGELOG and history 2018-02-01 14:31:51 -05:00
Michael Rose 264bc75963 Update CHANGELOG and history 2018-02-01 07:32:26 -05:00
Christian Oliff d98808385f Update Font Awesome to latest version (#1513)
Update Font Awesome to latest version
2018-02-01 07:31:18 -05:00
Tom f711708abe Rectify German UI text (#1511) 2018-02-01 07:30:19 -05:00
Andrea 3598e8ebf2 Fix docs. Change Isaac Newton with Albert Einstein (#1508) 2018-01-30 20:28:44 -05:00
Michael Rose 1c0f19158d Replace | with HTML entity when used as title separator
ref: #760, #1506
2018-01-29 20:38:47 -05:00
Michael Rose 63e2226054 Update stale.yml 2018-01-26 08:26:07 -05:00
Michael Rose fd2cc8ea53 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-01-23 19:57:47 -05:00
Michael Rose 46ad2cf4d4 Remove ignore file 2018-01-23 19:57:44 -05:00
Michael Rose 344d52f4c6 Fix border bottom for Gist line numbers 2018-01-23 15:59:12 -05:00
Michael Rose 6efa23ebd9 Update CHANGELOG and history 2018-01-18 10:26:43 -05:00
googlr 61bad6d0aa fix a typo in 04-upgrading.md (#1487) 2018-01-18 10:25:33 -05:00
Michael Rose 4f54154ee5 Update CHANGELOG and history 2018-01-17 14:38:20 -05:00
Michael Rose cd8fd82587 Remove extra spaces after : 2018-01-17 14:36:43 -05:00
d00616 6fee80f754 Fix jsonify name in seo.html application/ld+json script (#1485) 2018-01-17 14:35:50 -05:00
Michael Rose 176f972418 Update CHANGELOG and history 2018-01-17 14:21:28 -05:00
Michael Rose d90a3d521a Add archive feature row test page 2018-01-17 14:14:01 -05:00
Michael Rose ed840e9809 Add archive feature row test page 2018-01-17 12:54:28 -05:00
Michael Rose a86af6d6dc Adjust feature row styling when used on an archive layout 2018-01-17 12:54:11 -05:00
Michael Rose 97387fa59a Remove misleading underline hover state
Implies the feature item's title and image are clickable, when in fact they aren't links.
2018-01-17 12:53:33 -05:00
Michael Rose 0ec52b57ce Replace toc include with toc: true 2018-01-17 12:48:33 -05:00
Michael Rose 637d113179 Remove base_path include from pages 2018-01-17 12:48:19 -05:00
Michael Rose fb9f13c624 Reduce font-size of page meta in list/grid items 2018-01-17 12:44:21 -05:00
Michael Rose 3b65f1de8d Underline archive item titles 2018-01-17 12:35:45 -05:00
Michael Rose 474ed73228 Update issue template 2018-01-17 11:50:08 -05:00
Michael Rose cf9ac441bb Fix author sidebar icon colors for dark skins
Fixes #1482
2018-01-16 17:40:30 -05:00
Michael Rose b6ff1e5ce0 Update CHANGELOG and history 2018-01-16 08:10:10 -05:00
Michael Rose aa960cc57c Add new translations to Russian locale 2018-01-16 08:10:02 -05:00
Dmitry Khraponov a56161cc78 add new traslations (#1477) 2018-01-16 08:08:25 -05:00
Michael Rose 952a099313 Add Danish translations for new search strings 2018-01-15 16:31:10 -05:00
Michael Rose f64b5f14d3 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# Conflicts:
#	docs/_docs/18-history.md
2018-01-15 16:30:32 -05:00
Michael Rose 6993b9aac8 Update CHANGELOG and history 2018-01-15 16:23:36 -05:00
Lars Olesen ba7e8e16c3 Added Danish Translations for new search strings (#1472) 2018-01-15 16:22:21 -05:00
Michael Rose b75b33ed1a Update CHANGELOG and history 2018-01-12 20:43:46 -05:00
Michael Rose 5de9991999 Fix syntax highlighting line number inconsistency
Globally enabling Rouge block line numbers in Kramdown _config.yml settings should be styled consistently with `{% highlight linenos %}` Jekyll tag.

Fixes #1467
2018-01-12 20:42:25 -05:00
Michael Rose 1be03e6335 Update CHANGELOG and history 2018-01-10 11:46:54 -05:00
Michael Rose 527d187e82 Replace hardcoded 10 with actual button width 2018-01-10 11:45:35 -05:00
Michael Rose 8d5429bcc0 Add Lunr license 2018-01-10 11:22:41 -05:00
Michael Rose ca779e74cb Update CHANGELOG and history 2018-01-10 11:17:57 -05:00
Michael Rose 046d93d05b Add copyright and version back 2018-01-10 11:17:50 -05:00
Michael Rose f349dff2ee Minify lunr.js 2018-01-10 11:14:59 -05:00
Michael Rose e305cc79f1 Replace Vimeo video with working one 2018-01-09 14:28:43 -05:00
Michael Rose 6b66bbe914 Replace Vimeo video with working one 2018-01-09 14:26:38 -05:00
Michael Rose d200fb509d Change TOC icon 2018-01-09 14:23:22 -05:00
Michael Rose 7d48f1cae1 Remove remote-theme from plugins and whitelist array
remote-theme gem is a dependency of GitHub Pages and doesn't need to be assigned in the `_config.yml` anymore.
2018-01-09 14:19:09 -05:00
Michael Rose c24aae3fad Fix typo 2018-01-09 14:17:40 -05:00
Michael Rose 3c3634fe2c Use master branch version of remote theme 2018-01-09 14:02:04 -05:00
Michael Rose 20e1c5953a Update CHANGELOG and history 2018-01-09 14:01:36 -05:00
Michael Rose 51544d5c62 SEO and author fixes (#1456)
* Fix canonical URL
* Fix next/previous page paths
* Group meta types together
* Fix twitter:creator conditional
* Allow `author` to accept an object or string
* Reduce white-space
* Add "website" as default `og:type`
* Add `article:modified_time`
* Show `article:modified_time` on `article` only

Fixes #289
2018-01-09 13:58:35 -05:00
Michael Rose 8fc3692e21 Update CHANGELOG and history 2018-01-09 13:57:11 -05:00
Michael Rose 7de9152d0f Change /test navigation links 2018-01-09 13:56:19 -05:00
Michael Rose 614b6bdf92 Improve greedy navigation's layout when JavaScript is disabled 2018-01-09 13:56:09 -05:00
Michael Rose a8d7bf2237 Add Solarized light syntax highlighting color variables 2018-01-09 09:59:49 -05:00
Michael Rose 2691067e17 Updage CHANGELOG and history 2018-01-08 20:19:39 -05:00
Michael Rose 58b0f45c59 Remove remote_theme gem 2018-01-08 20:16:57 -05:00
Michael Rose 49d09c6c5b Add instructions on how to downgrade 2018-01-08 20:11:05 -05:00
Michael Rose bbf3cbc5fd Add links to installation instructions 2018-01-08 12:10:46 -05:00
Michael Rose e8d9b18d17 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-01-08 11:15:31 -05:00
Michael Rose 1976b564e8 Test SEO and author fixes 2018-01-08 11:15:27 -05:00
Michael Rose 9634bb84fb Simplify year archive Liquid 2018-01-05 20:47:34 -05:00
Michael Rose 6e0ef33ec7 Add table of contents 2018-01-05 08:53:03 -05:00
Michael Rose cab1e50f50 Add Base16 syntax highlighting color examples 2018-01-05 08:51:42 -05:00
Michael Rose 7bc9e5a47b Change language 2018-01-05 08:36:25 -05:00
Michael Rose 8a8235f8d7 Fix grammar 2018-01-05 08:35:30 -05:00
Michael Rose b865158151 Update them upgrade instructions 2018-01-05 08:33:35 -05:00
Michael Rose 32a2e9d104 Update Prettier ignore 2018-01-05 08:12:25 -05:00
247 changed files with 14081 additions and 5323 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
_assets/css/vendor/* 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
+15 -4
View File
@@ -1,15 +1,26 @@
# 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.
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.
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.
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:.
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:.
## Pull Requests
When submitting a pull request:
1. Clone the repo.
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`) and describe the feature or fix.
2. Create a branch off of `master` and give it a meaningful name (e.g.
`my-awesome-new-feature`) and describe the feature or fix.
3. Open a pull request on GitHub.
-57
View File
@@ -1,57 +0,0 @@
<!--
Before submitting please search open and closed issues at
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
Feel free to use the following as a template and remove or add fields as you
see fit. You can convert `[ ]` into `[x]` completed check boxes.
-->
- [ ] This is a question about using the theme.
- [ ] This is a feature request.
- [ ] I believe this to be a bug with the theme.
- [ ] I have updated all gems with `bundle update`.
- [ ] I have tested locally with `bundle exec jekyll build`.
---
## Environment informations
<!--
Please include theme version, Jekyll version, whether you are hosting with
GitHub Pages, and the operating system you are on or tested with.
-->
- **Minimal Mistakes version:**
- **Jekyll version:**
- **GitHub Pages hosted:** yes/no
- **Operating system:**
---
## Expected behavior
<!--
Describe the intended output or what you expected to see.
-->
## Steps to reproduce the behavior
<!--
Include a link to a public repository or ZIP file so that the behavior or bug
can easily be reproduced. Being able to see your actual files helps with
troubleshooting as most issues stem from invalid/missing YAML Front Matter, a
mis-configured _config.sys file, or problematic site content.
Describe the steps you took for this problem to exist. Such as: you cloned 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.
-->
+68
View File
@@ -0,0 +1,68 @@
---
name: "Bug Report"
about: "Is something not working as expected?"
---
<!--
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 use the format below.
-->
## Environment
<!--
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.sys
file, or problematic site content.
-->
- Minimal Mistakes version:
- Ruby gem or remote theme version:
- Jekyll version:
- Git repository URL:
- GitHub Pages hosted (if yes provide URL to site):
- Operating system:
## Expected behavior
<!--
What is it you expected to happen? This should be a description of how the
functionality you tried to use is supposed to work.
-->
## Steps to reproduce the behavior
<!--
Describe the steps you took for this problem to exist. 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.
-->
## Other
<!--
NOTE: Please provide a code repository, gist, code snippet, sample files,
screenshots, or anything else you think will aid in reproducing the issue.
-->
+16
View File
@@ -0,0 +1,16 @@
---
name: "Documentation"
about: "Found a typo or something that needs clarification?"
---
<!-- Thanks for taking the time to open an issue and help make the docs better -->
## Motivation
<!-- Why should we update our docs? -->
<!-- What should we do instead? -->
## Suggestion
<!-- What should we do instead? -->
+32
View File
@@ -0,0 +1,32 @@
---
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
@@ -0,0 +1,22 @@
---
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.
-->
+26
View File
@@ -0,0 +1,26 @@
<!--
Thanks for creating a Pull Request! Before you submit, please make sure
you've done the following:
- Read the contributing document at https://github.com/mmistakes/minimal-mistakes#contributing
-->
<!--
Choose one of the following by uncommenting it:
-->
<!-- This is a bug fix. -->
<!-- This is an enhancement or feature. -->
<!-- This is a documentation change. -->
## Summary
<!--
Provide a description of what your pull request changes.
-->
## Context
<!--
Is this related to any GitHub issue(s)?
-->
-2
View File
@@ -1,2 +0,0 @@
_reset.scss
*.md
+11
View File
@@ -0,0 +1,11 @@
language: ruby
cache: bundler
gemfile: docs/Gemfile
script:
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml
branches:
only:
# Change this to gh-pages if you're deploying using the gh-pages branch
- master
rvm:
- 2.4
+431 -172
View File
@@ -1,3 +1,262 @@
## Unreleased
### Enhancements
- Add Thai localized UI text strings. [#2111](https://github.com/mmistakes/minimal-mistakes/pull/2111)
- Update Font Awesome to [v5.8.1](https://github.com/FortAwesome/Font-Awesome/releases/tag/5.8.1). [#2102](https://github.com/mmistakes/minimal-mistakes/pull/2102)
- Add missing Vietnamese localized UI text strings. [#2097](https://github.com/mmistakes/minimal-mistakes/pull/2097)
- Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe. [#2082](https://github.com/mmistakes/minimal-mistakes/pull/2082)
- Add styling for [GFM task lists](https://help.github.com/en/articles/about-task-lists#creating-task-lists). [#2092](https://github.com/mmistakes/minimal-mistakes/issues/2092)
- Update Google Universal Analytics to load async. [#2079](https://github.com/mmistakes/minimal-mistakes/pull/2079)
- Remove Google+ social sharing button, comment provider, and author link configs from theme.
- Add missing Chinese text strings. [#2072](https://github.com/mmistakes/minimal-mistakes/pull/2072)
### Bug Fixes
- Fix table of contents active link styling.
- Add missing Hindi localized UI text strings. [#2105](https://github.com/mmistakes/minimal-mistakes/pull/2105) [#2106](https://github.com/mmistakes/minimal-mistakes/pull/2106)
- Fix Brazilian Portuguese text strings. [#2098](https://github.com/mmistakes/minimal-mistakes/pull/2098)
- Fix typo in French `results_found` text string. [#2096](https://github.com/mmistakes/minimal-mistakes/pull/2096)
- Fix figures inside of list elements. [#2094](https://github.com/mmistakes/minimal-mistakes/pull/2094)
- Remove Font Awesome `data-search-pseudo-elements` attribute as it degrades smooth scroll performance. [#2075](https://github.com/mmistakes/minimal-mistakes/issues/2075#issuecomment-472437014)
- Fix footnote links incompatibility with smooth scroll plugin. [#2075](https://github.com/mmistakes/minimal-mistakes/issues/2075)
- Loosen Bundler dependency in ruby gem.
## [4.15.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.2)
### Enhancements
- Close search overlay with <kbd>Esc</kbd>. [#2055](https://github.com/mmistakes/minimal-mistakes/pull/2055)
- Update Swedish localized UI text strings. [#2056](https://github.com/mmistakes/minimal-mistakes/pull/2056)
- Update Font Awesome to 5.7.1 and add `data-search-pseudo-elements` attribute. [#2053](https://github.com/mmistakes/minimal-mistakes/pull/2053)
- Add Malayalam localized UI text strings. [#2037](https://github.com/mmistakes/minimal-mistakes/pull/2037)
### Bug Fixes
- Fix table of contents errors with non-English chracters in the headings. [#2042](https://github.com/mmistakes/minimal-mistakes/pull/2042)
- Fix `site.logo` false positives. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-455770730)
- Add empty `alt` attribute to `site.logo` image. [#2035](https://github.com/mmistakes/minimal-mistakes/pull/2035)
## [4.15.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.1)
### Bug Fixes
- Fix empty `<img>` when `site_logo` is not assigned. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876)
## [4.15.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.0)
### Enhancements
- Add logo and title customization to the masthead. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026)
- Add support to customize `issue-term` for utterances comment provider. [#2022](https://github.com/mmistakes/minimal-mistakes/pull/2022)
- Allow custom canonical url on a page-by-page basis. [#2021](https://github.com/mmistakes/minimal-mistakes/pull/2021)
- Update table of contents navigation based on scroll position to indicate which link is currently active in the viewport. [#2020](https://github.com/mmistakes/minimal-mistakes/pull/2020)
- Clicking table of contents links changes URL has fragment. [#2019](https://github.com/mmistakes/minimal-mistakes/pull/2019) [#2023](https://github.com/mmistakes/minimal-mistakes/pull/2023)
## [4.14.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.14.2)
### Enhancements
- Improve accessibility by adding label text to search button toggle. [#2014](https://github.com/mmistakes/minimal-mistakes/pull/2014)
- Update Lunr to 2.3.5. [#2010](https://github.com/mmistakes/minimal-mistakes/pull/2010)
- Shorten Internet Explorer conditional statement in `_includes/head.html`. [#2006](https://github.com/mmistakes/minimal-mistakes/pull/2006)
- Add Persian localized UI text strings. [#2004](https://github.com/mmistakes/minimal-mistakes/pull/2004)
- Remove unused JavaScript variables from Staticman comment script. [#1996](https://github.com/mmistakes/minimal-mistakes/pull/1996)
- Update Font Awesome to 5.6.0. [#1995](https://github.com/mmistakes/minimal-mistakes/pull/1995)
- Change remaining schema.org markup to `https`. [#1978](https://github.com/mmistakes/minimal-mistakes/pull/1978)
- Update NPM dependencies.
### Bug Fixes
- Fix wide tables that overflow parent container. [#2008](https://github.com/mmistakes/minimal-mistakes/issues/2008)
- Fix Spanish `comments_label` and `comments_title` UI text strings. [#1997](https://github.com/mmistakes/minimal-mistakes/pull/1997)
- Allow sidebar navigation with custom sidebar content. [#1986](https://github.com/mmistakes/minimal-mistakes/issues/1986)
- Fix Google Custom Search JavaScript error when not using Instant Search. [#1983](https://github.com/mmistakes/minimal-mistakes/pull/1983)
## [4.14.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.14.1)
### Bug Fixes
- Fix closed navicon on hover.
## [4.14.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.14.0)
### Enhancements
- Change schema.org markup to `https`. [#1969](https://github.com/mmistakes/minimal-mistakes/pull/1969)
- Add Google Drive as video provider. [#1967](https://github.com/mmistakes/minimal-mistakes/pull/1967)
- Match `:focus` color to skin.
- Add support for [utterances](https://utteranc.es/) comments. [#1909](https://github.com/mmistakes/minimal-mistakes/issues/1909)
- Use privacy aware embed options for YouTube and Vimeo in [responsive video helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#responsive-video-embed). [#1964](https://github.com/mmistakes/minimal-mistakes/pull/1964)
- Add `rel="nofollow noopener noreferrer"` to author profile links. [#1924](https://github.com/mmistakes/minimal-mistakes/pull/1924)
- Improve color contrast of primary buttons and links.
- Add Punjabi localized UI text strings. [#1962](https://github.com/mmistakes/minimal-mistakes/pull/1962)
- Add Hindi localized UI text strings. [#1888](https://github.com/mmistakes/minimal-mistakes/pull/1888)
- Update Lunr to `2.3.3`. [#1885](https://github.com/mmistakes/minimal-mistakes/pull/1885)
- Cache "static" includes to improve build performance. **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. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874)
- Make entire feature and archive items "clickable". [#1864](https://github.com/mmistakes/minimal-mistakes/pull/1864)
- Allow custom Staticman endpoints. [#1842](https://github.com/mmistakes/minimal-mistakes/issues/1842)
- Remove `type="text/css"` from Algolia script includes. [#1836](https://github.com/mmistakes/minimal-mistakes/pull/1836)
- Remove unneeded `HandheldFriendly` and `MobileOptimized` meta tags. [#1837](https://github.com/mmistakes/minimal-mistakes/pull/1837)
- Update Font Awesome to version `5.5.0` and add `integrity` hash. [#1922](https://github.com/mmistakes/minimal-mistakes/pull/1922)
- Always load Google 404 Linkhelp script over HTTPS. [#1829](https://github.com/mmistakes/minimal-mistakes/pull/1829)
- Remove deprecated `base_path` include helper.
### Bug Fixes
- Prevent current post from showing in the related posts section. [#1976](https://github.com/mmistakes/minimal-mistakes/pull/1976)
- Fix dark skins syntax highlighting colors. [#1973](https://github.com/mmistakes/minimal-mistakes/issues/1973)
- Remove unnecessary closing bracket in analytics documentation. [#1915](https://github.com/mmistakes/minimal-mistakes/pull/1915)
- Fix breadcrumb navigation alignment. [#1917](https://github.com/mmistakes/minimal-mistakes/issues/1917)
- Fix Algolia search link positioning. [#1904](https://github.com/mmistakes/minimal-mistakes/pull/1904)
- Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883)
- Properly apply `relative_url` filter to internal links in header overlay `actions` array.
- Revert cached includes (`include_cached`) for comment and analytics providers. [#1905](https://github.com/mmistakes/minimal-mistakes/issues/1905)
## [4.13.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.13.0)
### Enhancements
- Add Romanian localized UI text strings. [#1814](https://github.com/mmistakes/minimal-mistakes/pull/1814)
- Improve author link flexibility. [#1581](https://github.com/mmistakes/minimal-mistakes/issues/1581)
- Improve footer link flexibility.
- Deprecate `cta_label` and `cta_url` in header overlay in favor of new `actions` array that allows for multiple "call to action" button links. [#1461](https://github.com/mmistakes/minimal-mistakes/issues/1461)
- Add support to [gallery helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) for defining column layout (`half`, `third`, or single `''`). [#1821](https://github.com/mmistakes/minimal-mistakes/issues/1821)
### Bug Fixes
- Fix sidebar navigation list toggle. [#1819](https://github.com/mmistakes/minimal-mistakes/issues/1819)
- Fix hover animation for links with `:visited` state. [#1820](https://github.com/mmistakes/minimal-mistakes/issues/1820)
## [4.12.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2)
### Enhancements
- Add missing Italian localized UI text strings. [#1793](https://github.com/mmistakes/minimal-mistakes/pull/1793)
- Update [jekyll-toc](https://github.com/allejo/jekyll-toc) to `v1.0.5`.
- Support heading levels 1-6 in table of contents with proper indentation styling. [#1782](https://github.com/mmistakes/minimal-mistakes/issues/1782)
- Use relative links for masthead navigation menu items when possible. [#1784](https://github.com/mmistakes/minimal-mistakes/pull/1784)
- Add `.emoji` class to author sidebar to normalize image sizes. [#1780](https://github.com/mmistakes/minimal-mistakes/pull/1780)
- Update Staticman commit message to include commentor's name.
- Improve side navigation spacing in relation to masthead.
- Style archive links with appropriate link color.
- Adjust feature row spacing and font-sizes.
- Use sentence case and increase font-sizes for improved readability in table of contents.
- Add `{{ content }}` to `home` layout. [#1775](https://github.com/mmistakes/minimal-mistakes/pull/1775)
## [4.12.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.1)
### Enhancements
- Add missing French localized UI text strings. [#1769](https://github.com/mmistakes/minimal-mistakes/pull/1769) [#1741](https://github.com/mmistakes/minimal-mistakes/pull/1741)
- Update Font Awesome to version [`5.2.0`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md). [#1754](https://github.com/mmistakes/minimal-mistakes/pull/1754)
- Add documentation note to update root `Gemfile` when forking theme.
### Bug Fixes
- Remove slash at the beginning of `path` in staticman.yml example. [#1772](https://github.com/mmistakes/minimal-mistakes/pull/1772)
- Fix `read_time` logic in header image overlay. [#1756](https://github.com/mmistakes/minimal-mistakes/pull/1756)
## [4.12.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.0)
### Enhancements
- Add Hungarian localized UI text strings. [#1682](https://github.com/mmistakes/minimal-mistakes/pull/1682)
- DRY `tags_max` calculation in tags.html layout. [#1696](https://github.com/mmistakes/minimal-mistakes/pull/1696)
- DRY `categories_max` calculation in categories.html layout.
- Add support for ["sticking" table of contents](https://mmistakes.github.io/minimal-mistakes/layout-table-of-contents-sticky/) to top of page via `toc_sticky: true` YAML Front Matter.
- Add support for captioning images in feature row helper via `image_caption` YAML Front Matter. [#1440](https://github.com/mmistakes/minimal-mistakes/issues/1440)
- Add [Google Custom Search Engine](https://cse.google.com/cse) support. [#1652](https://github.com/mmistakes/minimal-mistakes/issues/1652)
- Update Font Awesome to version [`5.1.13`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- Add "Pets" sample archive page to documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
- Add GitLab social icon brand color. [#1653](https://github.com/mmistakes/minimal-mistakes/issues/1653)
- Prevent line breaks between FontAwesome icon and text in footer social links. [#1659](https://github.com/mmistakes/minimal-mistakes/issues/1659)
### Bug Fixes
- Set default `title_separator`. [#1701](https://github.com/mmistakes/minimal-mistakes/pull/1701)
- Fix `naver_site_verification` typo in /_includes/seo.html. [#1687](https://github.com/mmistakes/minimal-mistakes/pull/1687)
- Fix table of contents missing borders. [#1675](https://github.com/mmistakes/minimal-mistakes/issues/1675)
- Fix link to "Recipes" sample archive on documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
- Update example Reddit social share interpolation syntax in documentation. [#1656](https://github.com/mmistakes/minimal-mistakes/issues/1656)
- Fix "Back to Top" links on pages that use [header overlays](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay).
## [4.11.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.2)
### Enhancements
* Update Font Awesome to version [`5.0.12`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md).
* Add Slovak localized UI text strings. [#1613](https://github.com/mmistakes/minimal-mistakes/pull/1613)
* Add option to anonymize IP addresses of hits sent to Google Analytics. [#1636](https://github.com/mmistakes/minimal-mistakes/pull/1636)
### Bug Fixes
* Use correct text string for "Back to Top" link. [#1595](https://github.com/mmistakes/minimal-mistakes/issues/1595)
* Add conditionals for showing `reCaptcha.siteKey` and `reCaptcha.secret` in Staticman comments form.
## [4.11.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.1)
### Enhancements
* Add default `theme` and `remote_theme` values to `_config.yml`.
* Add new layouts (`posts`, `categories`, `tags`, `collection`, `category`, and `tag`) for easier archive page creation.
### Bug Fixes
* Replace `absolute_url` filter with `relative_url` where it makes sense (asset/navigation related paths). [#1588](https://github.com/mmistakes/minimal-mistakes/issues/1588)
* Fix search excerpts that run together because of implied spaces.
## [4.10.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.1)
### Enhancements
* Update jQuery to version `3.3.1`. [#1491](https://github.com/mmistakes/minimal-mistakes/issues/1491)
* Add link to jekyll-algolia's `files_to_exclude` documentation.
* Update Font Awesome to version [`5.0.8`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md). [#1561](https://github.com/mmistakes/minimal-mistakes/pull/1561)
* Activate Algolia search for documentation site. [#1570](https://github.com/mmistakes/minimal-mistakes/issues/1570)
* Add missing German translations. [#1577](https://github.com/mmistakes/minimal-mistakes/pull/1577)
* Add support for Google Analytics with global site tag (gtag.js) [#1563](https://github.com/mmistakes/minimal-mistakes/pull/1563)
### Bug Fixes
* Focus Algolia search input after clicking on search toggle.
## [4.10.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.0)
### Enhancements
* Add support for [Algolia](https://www.algolia.com/) search provider ([see demo](https://mmistakes.github.io/minimal-mistakes-algolia-search/)). [#1416](https://github.com/mmistakes/minimal-mistakes/issues/1416)
## [4.9.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1)
### Enhancements
* Simplify year archive Liquid.
* Add documentation on how to downgrade theme.
* Improve greedy navigation's layout when JavaScript is disabled.
* Improve SEO include by grouping similar tags, reducing white-space, and adding `article:modified_time`. [#1456](https://github.com/mmistakes/minimal-mistakes/pull/1456)
* Minify `assets/js/lunr/lunr.js`.
* Improve calculation of Greedy navigation's `availableSpace`.
* Add Danish and Russian translations for new search strings. [#1472](https://github.com/mmistakes/minimal-mistakes/pull/1472) [#1477](https://github.com/mmistakes/minimal-mistakes/pull/1477)
* Indicate that archive titles are links with an underline.
* Remove `base_path` include from `/test` pages.
* Reduce font-size of page meta in list/grid items.
* Improve feature row styling when used with `archive` layout. [#1484](https://github.com/mmistakes/minimal-mistakes/issues/1484)
* Improve German translations. [#1511](https://github.com/mmistakes/minimal-mistakes/pull/1511)
* Update Font Awesome to `5.0.6`. [#1513](https://github.com/mmistakes/minimal-mistakes/pull/1513)
* Add `wide` variant to single layout. [#1516](https://github.com/mmistakes/minimal-mistakes/pull/1516)
### Bug Fixes
* Allow `author` to accept an object or string. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
* Fix syntax highlighting line number styling inconsistency. [#1467](https://github.com/mmistakes/minimal-mistakes/issues/1467)
* Fix author sidebar icon colors for dark skins. [#1482](https://github.com/mmistakes/minimal-mistakes/issues/1482)
* Remove misleading underline hover state on feature row items.
* Properly escape quotes in `site.social.name` and `site.name`. [#1485](https://github.com/mmistakes/minimal-mistakes/pull/1485)
* Fix typo in upgrading documentation. [#1487](https://github.com/mmistakes/minimal-mistakes/pull/1487)
* Fix `border-bottom` for Gist line numbers.
* Replace `|` with HTML entity when used as title separator. [#760](https://github.com/mmistakes/minimal-mistakes/issues/760)
## [4.9.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.0)
### Enhancements
@@ -465,380 +724,380 @@
### Maintenance
* Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
* Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
* Add `{% highlight %}` code block examples to demo site.
* Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)
- Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
- Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
- Add `{% highlight %}` code block examples to demo site.
- Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)
## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4)
### Enhancements
* Add French "comments" related localized UI text. [#472](https://github.com/mmistakes/minimal-mistakes/pull/472)
- Add French "comments" related localized UI text. [#472](https://github.com/mmistakes/minimal-mistakes/pull/472)
### Bug Fixes
* Exclude `vendor` in Jekyll config file.
* Fix Liquid syntax error for offending parenthesis. [#479](https://github.com/mmistakes/minimal-mistakes/issues/479)
- Exclude `vendor` in Jekyll config file.
- Fix Liquid syntax error for offending parenthesis. [#479](https://github.com/mmistakes/minimal-mistakes/issues/479)
### Maintenance
* Update gems: `colorator` (1.1.0), `forwardable-extended` (2.6.0), `github-pages` (93), `jekyll` (= 3.2.1), `minima` (= 1.0.1).
- Update gems: `colorator` (1.1.0), `forwardable-extended` (2.6.0), `github-pages` (93), `jekyll` (= 3.2.1), `minima` (= 1.0.1).
## [3.4.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.3)
### Enhancements
* Make ["honeypot" `input`](https://github.com/mmistakes/minimal-mistakes/commit/06a8249a69a37dddda7e2a5bfbe32056c1a9a607) in Staticman comment form less obvious to spam bots
* Add padding to `.highlight` code blocks to better [align `overflow` scrollbar](https://github.com/mmistakes/minimal-mistakes/commit/e4abec0a6f7f8cff72505ca0754615df294fd5b3) to the bottom.
* Add additional image options for Twitter card social sharing meta tags. [#466](https://github.com/mmistakes/minimal-mistakes/pull/466)
* Add structured data markup for Staticman comments. [#458](https://github.com/mmistakes/minimal-mistakes/issues/458)
- Make ["honeypot" `input`](https://github.com/mmistakes/minimal-mistakes/commit/06a8249a69a37dddda7e2a5bfbe32056c1a9a607) in Staticman comment form less obvious to spam bots
- Add padding to `.highlight` code blocks to better [align `overflow` scrollbar](https://github.com/mmistakes/minimal-mistakes/commit/e4abec0a6f7f8cff72505ca0754615df294fd5b3) to the bottom.
- Add additional image options for Twitter card social sharing meta tags. [#466](https://github.com/mmistakes/minimal-mistakes/pull/466)
- Add structured data markup for Staticman comments. [#458](https://github.com/mmistakes/minimal-mistakes/issues/458)
### Bug Fixes
* Format `og:locale` tag with `_` instead of `-`. [#462](https://github.com/mmistakes/minimal-mistakes/issues/462)
- Format `og:locale` tag with `_` instead of `-`. [#462](https://github.com/mmistakes/minimal-mistakes/issues/462)
### Maintenance
* Add note to docs about using `url: http://localhost:4000` when working locally.
- Add note to docs about using `url: http://localhost:4000` when working locally.
## [3.4.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.2)
### Enhancements
* Improve UX of static comment forms. [#448](https://github.com/mmistakes/minimal-mistakes/issues/448)
- Improve UX of static comment forms. [#448](https://github.com/mmistakes/minimal-mistakes/issues/448)
## [3.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.1)
### Enhancements
* Add `staticman.filename` configuration with UNIX timestamp for sorting data files. example ~> `comment-1470943149`.
- Add `staticman.filename` configuration with UNIX timestamp for sorting data files. example ~> `comment-1470943149`.
### Bug Fixes
* Don't add `<a>` to author name if URL is blank.
- Don't add `<a>` to author name if URL is blank.
## [3.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.0)
### Enhancements
* Support static-based commenting via [Staticman](https://staticman.net/) for sites hosted with GitHub Pages. [#424](https://github.com/mmistakes/minimal-mistakes/issues/424)
- Support static-based commenting via [Staticman](https://staticman.net/) for sites hosted with GitHub Pages. [#424](https://github.com/mmistakes/minimal-mistakes/issues/424)
## [3.3.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.7)
### Bug Fixes
* Re-enabled Jekyll plugins in `_config.yml` in case they aren't autoloaded in `Gemfile`. [#417](https://github.com/mmistakes/minimal-mistakes/issues/417)
- Re-enabled Jekyll plugins in `_config.yml` in case they aren't autoloaded in `Gemfile`. [#417](https://github.com/mmistakes/minimal-mistakes/issues/417)
### Enhancements
* Fallback to `site.github.url` for use in `{{ base_path }}` when `site.url` is `nil`.
* Replace Sass and Autoprefixer `npm` build scripts with [Jekyll's built-in asset support](https://jekyllrb.com/docs/assets/). [#333](https://github.com/mmistakes/minimal-mistakes/issues/333)
- Fallback to `site.github.url` for use in `{{ base_path }}` when `site.url` is `nil`.
- Replace Sass and Autoprefixer `npm` build scripts with [Jekyll's built-in asset support](https://jekyllrb.com/docs/assets/). [#333](https://github.com/mmistakes/minimal-mistakes/issues/333)
### Maintenance
* Document `site.repository` and its role with [`github-metadata`](https://github.com/jekyll/github-metadata) gem.
* Add sample [archive page with content](https://mmistakes.github.io/minimal-mistakes/archive-layout-with-content/) for testing styles on demo site.
- Document `site.repository` and its role with [`github-metadata`](https://github.com/jekyll/github-metadata) gem.
- Add sample [archive page with content](https://mmistakes.github.io/minimal-mistakes/archive-layout-with-content/) for testing styles on demo site.
## [3.3.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.6)
### Bug Fixes
* Fix blank `site.teaser` bug. [#412](https://github.com/mmistakes/minimal-mistakes/issues/412)
- Fix blank `site.teaser` bug. [#412](https://github.com/mmistakes/minimal-mistakes/issues/412)
## [3.3.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.5)
### Enhancements
* Add English default text `site.locale` strings. [#407](https://github.com/mmistakes/minimal-mistakes/issues/407)
* Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411)
* Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409)
- Add English default text `site.locale` strings. [#407](https://github.com/mmistakes/minimal-mistakes/issues/407)
- Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411)
- Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409)
### Maintenance
* Remove unused Google AdSense variables in `_config.yml`. [#404](https://github.com/mmistakes/minimal-mistakes/issues/404)
* Update `Gemfile` instructions for using `github-pages` vs. native `jekyll` gems.
* Disable `gems:` in `_config.yml` and enable plugins with Bundler instead.
* Add `repository` to `_config.yml` to suppress GitHub Pages error `Liquid Exception: No repo name found.`
- Remove unused Google AdSense variables in `_config.yml`. [#404](https://github.com/mmistakes/minimal-mistakes/issues/404)
- Update `Gemfile` instructions for using `github-pages` vs. native `jekyll` gems.
- Disable `gems:` in `_config.yml` and enable plugins with Bundler instead.
- Add `repository` to `_config.yml` to suppress GitHub Pages error `Liquid Exception: No repo name found.`
## [3.3.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.4)
### Enhancements
* Add support for configurable feed URL to use a service like FeedBurner instead of linking directly to `feed.xml` in `<head>` and the site footer. [#378](https://github.com/mmistakes/minimal-mistakes/issues/378), [#379](https://github.com/mmistakes/minimal-mistakes/pull/379), [#406](https://github.com/mmistakes/minimal-mistakes/pull/406)
* Add Turkish localized UI text. [#403](https://github.com/mmistakes/minimal-mistakes/pull/403)
- Add support for configurable feed URL to use a service like FeedBurner instead of linking directly to `feed.xml` in `<head>` and the site footer. [#378](https://github.com/mmistakes/minimal-mistakes/issues/378), [#379](https://github.com/mmistakes/minimal-mistakes/pull/379), [#406](https://github.com/mmistakes/minimal-mistakes/pull/406)
- Add Turkish localized UI text. [#403](https://github.com/mmistakes/minimal-mistakes/pull/403)
### Maintenance
* Update gems: `activesupport` (4.2.7), `ffi` (1.9.14), `github-pages` (88), `jekyll-redirect-from` (0.11.0), `jekyll-watch` (1.5.0).
- Update gems: `activesupport` (4.2.7), `ffi` (1.9.14), `github-pages` (88), `jekyll-redirect-from` (0.11.0), `jekyll-watch` (1.5.0).
## [3.3.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.3)
### Enhancements
* Make footer stick to the bottom of the page.
- Make footer stick to the bottom of the page.
### Bug Fixes
* Fix `gallery` size bug [#402](https://github.com/mmistakes/minimal-mistakes/issues/402)
- Fix `gallery` size bug [#402](https://github.com/mmistakes/minimal-mistakes/issues/402)
### Maintenance
* Set default `lang` to `en`.
- Set default `lang` to `en`.
## [3.3.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.2)
### Bug Fixes
* Fix JavaScript that triggers "sticky" sidebar to avoid layout issues on screen sizes < `1024px`. [#396](https://github.com/mmistakes/minimal-mistakes/issues/396)
- Fix JavaScript that triggers "sticky" sidebar to avoid layout issues on screen sizes < `1024px`. [#396](https://github.com/mmistakes/minimal-mistakes/issues/396)
## [3.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.1)
### Enhancements
* Enable image popup on < 500px wide screens. [#385](https://github.com/mmistakes/minimal-mistakes/issues/385)
* Indicate the relationship between component URLs in a paginated series by applying `rel="prev"` and `rel="next"` to pages that use `site.paginator`. [#253](https://github.com/mmistakes/minimal-mistakes/issues/253)
* Improve link posts in archive listings. [#276](https://github.com/mmistakes/minimal-mistakes/issues/276)
- Enable image popup on < 500px wide screens. [#385](https://github.com/mmistakes/minimal-mistakes/issues/385)
- Indicate the relationship between component URLs in a paginated series by applying `rel="prev"` and `rel="next"` to pages that use `site.paginator`. [#253](https://github.com/mmistakes/minimal-mistakes/issues/253)
- Improve link posts in archive listings. [#276](https://github.com/mmistakes/minimal-mistakes/issues/276)
### Maintenance
* Update gems: `github-pages` (86), `ffi` 1.9.13, `jekyll-mentions` 1.1.3, and `rouge` 1.11.1
* Fix note about custom sidebar content appearing below author profile. [#388](https://github.com/mmistakes/minimal-mistakes/issues/388)
- Update gems: `github-pages` (86), `ffi` 1.9.13, `jekyll-mentions` 1.1.3, and `rouge` 1.11.1
- Fix note about custom sidebar content appearing below author profile. [#388](https://github.com/mmistakes/minimal-mistakes/issues/388)
## [3.2.13](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.13)
### Enhancements
* Add English default UI text for Canada, Great Britain, and Australia. [#377](https://github.com/mmistakes/minimal-mistakes/issues/377)
* Switch default locale from `en-US` to `en`.
- Add English default UI text for Canada, Great Britain, and Australia. [#377](https://github.com/mmistakes/minimal-mistakes/issues/377)
- Switch default locale from `en-US` to `en`.
## [3.2.12](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.12)
### Enhancements
* Remove window width "magic number" from sticky sidebar check in `main.js` for improved flexibility. [#375](https://github.com/mmistakes/minimal-mistakes/pull/375)
- Remove window width "magic number" from sticky sidebar check in `main.js` for improved flexibility. [#375](https://github.com/mmistakes/minimal-mistakes/pull/375)
### Bug Fixes
* Fix author override conditional where a missing `authors.yml` would show broken sidebar content. Defaults to `site.author`. [#376](https://github.com/mmistakes/minimal-mistakes/pull/376)
- Fix author override conditional where a missing `authors.yml` would show broken sidebar content. Defaults to `site.author`. [#376](https://github.com/mmistakes/minimal-mistakes/pull/376)
## [3.2.11](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.11)
### Bug Fixes
* Fix disappearing author sidebar links [#372](https://github.com/mmistakes/minimal-mistakes/issues/372)
- Fix disappearing author sidebar links [#372](https://github.com/mmistakes/minimal-mistakes/issues/372)
### Maintenance
* Update gems: `github-pages` (84), `jekyll-github-metadata` 2.0.2, and `kramdown` 1.11.1
* Update vendor JavaScript: jQuery 1.12.4, Stickyfill.js 1.1.4
* Update Font Awesome 4.6.3
- Update gems: `github-pages` (84), `jekyll-github-metadata` 2.0.2, and `kramdown` 1.11.1
- Update vendor JavaScript: jQuery 1.12.4, Stickyfill.js 1.1.4
- Update Font Awesome 4.6.3
## [3.2.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.10)
### Maintenance
* Add `CONTRIBUTING.md`
- Add `CONTRIBUTING.md`
## [3.2.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.9)
### Enhancements
* Add support for [header overlay images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay) for Open Graph images. [#358](https://github.com/mmistakes/minimal-mistakes/pull/358)
- Add support for [header overlay images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay) for Open Graph images. [#358](https://github.com/mmistakes/minimal-mistakes/pull/358)
### Bug Fixes
* Fix `Person` typo Schema.org type [#358](https://github.com/mmistakes/minimal-mistakes/pull/358)
- Fix `Person` typo Schema.org type [#358](https://github.com/mmistakes/minimal-mistakes/pull/358)
### Maintenance
* Update `github-pages` gem and dependencies.
* Remove `minutes_read` to avoid awkward reading time wording [#356](https://github.com/mmistakes/minimal-mistakes/issues/356)
- Update `github-pages` gem and dependencies.
- Remove `minutes_read` to avoid awkward reading time wording [#356](https://github.com/mmistakes/minimal-mistakes/issues/356)
## [3.2.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.8)
### Bug Fixes
* Remove `cursor: pointer` that appears on white-space surrounding author side list items and links. [#354](https://github.com/mmistakes/minimal-mistakes/pull/354)
- Remove `cursor: pointer` that appears on white-space surrounding author side list items and links. [#354](https://github.com/mmistakes/minimal-mistakes/pull/354)
### Maintenance
* Add contributing information to `README.md`. [#357](https://github.com/mmistakes/minimal-mistakes/issues/357)
- Add contributing information to `README.md`. [#357](https://github.com/mmistakes/minimal-mistakes/issues/357)
## [3.2.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.7)
### Enhancements
* Add French localized UI text. [#346](https://github.com/mmistakes/minimal-mistakes/pull/346)
- Add French localized UI text. [#346](https://github.com/mmistakes/minimal-mistakes/pull/346)
### Bug Fixes
* Fix branch logic for Yandex and Alexa in `seo.html`. [#348](https://github.com/mmistakes/minimal-mistakes/pull/348)
- Fix branch logic for Yandex and Alexa in `seo.html`. [#348](https://github.com/mmistakes/minimal-mistakes/pull/348)
## [3.2.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.6)
### Bug Fixes
* Fix error `Liquid Exception: divided by 0 in _includes/archive-single.html, included in _layouts/single.html` caused by null `words_per_minute` in `_config.yml`. [#345](https://github.com/mmistakes/minimal-mistakes/pull/345)
- Fix error `Liquid Exception: divided by 0 in _includes/archive-single.html, included in _layouts/single.html` caused by null `words_per_minute` in `_config.yml`. [#345](https://github.com/mmistakes/minimal-mistakes/pull/345)
## [3.2.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.5)
### Bug Fixes
* Fix link color in hero overlay to be white.
* Remove underlines from archive item titles.
- Fix link color in hero overlay to be white.
- Remove underlines from archive item titles.
## [3.2.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.4)
### Enhancements
* Improve text alignment of masthead, hero overlay, page footer to be flush left and remove awkward white-space gaps. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
* Add Spanish localized UI text. [#338](https://github.com/mmistakes/minimal-mistakes/pull/338)
- Improve text alignment of masthead, hero overlay, page footer to be flush left and remove awkward white-space gaps. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
- Add Spanish localized UI text. [#338](https://github.com/mmistakes/minimal-mistakes/pull/338)
### Bug Fixes
* Fix alignment of icons in author sidebar [#341](https://github.com/mmistakes/minimal-mistakes/issues/341)
- Fix alignment of icons in author sidebar [#341](https://github.com/mmistakes/minimal-mistakes/issues/341)
### Maintenance
* Add background color to page footer to set it apart from main content. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
* Add terms and privacy policy to theme's demo site. [#343](https://github.com/mmistakes/minimal-mistakes/issues/343)
* Update screenshots found in theme documentation.
- Add background color to page footer to set it apart from main content. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
- Add terms and privacy policy to theme's demo site. [#343](https://github.com/mmistakes/minimal-mistakes/issues/343)
- Update screenshots found in theme documentation.
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
### Enhancements
* Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
- Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
### Enhancements
* Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper. [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper. [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
## [3.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.1)
### Bug Fixes
* Remove need for "double tapping" masthead menu links on iOS devices. [#315](https://github.com/mmistakes/minimal-mistakes/issues/315)
- Remove need for "double tapping" masthead menu links on iOS devices. [#315](https://github.com/mmistakes/minimal-mistakes/issues/315)
### Maintenance
* Add `ISSUE_TEMPLATE.md` for improve issue submission process.
- Add `ISSUE_TEMPLATE.md` for improve issue submission process.
## [3.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.0)
### Bug Fixes
* Fix missing category/tag links in post footer due to possible conflict with `site.tags` and `site.categories`. [#329](https://github.com/mmistakes/minimal-mistakes/issues/329#issuecomment-222375568)
- Fix missing category/tag links in post footer due to possible conflict with `site.tags` and `site.categories`. [#329](https://github.com/mmistakes/minimal-mistakes/issues/329#issuecomment-222375568)
## [3.1.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.8)
### Bug Fixes
* Fix `Liquid Exception: undefined method 'gsub' for nil:NilClass in _layouts/single.html` error when `page.title` is null. `<h1>` element is now conditional if `title:` is not set for a `page` or collection item. [#312](https://github.com/mmistakes/minimal-mistakes/issues/312)
- Fix `Liquid Exception: undefined method 'gsub' for nil:NilClass in _layouts/single.html` error when `page.title` is null. `<h1>` element is now conditional if `title:` is not set for a `page` or collection item. [#312](https://github.com/mmistakes/minimal-mistakes/issues/312)
### Maintenance
* Remove duplicate `fa-twitter` and `fa-twitter-square` classes from `_utilities.scss`. [#302](https://github.com/mmistakes/minimal-mistakes/issues/302)
- Remove duplicate `fa-twitter` and `fa-twitter-square` classes from `_utilities.scss`. [#302](https://github.com/mmistakes/minimal-mistakes/issues/302)
* Document installing additional Jekyll gem dependencies when using `gem "jekyll"` instead of `gem "github-pages"` to avoid any errors on run. [#305](https://github.com/mmistakes/minimal-mistakes/issues/305)
- Document installing additional Jekyll gem dependencies when using `gem "jekyll"` instead of `gem "github-pages"` to avoid any errors on run. [#305](https://github.com/mmistakes/minimal-mistakes/issues/305)
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
### Enhancements
* Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
### Maintenance
* Small fix to avoid underlying the whitespace between icons and related text when hovering. [#303](https://github.com/mmistakes/minimal-mistakes/pull/303)
- Small fix to avoid underlying the whitespace between icons and related text when hovering. [#303](https://github.com/mmistakes/minimal-mistakes/pull/303)
## [3.1.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.6)
### Maintenance
* Update gem dependencies. Run `bundle` to update `Gemfile.lock`.
- Update gem dependencies. Run `bundle` to update `Gemfile.lock`.
## [3.1.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.5)
### Maintenance
* Fix `www` and `https` links in author profile include [#293](https://github.com/mmistakes/minimal-mistakes/pull/293)
- Fix `www` and `https` links in author profile include [#293](https://github.com/mmistakes/minimal-mistakes/pull/293)
## [3.1.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.4)
### Enhancements
* Add overlay_filter param to hero headers [#298](https://github.com/mmistakes/minimal-mistakes/pull/298)
- Add overlay_filter param to hero headers [#298](https://github.com/mmistakes/minimal-mistakes/pull/298)
## [3.1.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.3)
### Enhancements
* Improve `site.locale` documentation [#284](https://github.com/mmistakes/minimal-mistakes/issues/284)
* Remove ProTip note about protocol-less `site.url` as it is an anti-pattern [#288](https://github.com/mmistakes/minimal-mistakes/issues/288)
- Improve `site.locale` documentation [#284](https://github.com/mmistakes/minimal-mistakes/issues/284)
- Remove ProTip note about protocol-less `site.url` as it is an anti-pattern [#288](https://github.com/mmistakes/minimal-mistakes/issues/288)
### Bug Fixes
* Fix `og_image` URL in seo.html [#277](https://github.com/mmistakes/minimal-mistakes/issues/277)
* Fix `author_profile` toggle when assigned in a `_layout` [#285](https://github.com/mmistakes/minimal-mistakes/issues/285)
* Fix typo in `build:all` npm script [#283](https://github.com/mmistakes/minimal-mistakes/pull/283)
* Fix URL typo documentation [#287](https://github.com/mmistakes/minimal-mistakes/issues/287)
* SEO author bug. If `twitter.username` is set and `author.twitter` is `nil` bad things happen. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
- Fix `og_image` URL in seo.html [#277](https://github.com/mmistakes/minimal-mistakes/issues/277)
- Fix `author_profile` toggle when assigned in a `_layout` [#285](https://github.com/mmistakes/minimal-mistakes/issues/285)
- Fix typo in `build:all` npm script [#283](https://github.com/mmistakes/minimal-mistakes/pull/283)
- Fix URL typo documentation [#287](https://github.com/mmistakes/minimal-mistakes/issues/287)
- SEO author bug. If `twitter.username` is set and `author.twitter` is `nil` bad things happen. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
### Enhancements
* Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
* Reduce left/right padding on smaller screens to increase width of main content column.
- Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
- Reduce left/right padding on smaller screens to increase width of main content column.
### Bug Fixes
* Fix alignment issues with related posts [#273](https://github.com/mmistakes/minimal-mistakes/issues/273) and "Follow" button in author profile [#274](https://github.com/mmistakes/minimal-mistakes/issues/274).
- Fix alignment issues with related posts [#273](https://github.com/mmistakes/minimal-mistakes/issues/273) and "Follow" button in author profile [#274](https://github.com/mmistakes/minimal-mistakes/issues/274).
## [3.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.1)
### Bug Fix
* Fixed reading time bug when `words_per_minute` wasn't set in `_config.yml` [#271](https://github.com/mmistakes/minimal-mistakes/issues/271)
- Fixed reading time bug when `words_per_minute` wasn't set in `_config.yml` [#271](https://github.com/mmistakes/minimal-mistakes/issues/271)
## [3.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.0)
### Enhancements
* Updated [Font Awesome](https://fortawesome.github.io/Font-Awesome/whats-new/) to version 4.6.1
* Added optional GitHub and Bitbucket links to footer if set on `site.author` in `_config.yml`.
- Updated [Font Awesome](https://fortawesome.github.io/Font-Awesome/whats-new/) to version 4.6.1
- Added optional GitHub and Bitbucket links to footer if set on `site.author` in `_config.yml`.
### Bug Fixes
* Fixed Bitbucket URL typo in author sidebar.
- Fixed Bitbucket URL typo in author sidebar.
## [3.0.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.0.3)
### Enhancements
* Rebuilt the entire theme: layouts, includes, stylesheets, scripts, you name it.
* Refreshed the look and feel while staying true to the original design of the theme (author sidebar/main content).
* Replaced grid system with [Susy](http://susy.oddbird.net/).
* Replaced Grunt tasks with `npm` scripts.
* Removed Google Fonts and replaced with system fonts to improve performance (they can be [added back](https://mmistakes.github.io/minimal-mistakes/docs/stylesheets/) if desired)
* Greatly improved [theme documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
* Increased the amount of sample posts, sample pages, and sample collections to throughly test the theme and edge-cases.
* Moved all sample content and assets out of `master` to keep it as clean as possible for forking.
* Added new layouts for `splash` pages, archives for [`jekyll-archives`](https://github.com/jekyll/jekyll-archives) if enabled, and [`compress.html`](https://github.com/penibelst/jekyll-compress-html) to improve performance.
* Added taxonomy links to posts (tags and categories).
* Added optional "reading time" meta data.
* Improved Liquid used for Twitter Cards and Open Graph data in `<head>`.
* Improved `gallery` include helper and added `feature_row` for use with splash page layout.
* Added Keybase.io, author web URI, and Bitbucket optional links to sidebar.
* Add `feed.xml` link to footer.
* Added a [UI text data file](https://mmistakes.github.io/minimal-mistakes/docs/ui-text/) to easily change all text found in the theme.
* Added LinkedIn to optional social share buttons.
* Added Facebook, Google+, and custom commenting options in addition to Disqus.
* Added optional breadcrumb links.
- Rebuilt the entire theme: layouts, includes, stylesheets, scripts, you name it.
- Refreshed the look and feel while staying true to the original design of the theme (author sidebar/main content).
- Replaced grid system with [Susy](http://susy.oddbird.net/).
- Replaced Grunt tasks with `npm` scripts.
- Removed Google Fonts and replaced with system fonts to improve performance (they can be [added back](https://mmistakes.github.io/minimal-mistakes/docs/stylesheets/) if desired)
- Greatly improved [theme documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
- Increased the amount of sample posts, sample pages, and sample collections to throughly test the theme and edge-cases.
- Moved all sample content and assets out of `master` to keep it as clean as possible for forking.
- Added new layouts for `splash` pages, archives for [`jekyll-archives`](https://github.com/jekyll/jekyll-archives) if enabled, and [`compress.html`](https://github.com/penibelst/jekyll-compress-html) to improve performance.
- Added taxonomy links to posts (tags and categories).
- Added optional "reading time" meta data.
- Improved Liquid used for Twitter Cards and Open Graph data in `<head>`.
- Improved `gallery` include helper and added `feature_row` for use with splash page layout.
- Added Keybase.io, author web URI, and Bitbucket optional links to sidebar.
- Add `feed.xml` link to footer.
- Added a [UI text data file](https://mmistakes.github.io/minimal-mistakes/docs/ui-text/) to easily change all text found in the theme.
- Added LinkedIn to optional social share buttons.
- Added Facebook, Google+, and custom commenting options in addition to Disqus.
- Added optional breadcrumb links.
## [2.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.2.1)
@@ -846,64 +1105,64 @@
### Enhancements
* Add support for Jekyll 3.0
* Minor updates to syntax highlighting CSS and theme documentation
- Add support for Jekyll 3.0
- Minor updates to syntax highlighting CSS and theme documentation
## [2.1.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.1.3)
### Enhancements
* Cleaner print styles that remove the top navigation, social sharing buttons, and other elements not needed when printed.
- Cleaner print styles that remove the top navigation, social sharing buttons, and other elements not needed when printed.
## [2.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.1.2)
### Enhancements
* Add optional CodePen icon/url to author side bar [#156](https://github.com/mmistakes/minimal-mistakes/pull/156)
* Documented Stackoverflow username explanation in `_config.yml` [#157](https://github.com/mmistakes/minimal-mistakes/pull/157)
* Simplified Liquid in `post-index.html` to better handle year listings [#166](https://github.com/mmistakes/minimal-mistakes/pull/166)
- Add optional CodePen icon/url to author side bar [#156](https://github.com/mmistakes/minimal-mistakes/pull/156)
- Documented Stackoverflow username explanation in `_config.yml` [#157](https://github.com/mmistakes/minimal-mistakes/pull/157)
- Simplified Liquid in `post-index.html` to better handle year listings [#166](https://github.com/mmistakes/minimal-mistakes/pull/166)
### Bug Fixes
* Cleanup Facebook related Open Graph meta tags [#149](https://github.com/mmistakes/minimal-mistakes/issues/149)
* Corrected minor typos [#158](https://github.com/mmistakes/minimal-mistakes/pull/158) [#175](https://github.com/mmistakes/minimal-mistakes/issues/175)
- Cleanup Facebook related Open Graph meta tags [#149](https://github.com/mmistakes/minimal-mistakes/issues/149)
- Corrected minor typos [#158](https://github.com/mmistakes/minimal-mistakes/pull/158) [#175](https://github.com/mmistakes/minimal-mistakes/issues/175)
## [2.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.1.1)
### Enhancements
* Add optional XING profile link to author sidebar
* Include open graph meta tags for feature image (if assigned) [#149](https://github.com/mmistakes/minimal-mistakes/issues/149)
* Create an include for feed footer
- Add optional XING profile link to author sidebar
- Include open graph meta tags for feature image (if assigned) [#149](https://github.com/mmistakes/minimal-mistakes/issues/149)
- Create an include for feed footer
### Bug Fixes
* Remove http protocol from Google search form on sample 404 page
* Only show related posts if there are one or more available
* Fix alignment of email address link in author sidebar
- Remove http protocol from Google search form on sample 404 page
- Only show related posts if there are one or more available
- Fix alignment of email address link in author sidebar
## [2.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.1.0)
### Enhancements
* Add optional social sharing buttons ([#42](https://github.com/mmistakes/minimal-mistakes/issues/42))
- Add optional social sharing buttons ([#42](https://github.com/mmistakes/minimal-mistakes/issues/42))
![social sharing buttons](https://cloud.githubusercontent.com/assets/1376749/5860522/d9f28a96-a22f-11e4-9b83-940a3a9a766a.png)
* Add Soundcloud, YouTube ([#95](https://github.com/mmistakes/minimal-mistakes/pull/95)), Flickr ([#119](https://github.com/mmistakes/minimal-mistakes/pull/119)), and Weibo ([#116](https://github.com/mmistakes/minimal-mistakes/pull/116)) icons for use in author sidebar.
* Fix typos in posts and documentation and remove references to Less
* Include note about Octopress gem being optional
* Post author override support extended to the Atom feed ([#71](https://github.com/mmistakes/minimal-mistakes/pull/71))
* Only include email address in feed if specified in `_config.yml` or author `_data`
* Wrap all page content in `#main` to harmonize article and post index styles ([#86](https://github.com/mmistakes/minimal-mistakes/issues/86))
* Include new sample feature images for posts and pages
* Table of contents improvements: fix collapse toggle, indent nested elements, show on small screens, and create an `_include` for reusing in posts and pages.
* Include note about running Jekyll with `bundle exec` when using Bundler
* Fix home page path in top navigation
* Remove Google Authorship ([#120](https://github.com/mmistakes/minimal-mistakes/issues/120))
* Remove duplicate author content that displayed in `div.article-author-bottom`
* Removed unused `_sass/print.scss` styles
* Improve comments in `.scss` files
- Add Soundcloud, YouTube ([#95](https://github.com/mmistakes/minimal-mistakes/pull/95)), Flickr ([#119](https://github.com/mmistakes/minimal-mistakes/pull/119)), and Weibo ([#116](https://github.com/mmistakes/minimal-mistakes/pull/116)) icons for use in author sidebar.
- Fix typos in posts and documentation and remove references to Less
- Include note about Octopress gem being optional
- Post author override support extended to the Atom feed ([#71](https://github.com/mmistakes/minimal-mistakes/pull/71))
- Only include email address in feed if specified in `_config.yml` or author `_data`
- Wrap all page content in `#main` to harmonize article and post index styles ([#86](https://github.com/mmistakes/minimal-mistakes/issues/86))
- Include new sample feature images for posts and pages
- Table of contents improvements: fix collapse toggle, indent nested elements, show on small screens, and create an `_include` for reusing in posts and pages.
- Include note about running Jekyll with `bundle exec` when using Bundler
- Fix home page path in top navigation
- Remove Google Authorship ([#120](https://github.com/mmistakes/minimal-mistakes/issues/120))
- Remove duplicate author content that displayed in `div.article-author-bottom`
- Removed unused `_sass/print.scss` styles
- Improve comments in `.scss` files
## [2.0.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/v2.0)
@@ -911,24 +1170,24 @@
### Enhancements
* Added new icons and profile links for Stackoverflow, Dribbble, Pinterest, Foursquare, and Steam to the author bio sidebar.
* Cleaned up the Kramdown auto table of contents styling to be more readable
* Removed page width specific .less stylesheets and created mixins for easier updating
* Removed Modernizr since it wasn't being used
* Added pages to sitemap.xml
* Added category: to rake new_post task
* Minor typographic changes
- Added new icons and profile links for Stackoverflow, Dribbble, Pinterest, Foursquare, and Steam to the author bio sidebar.
- Cleaned up the Kramdown auto table of contents styling to be more readable
- Removed page width specific .less stylesheets and created mixins for easier updating
- Removed Modernizr since it wasn't being used
- Added pages to sitemap.xml
- Added category: to rake new_post task
- Minor typographic changes
### Bug Fixes
* Corrected various broken links in README and Theme Setup.
- Corrected various broken links in README and Theme Setup.
## [1.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/1.3.1)
### Enhancements
* Cleaned up table of contents styling
* Reworked top navigation to be a better experience on small screens. Nav items now display vertically when the menu button is tapped, revealing links with larger touch targets.
- Cleaned up table of contents styling
- Reworked top navigation to be a better experience on small screens. Nav items now display vertically when the menu button is tapped, revealing links with larger touch targets.
![menu animation](https://camo.githubusercontent.com/3fbd8c1326485f4b1ab32c0005c0fca7660b5d31/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313337363734392f323136343037352f31653366303663322d393465372d313165332d383961612d6436623636376562306564662e676966)
@@ -936,54 +1195,54 @@
### Bug Fixes
* Table weren't filling the entire width of the content container. They now scale at 100%. Thanks [@dhruvbhatia](https://github.com/dhruvbhatia)
- Table weren't filling the entire width of the content container. They now scale at 100%. Thanks [@dhruvbhatia](https://github.com/dhruvbhatia)
### Enhancements
* Decreased spacing between Markdown footnotes
* Removed dark background on footer
* Removed UPPERCASE styling on post titles in the index listing
- Decreased spacing between Markdown footnotes
- Removed dark background on footer
- Removed UPPERCASE styling on post titles in the index listing
## [1.1.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/1.1.4)
### Bug Fixes
* Fix top navigation bug issue ([#10](https://github.com/mmistakes/minimal-mistakes/issues/10)) for real this time. Remember to clear your floats kids.
- Fix top navigation bug issue ([#10](https://github.com/mmistakes/minimal-mistakes/issues/10)) for real this time. Remember to clear your floats kids.
## [1.1.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/1.1.3)
### Bug Fixes
* Fix top navigation links that weren't click able on small viewports (Issue [#10](https://github.com/mmistakes/minimal-mistakes/issues/10)).
* Remove line wrap from top navigation links that may span multiple lines.
- Fix top navigation links that weren't click able on small viewports (Issue [#10](https://github.com/mmistakes/minimal-mistakes/issues/10)).
- Remove line wrap from top navigation links that may span multiple lines.
## [1.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/1.1.2)
### Enhancements
* Added Grunt build script for compiling Less/JavaScript and optimizing image assets.
* Added support for large image summary Twitter card.
* Stylesheet adjustments
- Added Grunt build script for compiling Less/JavaScript and optimizing image assets.
- Added support for large image summary Twitter card.
- Stylesheet adjustments
## [1.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/1.1.1)
### Bug Fixes
* Removed [Typeplate](http://typeplate.com/) styles. Was [causing issues with newer versions of Less](https://github.com/typeplate/typeplate.github.io/issues/108) and is no longer maintained.
- Removed [Typeplate](http://typeplate.com/) styles. Was [causing issues with newer versions of Less](https://github.com/typeplate/typeplate.github.io/issues/108) and is no longer maintained.
### Enhancements
* Added [image attribution](http://mmistakes.github.io/minimal-mistakes/theme-setup/#feature-images) for post and page feature images.
* Added [404 page](http://mmistakes.github.io/minimal-mistakes/404.html).
* Cleaned up various Less variables to better align with naming conventions used in other MM Jekyll themes.
* Removed Chrome Frame references.
* Added global CSS3 transitions to text and block elements.
* Improved typography in a few places.
- Added [image attribution](http://mmistakes.github.io/minimal-mistakes/theme-setup/#feature-images) for post and page feature images.
- Added [404 page](http://mmistakes.github.io/minimal-mistakes/404.html).
- Cleaned up various Less variables to better align with naming conventions used in other MM Jekyll themes.
- Removed Chrome Frame references.
- Added global CSS3 transitions to text and block elements.
- Improved typography in a few places.
## [1.0.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.2)
### Enhancements
* Google Analytics, Google Authorship, webmaster verifies, and Twitter card meta are now optional.
- Google Analytics, Google Authorship, webmaster verifies, and Twitter card meta are now optional.
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
+21
View File
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2013-2019 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
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.
-59
View File
@@ -1,59 +0,0 @@
The MIT License (MIT)
Copyright (c) 2013-2018 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
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.
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
creators Garrett Knoll, Arthur Shlain, and Tracy Tam.
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
Copyright (c) 2017 Dave Gandy.
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
and [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
Copyright (c) 2017, Miriam Eric Suzanne.
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
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/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
Magnific Popup is distributed under the terms of the MIT License.
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
Copyright (c) 2017 Karl Swedberg.
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
Copyright (c) 2015 Luke Jackson.
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
+46 -17
View File
@@ -1,11 +1,20 @@
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
# [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/)
[![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE.txt)
[![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)
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
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.
[![Minimal Mistakes live preview][2]][1]
[1]: https://mmistakes.github.io/minimal-mistakes/
@@ -13,20 +22,20 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
![layout examples](screenshot-layouts.png)
## Notable Features
## Notable features
- Bundled as a "theme gem" for easier install/upgrading.
- Bundled as a "theme gem" for easier installation/upgrading.
- Compatible with GitHub Pages.
- Support for Jekyll's built-in Sass/SCSS preprocessor.
- Nine different skins (color variations).
- 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
- 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 v1 and v2](https://staticman.net/), and custom).
- 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/)).
- [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), 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.
## Skins (Color Variations)
## Skins (color variations)
This theme comes in nine different skins (including the default one).
@@ -42,7 +51,7 @@ This theme comes in nine different skins (including the default one).
| --- | --- | --- |
| ![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) |
## Demo Pages
## Demo pages
| Name | Description |
| ------------------------------------------- | ----------------------------------------------------- |
@@ -67,11 +76,15 @@ Additional sample posts are available under [posts archive][year-archive] on the
## Installation
There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.
There are three ways to install: as a [gem-based theme](https://jekyllrb.com/docs/themes/#understanding-gem-based-themes), as a [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/) (GitHub Pages compatible), or forking/directly copying all of the theme files into your project.
### Ruby Gem Method
### Gem-based method
1. Install the theme as a Ruby Gem by adding it to your `Gemfile` like so:
With Gem-based themes, directories such as the `assets`, `_layouts`, `_includes`, and `_sass` are stored in the theme’s gem, hidden from your immediate view. Yet all of the necessary directories will be read and processed during Jekyll’s build process.
This allows for easier installation and updating as you don't have to manage any of the theme files. To install:
1. Add the following to your `Gemfile`:
```ruby
gem "minimal-mistakes-jekyll"
@@ -91,7 +104,11 @@ There are three ways to install the theme: as a Ruby gem (for self-hosted sites)
To update the theme run `bundle update`.
### GitHub Pages Method
### Remote theme method
Remote themes are similar to Gem-based themes, but do not require `Gemfile` changes or whitelisting making them ideal for sites hosted with GitHub Pages.
To install:
1. Create/replace the contents of your `Gemfile` with the following:
@@ -101,13 +118,15 @@ To update the theme run `bundle update`.
gem "github-pages", group: :jekyll_plugins
```
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
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:
```bash
bundle
```
3. Add `remote_theme: "mmistakes/minimal-mistakes"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.15.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
## Usage
@@ -167,6 +186,8 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
- [FitVids.JS](http://fitvidsjs.com/)
- [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
- [Lunr](http://lunrjs.com)
---
@@ -174,7 +195,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
The MIT License (MIT)
Copyright (c) 2013-2018 Michael Rose and contributors
Copyright (c) 2013-2019 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
@@ -224,6 +245,10 @@ Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedber
Copyright (c) 2017 Karl Swedberg.
jQuery Smooth Scroll 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.
jQuery throttle / debounce is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
Copyright (c) 2015 Luke Jackson.
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -235,3 +260,7 @@ Jekyll Group-By-Array is distributed under the terms of the [MIT License](http:/
Minimal Mistakes incorporates [@allejo's Pure Liquid Jekyll Table of Contents](https://allejo.io/blog/a-jekyll-toc-in-liquid-only/),
Copyright (c) 2017 Vladimir Jimenez.
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
Copyright (c) 2018 Oliver Nightingale.
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
+68 -28
View File
@@ -5,6 +5,13 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process.
# Theme Settings
#
# Review documentation to determine if you should use `theme` or `remote_theme`
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme
# theme : "minimal-mistakes-jekyll"
# remote_theme : "mmistakes/minimal-mistakes"
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
# Site Settings
@@ -17,10 +24,12 @@ url : # the base hostname & protocol for your site e.g. "ht
baseurl : # the subpath of your site, e.g. "/blog"
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
# breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "staticman_v2" "custom"
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
@@ -30,10 +39,13 @@ comments:
appid :
num_posts : # 5 (default)
colorscheme : # "light" (default), "dark"
utterances:
theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default)
staticman:
allowedFields : # ['name', 'email', 'url', 'message']
branch : # "master"
commitMessage : # "New comment."
commitMessage : # "New comment by {fields.name}"
filename : # comment-{@timestamp}
format : # "yml"
moderation : # true
@@ -46,6 +58,7 @@ staticman:
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
reCaptcha:
siteKey :
secret :
@@ -53,7 +66,15 @@ atom_feed:
path : # blank (default) uses feed.xml
search : # true, false (default)
search_full_content : # true, false (default)
search_provider : # lunr (default), algolia, google
algolia:
application_id : # YOUR_APPLICATION_ID
index_name : # YOUR_INDEX_NAME
search_only_api_key : # YOUR_SEARCH_ONLY_API_KEY
powered_by : # true (default), false
google:
search_engine_id : # YOUR_SEARCH_ENGINE_ID
instant_search : # false (default), true
# SEO Related
google_site_verification :
bing_site_verification :
@@ -80,6 +101,7 @@ analytics:
provider : false # false (default), "google", "google-universal", "custom"
google:
tracking_id :
anonymize_ip : # true, false (default)
# Site Author
@@ -89,31 +111,47 @@ author:
bio : "I am an amazing person."
location : "Somewhere"
email :
uri :
home : # null (default), "absolute or relative url to link to author home"
bitbucket :
codepen :
dribbble :
flickr :
facebook :
foursquare :
github :
gitlab :
google_plus :
keybase :
instagram :
lastfm :
linkedin : # "john-doe-12345678" (the last part of your profile url, e.g. https://www.linkedin.com/in/john-doe-12345678)
pinterest :
soundcloud :
stackoverflow : # "123456/username" (the last part of your profile url, e.g. https://stackoverflow.com/users/123456/username)
steam : # "steamId" (the last part of your profile url, e.g. https://steamcommunity.com/id/steamId/)
tumblr :
twitter :
vine :
weibo :
xing :
youtube : # "https://youtube.com/c/MichaelRoseDesign"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
# url: mailto:your.name@email.com
- label: "Website"
icon: "fas fa-fw fa-link"
# url: "https://your-website.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url: "https://twitter.com/"
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url: "https://facebook.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
# url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url: "https://instagram.com/"
# Site Footer
footer:
links:
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url:
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url:
- label: "GitHub"
icon: "fab fa-fw fa-github"
# url:
- label: "GitLab"
icon: "fab fa-fw fa-gitlab"
# url:
- label: "Bitbucket"
icon: "fab fa-fw fa-bitbucket"
# url:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url:
# Reading Files
@@ -193,6 +231,7 @@ plugins:
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-include-cache
# mimic GitHub Pages with --safe
whitelist:
@@ -201,6 +240,7 @@ whitelist:
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-include-cache
# Archives
+468 -46
View File
@@ -8,9 +8,10 @@ en: &DEFAULT_EN
pagination_next : "Next"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Toggle Menu"
toc_label : "On This Page"
ext_link_label : "Direct Link"
menu_label : "Toggle menu"
search_label : "Toggle search"
toc_label : "On this page"
ext_link_label : "Direct link"
less_than : "less than"
minute_read : "minute read"
share_on_label : "Share on"
@@ -18,16 +19,16 @@ en: &DEFAULT_EN
tags_label : "Tags:"
categories_label : "Categories:"
date_label : "Updated:"
comments_label : "Leave a Comment"
comments_label : "Leave a comment"
comments_title : "Comments"
more_label : "Learn More"
related_label : "You May Also Enjoy"
more_label : "Learn more"
related_label : "You may also enjoy"
follow_label : "Follow:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Website"
email_label : "Email"
recent_posts : "Recent Posts"
recent_posts : "Recent posts"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Comment"
@@ -35,13 +36,14 @@ en: &DEFAULT_EN
comment_form_name_label : "Name"
comment_form_email_label : "Email address"
comment_form_website_label : "Website (optional)"
comment_btn_submit : "Submit Comment"
comment_btn_submit : "Submit comment"
comment_btn_submitted : "Submitted"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..."
search_placeholder_text : "Enter your search term..."
results_found : "Result(s) found"
back_to_top : "Back to top"
en-US:
<<: *DEFAULT_EN
en-CA:
@@ -52,7 +54,7 @@ en-AU:
<<: *DEFAULT_EN
# Spanish
# --------------
# -------
es: &DEFAULT_ES
page : "Página"
pagination_previous : "Anterior"
@@ -60,6 +62,7 @@ es: &DEFAULT_ES
breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/"
menu_label :
search_label :
toc_label : "Contenidos"
ext_link_label : "Enlace"
less_than : "menos de"
@@ -69,8 +72,8 @@ es: &DEFAULT_ES
tags_label : "Etiquetas:"
categories_label : "Categorías:"
date_label : "Actualizado:"
comments_label : "Comentar"
comments_title :
comments_label : "Dejar un comentario"
comments_title : "Comentar"
more_label : "Ver más"
related_label : "Podrías ver también"
follow_label : "Seguir:"
@@ -97,25 +100,26 @@ es-CO:
<<: *DEFAULT_ES
# French
# -----------------
# ------
fr: &DEFAULT_FR
page : "Page"
pagination_previous : "Précédent"
pagination_next : "Suivant"
breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/"
menu_label :
menu_label : "Menu"
search_label :
toc_label : "Sur cette page"
ext_link_label : "Lien direct"
less_than : "moins de"
minute_read : "minute de lecture"
minute_read : "minute(s) de lecture"
share_on_label : "Partager sur"
meta_label :
tags_label : "Tags :"
categories_label : "Catégories :"
date_label : "Mis à jour :"
comments_label : "Laisser un commentaire"
comments_title :
comments_title : "Commentaires"
more_label : "Lire plus"
related_label : "Vous pourriez aimer aussi"
follow_label : "Contact"
@@ -125,7 +129,6 @@ fr: &DEFAULT_FR
email_label : "Email"
recent_posts : "Posts récents"
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
comments_title : "Commentaires"
comment_form_info : "Votre adresse email ne sera pas visible. Les champs obligatoires sont marqués"
comment_form_comment_label : "Commentaire"
comment_form_md_info : "Markdown est supporté."
@@ -137,6 +140,9 @@ fr: &DEFAULT_FR
comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..."
search_placeholder_text : "Entrez votre recherche..."
results_found : "Résultat(s) trouvé(s)"
back_to_top : "Retour en haut"
fr-FR:
<<: *DEFAULT_FR
fr-BE:
@@ -145,7 +151,7 @@ fr-CH:
<<: *DEFAULT_FR
# Turkish
# -----------------
# -------
tr: &DEFAULT_TR
page : "Sayfa"
pagination_previous : "Önceki"
@@ -153,6 +159,7 @@ tr: &DEFAULT_TR
breadcrumb_home_label : "Ana Sayfa"
breadcrumb_separator : "/"
menu_label :
search_label :
toc_label : "İçindekiler"
ext_link_label : "Doğrudan Bağlantı"
less_than : "Şu süreden az: "
@@ -188,6 +195,7 @@ tr-TR:
<<: *DEFAULT_TR
# Portuguese
# ----------
pt: &DEFAULT_PT
page : "Página"
pagination_previous : "Anterior"
@@ -195,6 +203,7 @@ pt: &DEFAULT_PT
breadcrumb_home_label : "Início"
breadcrumb_separator : "/"
menu_label :
search_label :
toc_label : "Nesta Página"
ext_link_label : "Link Direto"
less_than : "menos de"
@@ -228,7 +237,6 @@ pt: &DEFAULT_PT
loading_label : "A carregar..."
pt-PT:
<<: *DEFAULT_PT
# Brazilian Portuguese
pt-BR:
page : "Página"
@@ -237,22 +245,23 @@ pt-BR:
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
search_label : "Buscar"
toc_label : "Nesta página"
ext_link_label : "Link direto"
less_than : "menos que"
minute_read : "minuto(s) de leitura"
share_on_label : "Compartilhe em"
share_on_label : "Compartilhe: "
meta_label :
tags_label : "Tags:"
categories_label : "Categorias:"
date_label : "Atualizado em:"
comments_label : "Deixe um comentário"
comments_title :
comments_title : "Comentários"
more_label : "Aprenda mais"
related_label : "Talvez você goste também"
follow_label : "Acompanhe em"
related_label : "Talvez você também goste"
follow_label : "Acompanhe no"
feed_label : "Feed"
powered_by : "Feito com"
powered_by : "Desenvolvido com"
website_label : "Site"
email_label : "Email"
recent_posts : "Postagens recentes"
@@ -268,9 +277,11 @@ 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. Por favor verifique se todos os campos obrigatórios foram preenchidos e tente novamente."
loading_label : "Carregando..."
back_to_top : "Voltar para o topo"
search_placeholder_text : "Pesquisar..."
# Italian
# -----------------
# -------
it: &DEFAULT_IT
page : "Pagina"
pagination_previous : "Precedente"
@@ -278,6 +289,7 @@ it: &DEFAULT_IT
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
search_label :
toc_label : "Indice della pagina"
ext_link_label : "Link"
less_than : "meno di"
@@ -309,11 +321,14 @@ it: &DEFAULT_IT
comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
loading_label : "Caricamento..."
search_placeholder_text : "Inserisci termini di ricerca..."
results_found : "Risultati"
back_to_top : "Vai su"
it-IT:
<<: *DEFAULT_IT
# Chinese (zh-CN Chinese - China)
# -----------------
# --------------------------------
zh: &DEFAULT_ZH_HANS
page : "页面"
pagination_previous : "向前"
@@ -321,6 +336,7 @@ zh: &DEFAULT_ZH_HANS
breadcrumb_home_label : "首页"
breadcrumb_separator : "/"
menu_label : "切换菜单"
search_label :
toc_label : "在本页上"
ext_link_label : "直接链接"
less_than : "少于"
@@ -352,6 +368,9 @@ zh: &DEFAULT_ZH_HANS
comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "正在加载..."
search_placeholder_text : "输入您要搜索的关键词..."
results_found : "条记录匹配"
back_to_top : "返回顶部"
zh-CN:
<<: *DEFAULT_ZH_HANS
zh-SG:
@@ -364,6 +383,7 @@ zh-TW: &DEFAULT_ZH_HANT
breadcrumb_home_label : "首頁"
breadcrumb_separator : "/"
menu_label : "切換選單"
search_label :
toc_label : "本頁"
ext_link_label : "外部連結"
less_than : "少於"
@@ -397,15 +417,17 @@ zh-TW: &DEFAULT_ZH_HANT
loading_label : "載入中..."
zh-HK:
<<: *DEFAULT_ZH_HANT
# German / Deutsch
# -----------------
# ----------------
de: &DEFAULT_DE
page : "Seite"
pagination_previous : "Vorherige"
pagination_next : "Nächste"
breadcrumb_home_label : "Home"
breadcrumb_home_label : "Start"
breadcrumb_separator : "/"
menu_label :
menu_label : "Menü ein-/ausschalten"
search_label :
toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link"
less_than : "weniger als"
@@ -415,13 +437,13 @@ de: &DEFAULT_DE
tags_label : "Tags:"
categories_label : "Kategorien:"
date_label : "Aktualisiert:"
comments_label : "Hinterlassen sie einen Kommentar"
comments_label : "Hinterlassen Sie einen Kommentar"
comments_title : "Kommentare"
more_label : "Mehr anzeigen"
related_label : "Ihnen gefällt vielleicht auch"
follow_label : "Folgen:"
feed_label : "Feed"
powered_by : "Powered by"
powered_by : "Möglich durch"
website_label : "Webseite"
email_label : "E-Mail"
recent_posts : "Aktuelle Beiträge"
@@ -430,13 +452,15 @@ de: &DEFAULT_DE
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown wird unterstützt."
comment_form_name_label : "Name"
comment_form_email_label : "E-Mail Addresse"
comment_form_email_label : "E-Mail-Addresse"
comment_form_website_label : "Webseite (optional)"
comment_btn_submit : "Kommentar absenden"
comment_btn_submitted : "Versendet"
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut."
comment_success_msg : "Danke für Ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen Sie alle benötigten Felder aus und versuchen Sie es erneut."
loading_label : "Lade..."
search_placeholder_text : "Suchbegriff eingeben..."
results_found : "Ergebnis(se) gefunden"
de-DE:
<<: *DEFAULT_DE
de-AT:
@@ -451,7 +475,7 @@ de-LU:
<<: *DEFAULT_DE
# Nepali (Nepal)
# -----------------
# --------------
ne: &DEFAULT_NE
page : "पृष्‍ठ"
pagination_previous : "अघिल्लो"
@@ -459,6 +483,7 @@ ne: &DEFAULT_NE
breadcrumb_home_label : "गृह"
breadcrumb_separator : "/"
menu_label : "टगल मेनु"
search_label :
toc_label : "यो पृष्‍ठमा"
ext_link_label : "सिधा सम्पर्क"
less_than : "कम्तिमा"
@@ -494,7 +519,7 @@ ne-NP:
<<: *DEFAULT_NE
# Korean
# --------------
# ------
ko: &DEFAULT_KO
page : "페이지"
pagination_previous : "이전"
@@ -502,6 +527,7 @@ ko: &DEFAULT_KO
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "토글 메뉴"
search_label :
toc_label : "On This Page"
ext_link_label : "직접 링크"
less_than : "최대"
@@ -545,6 +571,7 @@ ru: &DEFAULT_RU
breadcrumb_home_label : "Главная"
breadcrumb_separator : "/"
menu_label : "Выпадающее меню"
search_label :
toc_label : "Содержание"
ext_link_label : "Прямая ссылка"
less_than : "менее"
@@ -576,11 +603,13 @@ ru: &DEFAULT_RU
comment_success_msg : "Спасибо за Ваш комментарий! Он будет опубликован на сайте после проверки."
comment_error_msg : "К сожалению, произошла ошибка с отправкой комментария. Пожалуйста, убедитесь, что все обязательные поля заполнены и попытайтесь снова."
loading_label : "Отправка..."
search_placeholder_text : "Введите поисковый запрос..."
results_found : "Найдено"
ru-RU:
<<: *DEFAULT_RU
# Lithuanian / Lietuviškai
# -----------------
# ------------------------
lt: &DEFAULT_LT
page : "Puslapis"
pagination_previous : "Ankstesnis"
@@ -588,6 +617,7 @@ lt: &DEFAULT_LT
breadcrumb_home_label : "Pagrindinis"
breadcrumb_separator : "/"
menu_label : "Meniu rodymas"
search_label :
toc_label : "Turinys"
ext_link_label : "Tiesioginė nuoroda"
less_than : "mažiau nei"
@@ -623,7 +653,7 @@ lt-LT:
<<: *DEFAULT_LT
# Greek
# --------------
# -----
gr: &DEFAULT_GR
page : "Σελίδα"
pagination_previous : "Προηγούμενo"
@@ -631,6 +661,7 @@ gr: &DEFAULT_GR
breadcrumb_home_label : "Αρχική"
breadcrumb_separator : "/"
menu_label : "Μενού"
search_label :
toc_label : "Περιεχόμενα"
ext_link_label : "Εξωτερικός Σύνδεσμος"
less_than : "Λιγότερο από"
@@ -668,14 +699,15 @@ gr-GR:
<<: *DEFAULT_GR
# Swedish
# -----------------
# -------
sv: &DEFAULT_SV
page : "Sidan"
pagination_previous : "Föregående"
pagination_next : "Nästa"
breadcrumb_home_label : "Hem"
breadcrumb_separator : "/"
menu_label : "Meny ridå"
menu_label : "Växla menyläge"
search_label : "Växla sökläge"
toc_label : "På denna sida"
ext_link_label : "Direkt länk"
less_than : "mindre än"
@@ -698,22 +730,25 @@ sv: &DEFAULT_SV
undefined_wpm : "Odefinerade parametrar words_per_minute i _config.yml"
comment_form_info : "Din e-post adress kommer inte att publiceras. Obligatoriska fält är markerade."
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Använd Markdown för text-formateringen."
comment_form_md_info : "Stöd för Markdown finns."
comment_form_name_label : "Namn"
comment_form_email_label : "E-post adress"
comment_form_website_label : "Webdsida (valfritt)"
comment_btn_submit : "Skicka en kommentar"
comment_btn_submitted : "Kommentaren har tagits emot"
comment_success_msg : "Tack för din kommentar! Den kommer att visas på sidan så fort den har godkännts."
comment_error_msg : "Tyvärr det har blivit något fel i en av fälten, se till att du fyller i alla rutor och försök igen."
comment_error_msg : "Tyvärr det har blivit något fel i ett av fälten, se till att du fyllt i alla obligatoriska fält och försök igen."
loading_label : "Laddar..."
search_placeholder_text : "Fyll i sökterm..."
results_found : "Resultat funna"
back_to_top : "Tillbaka till toppen"
sv-SE:
<<: *DEFAULT_SV
sv-FI:
<<: *DEFAULT_SV
# Dutch
# -----------------
# -----
nl: &DEFAULT_NL
page : "Pagina"
pagination_previous : "Vorige"
@@ -721,6 +756,7 @@ nl: &DEFAULT_NL
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Wissel Menu"
search_label :
toc_label : "Op deze pagina"
ext_link_label : "Directe Link"
less_than : "minder dan"
@@ -758,7 +794,7 @@ nl-NL:
<<: *DEFAULT_NL
# Indonesian
# -----------------
# ----------
id: &DEFAULT_ID
page : "Halaman"
pagination_previous : "Kembali"
@@ -766,6 +802,7 @@ id: &DEFAULT_ID
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Menu Toggle"
search_label :
toc_label : "Pada Halaman Ini"
ext_link_label : "Link langsung"
less_than : "Kurang dari"
@@ -801,7 +838,7 @@ id-ID:
<<: *DEFAULT_ID
# Vietnamese
# -----------------
# ----------
vi: &DEFAULT_VI
page : "Trang"
pagination_previous : "Trước"
@@ -809,6 +846,7 @@ vi: &DEFAULT_VI
breadcrumb_home_label : "Trang chủ"
breadcrumb_separator : "/"
menu_label : "Menu"
search_label :
toc_label : "Tại trang này"
ext_link_label : "Đường dẫn trực tiếp"
less_than : "nhỏ hơn"
@@ -840,6 +878,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_placeholder_text : "Nhập từ khóa cần tìm..."
results_found : "Kết quả tìm được"
back_to_top : "Lên đầu trang"
vi-VN:
<<: *DEFAULT_VI
@@ -852,6 +893,7 @@ da: &DEFAULT_DA
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Vis/skjul menu"
search_label :
toc_label : "På denne side"
ext_link_label : "Direkte link"
less_than : "mindre end"
@@ -883,6 +925,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_placeholder_text : "Hvad leder du efter..."
results_found : "Resultat(er) fundet"
back_to_top : "Tilbage til toppen"
da-DK:
<<: *DEFAULT_DA
@@ -895,6 +940,7 @@ pl: &DEFAULT_PL
breadcrumb_home_label : "Strona główna"
breadcrumb_separator : "/"
menu_label : "Przełącz menu"
search_label :
toc_label : "Spis treści"
ext_link_label : "Link bezpośredni"
less_than : "mniej niż"
@@ -926,11 +972,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..."
da-PL:
pl-PL:
<<: *DEFAULT_PL
# Japanese
# -----------------
# --------
ja: &DEFAULT_JA
page : "ページ"
pagination_previous : "前へ"
@@ -938,6 +984,7 @@ ja: &DEFAULT_JA
breadcrumb_home_label : "ホーム"
breadcrumb_separator : "/"
menu_label : "メニュー"
search_label :
toc_label : "目次"
ext_link_label : "リンク"
less_than :
@@ -974,6 +1021,381 @@ ja: &DEFAULT_JA
ja-JP:
<<: *DEFAULT_JA
# Slovak
# -----------------
sk: &DEFAULT_SK
page : "Stránka"
pagination_previous : "Predošlá"
pagination_next : "Ďalšia"
breadcrumb_home_label : "Domov"
breadcrumb_separator : "/"
menu_label : "Menu"
search_label :
toc_label : "Obsah"
ext_link_label : "Priamy odkaz"
less_than : "menej ako"
minute_read : "minút"
share_on_label : "Zdieľaj na"
meta_label :
tags_label : "Tagy:"
categories_label : "Kategórie:"
date_label : "Aktualizované:"
comments_label : "Zanechaj odkaz"
comments_title : "Komentáre"
more_label : "Dozvedieť sa viac"
related_label : "Podobné články"
follow_label : "Sleduj:"
feed_label : "Zoznam"
powered_by : "Stránka vytvorená pomocou"
website_label : "Web stránka"
email_label : "Email"
recent_posts : "Najnovšie príspevky"
undefined_wpm : "Nedefinovaný parameter words_per_minute v _config.yml"
comment_form_info : "Tvoja emailová adresa nebude publikovaná. Požadované polia sú označené"
comment_form_comment_label : "Komentár"
comment_form_md_info : "Markdown je podporovaný."
comment_form_name_label : "Meno"
comment_form_email_label : "Emailová adresa"
comment_form_website_label : "Webstránka (voliteľné)"
comment_btn_submit : "Vlož komentár"
comment_btn_submitted : "Vložený"
comment_success_msg : "Ďakujem za tvoj komentár! Po schválení bude zobrazený na stránke."
comment_error_msg : "Prepáč, pri ukladaní nastala chyba. Ubezpeč sa prosím, že si vyplnil všetky požadované polia a skús znova."
loading_label : "Načítava sa..."
search_placeholder_text : "Zadaj hľadaný výraz..."
results_found : "Nájdených výsledkov"
back_to_top : "Na začiatok stránky"
sk-SK:
<<: *DEFAULT_SK
# Hungarian
# -----------------
hu: &DEFAULT_HU
page : "Oldal"
pagination_previous : "Előző"
pagination_next : "Következő"
breadcrumb_home_label : "Kezdőlap"
breadcrumb_separator : "/"
menu_label : "Menü nyit/zár"
search_label :
toc_label : "Ezen az oldalon"
ext_link_label : "Közvetlen Link"
less_than : "kevesebb mint"
minute_read : "eltöltött percek"
share_on_label : "Megosztás"
meta_label :
tags_label : "Tagek:"
categories_label : "Kategóriák:"
date_label : "Frissítve:"
comments_label : "Szólj hozzá!"
comments_title : "Hozzászólások"
more_label : "Tovább"
related_label : "Ajánlások"
follow_label : "Követés:"
feed_label : "Folyam"
powered_by : "Powered by"
website_label : "Honlap"
email_label : "Email"
recent_posts : "Friss cikkek"
undefined_wpm : "Ismeretlen paraméter words_per_minute : _config.yml"
comment_form_info : "Az e-mail címed nem lesz publikus. A csillagozott mezők kitöltése kötelező."
comment_form_comment_label : "Hozzászólás"
comment_form_md_info : "Támogatott formázási mód: Markdown"
comment_form_name_label : "Név"
comment_form_email_label : "Email cím"
comment_form_website_label : "Honlap (nem kötelező):"
comment_btn_submit : "Hozzászólás elküldése"
comment_btn_submitted : "Hozzászólás elküldve"
comment_success_msg : "Köszönjük a Hozzászólást! A Hozzászólások csak előzetes moderáció után lesznek publikusak."
comment_error_msg : "Hoppá, hiba történt a beküldés közben. Kérlek ellenőrizd hogy minden kötelező mező ki van-e töltve."
loading_label : "Betöltés..."
search_placeholder_text : "Keresendő szöveg..."
results_found : "Találatok:"
back_to_top : "Oldal tetejére"
hu-HU:
<<: *DEFAULT_HU
# Romanian
# -----------------
ro: &DEFAULT_RO
page : "Pagina"
pagination_previous : "Anterior"
pagination_next : "Următor"
breadcrumb_home_label : "Acasă"
breadcrumb_separator : "/"
menu_label : "Comută meniul"
search_label :
toc_label : "Pe această pagină"
ext_link_label : "Link direct"
less_than : "mai puțin de"
minute_read : "minute de citit"
share_on_label : "Distribuie pe"
meta_label :
tags_label : "Etichete:"
categories_label : "Categorii:"
date_label : "Actualizat:"
comments_label : "Lasă un comentariu"
comments_title : "Comentarii"
more_label : "Citește mai departe"
related_label : "S-ar putea să-ți placă"
follow_label : "Urmărește:"
feed_label : "Feed RSS"
powered_by : "Cu sprijinul"
website_label : "Site"
email_label : "Email"
recent_posts : "Articole recente"
undefined_wpm : "Parametru words_per_minute nedefinit în _config.yml"
comment_form_info : "Adresa ta de email nu va fi făcută publică. Câmpurile marcate sunt obligatorii"
comment_form_comment_label : "Comentariu"
comment_form_md_info : "Markdown este suportat."
comment_form_name_label : "Nume"
comment_form_email_label : "Adresă de email"
comment_form_website_label : "Site (opțional)"
comment_btn_submit : "Trimite comentariul"
comment_btn_submitted : "Trimis"
comment_success_msg : "Mulțumesc pentru comentariu! Va apărea pe site în momentul în care va fi aprobat."
comment_error_msg : "Scuze, este o problemă cu comentariul tău. Asigură-te că toate câmpurile obligatorii au fost completate și încearcă din nou."
loading_label : "Se încarcă..."
search_placeholder_text : "Caută ceva..."
results_found : "Rezultate găsite"
back_to_top : "Înapoi în susul paginii"
ro-RO:
<<: *DEFAULT_RO
# Punjabi
# -----------------
pa: &DEFAULT_PA
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 : "ਦੁਆਰਾ ਸੰਚਾਲਿਤ"
website_label : "ਵੈੱਬਸਾਇਟ"
email_label : "ਈਮੇਲ"
recent_posts : "ਹਾਲ ਹੀ ਦੇ ਪੋਸਟ"
undefined_wpm : "_config.yml ਤੇ ਅਣ-ਪ੍ਰਭਾਸ਼ਿਤ ਪੈਰਾਮੀਟਰ words_per_minute"
comment_form_info : "ਤੁਹਾਡਾ ਈਮੇਲ ਪਤਾ ਪ੍ਰਕਾਸ਼ਿਤ ਨਹੀਂ ਕੀਤਾ ਜਾਵੇਗਾ। ਅਨੁਮਾਨਿਤ ਸਥਾਨਾਂ ਨੂੰ ਅੰਡਰਲਾਈਨ ਕੀਤਾ ਗਿਆ ਹੈ"
comment_form_comment_label : "ਟਿੱਪਣੀ"
comment_form_md_info : "ਮਾਰਕਡਾਊਨ ਵਰਤ ਸਕਦੇ ਹੋ।"
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_placeholder_text : "ਆਪਣੀ ਖੋਜ ਦੇ ਸ਼ਬਦ ਨੂੰ ਦਰਜ ਕਰੋ..."
results_found : "ਨਤੀਜਾ ਮਿਲਿਆ/ਮਿਲੇ"
back_to_top : "ਵਾਪਸ ਚੋਟੀ 'ਤੇ ਜਾਓ"
pa-IN:
<<: *DEFAULT_PA
# Persian (Farsi)
# --------------
fa: &DEFAULT_FA
page : "صفحه"
pagination_previous : "قبلی"
pagination_next : "بعدی"
breadcrumb_home_label : "صفحه اصلی"
breadcrumb_separator : "/"
menu_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 : "طراحی شده توسط"
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_placeholder_text : "...عبارت جستجوی خود را وارد کنید"
results_found : "نتایج"
back_to_top : "بازگشت به بالا"
fa-IR:
<<: *DEFAULT_FA
# Malayalam
# -----------------
ml: &DEFAULT_ML
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 : "പവേർഡ് ബൈ"
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_placeholder_text : "നിങ്ങളുടെ തിരയൽ പദം നൽകുക..."
results_found : "ഫലം (കൾ) കണ്ടെത്തി"
back_to_top : "മുകളിലേയ്ക്ക്"
ml-IN:
<<: *DEFAULT_ML
# Thailand
# --------------
th: &DEFAULT_TH
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 : "ขับเคลื่อนโดย"
website_label : "เว็บไซต์"
email_label : "อีเมล"
recent_posts : "โพสล่าสุด"
undefined_wpm : "ไม่สามารถระบุพารามิเตอร์ words_per_minute ได้ใน _config.yml"
comment_form_info : "อีเมลของคุณไม่สามารถโพสสาธารณะได้ กรุณากรอกช่องที่ระบุด้วยเครื่องหมายดอกจันไว้"
comment_form_comment_label : "แสดงความคิดเห็น"
comment_form_md_info : "มาร์กดาวน์ได้รับการสนับสนุน"
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_placeholder_text : "ใส่คำค้นหาของคุณ..."
results_found : "ผลการค้นหา พบ"
back_to_top : "กลับด้านบน"
th-TH:
<<: *DEFAULT_TH
# Hindi
# -----------------
hi: &DEFAULT_HI
page : "पृष्ठ"
pagination_previous : "पिछला"
pagination_next : "अगला"
breadcrumb_home_label : "घर"
breadcrumb_separator : "/"
menu_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 : "द्वारा संचालित"
website_label : "वेबसाइट"
email_label : "ईमेल"
recent_posts : "हाल के पोस्ट"
undefined_wpm : "_config.yml पर अपरिभाषित पैरामीटर words_per_minute"
comment_form_info : "आपका ईमेल पता प्रकाशित नहीं किया जाएगा। अपेक्षित स्थानों को रेखांकित कर दिया गया है"
comment_form_comment_label : "टिप्पणी"
comment_form_md_info : "मार्कडाउन की अनुमति है।"
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_placeholder_text : "अपना खोज शब्द दर्ज करें..."
results_found : "परिणाम मिला/मिले"
back_to_top : "शीर्ष पर वापस"
hi-IN:
<<: *DEFAULT_HI
# Another locale
# --------------
#
@@ -0,0 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.analytics.google.tracking_id }}', { 'anonymize_ip': {{ site.analytics.google.anonymize_ip | default: false }}});
</script>
@@ -1,9 +1,7 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
ga('send', 'pageview');
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','{{ site.analytics.google.tracking_id }}','auto');
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }});
ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async></script>
@@ -1,6 +1,9 @@
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
{% if site.analytics.google.anonymize_ip == true %}
_gaq.push(['_gat._anonymizeIp']);
{% endif %}
_gaq.push(['_trackPageview']);
(function() {
+2
View File
@@ -5,6 +5,8 @@
{% include /analytics-providers/google.html %}
{% when "google-universal" %}
{% include /analytics-providers/google-universal.html %}
{% when "google-gtag" %}
{% include /analytics-providers/google-gtag.html %}
{% when "custom" %}
{% include /analytics-providers/custom.html %}
{% endcase %}
+4 -4
View File
@@ -11,23 +11,23 @@
{% endif %}
<div class="{{ include.type | default: "list" }}__item">
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
<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 | absolute_url }}"
"{{ teaser | relative_url }}"
{% endif %}
alt="">
</div>
{% endif %}
<h2 class="archive__item-title" itemprop="headline">
{% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
<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 | absolute_url }}" rel="permalink">{{ title }}</a>
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
{% endif %}
</h2>
{% if post.read_time %}
+1 -1
View File
@@ -1,6 +1,6 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
+37 -40
View File
@@ -1,24 +1,21 @@
{% if page.author and site.data.authors[page.author] %}
{% assign author = site.data.authors[page.author] %}
{% else %}
{% assign author = site.author %}
{% endif %}
{% assign author = page.author | default: page.authors[0] | default: site.author %}
{% assign author = site.data.authors[author] | default: author %}
<div itemscope itemtype="http://schema.org/Person">
<div itemscope itemtype="https://schema.org/Person">
{% if author.avatar %}
<div class="author__avatar">
{% if author.avatar contains "://" %}
{% assign author_src = author.avatar %}
{% else %}
{% assign author_src = author.avatar | absolute_url %}
{% 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 | absolute_url %}
{% assign author_link = author.home | relative_url %}
{% endif %}
<a href="{{ author_link }}">
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
@@ -46,11 +43,19 @@
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons">
{% if author.location %}
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<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>
</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>
{% endif %}
{% endfor %}
{% endif %}
{% if author.uri %}
<li>
<a href="{{ author.uri }}" itemprop="url">
@@ -70,7 +75,7 @@
{% if author.keybase %}
<li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
<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>
</li>
@@ -78,7 +83,7 @@
{% if author.twitter %}
<li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
<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>
</li>
@@ -86,23 +91,15 @@
{% if author.facebook %}
<li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
<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>
</li>
{% endif %}
{% if author.google_plus %}
<li>
<a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs">
<i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a>
</li>
{% endif %}
{% if author.linkedin %}
<li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
<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>
</li>
@@ -110,7 +107,7 @@
{% if author.xing %}
<li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
<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>
</li>
@@ -118,7 +115,7 @@
{% if author.instagram %}
<li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
<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>
</li>
@@ -126,7 +123,7 @@
{% if author.tumblr %}
<li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
<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>
</li>
@@ -134,7 +131,7 @@
{% if author.bitbucket %}
<li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
<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>
</li>
@@ -142,7 +139,7 @@
{% if author.github %}
<li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
<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>
</li>
@@ -150,7 +147,7 @@
{% if author.gitlab %}
<li>
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
<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>
</li>
@@ -158,7 +155,7 @@
{% if author.stackoverflow %}
<li>
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
<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>
</li>
@@ -166,7 +163,7 @@
{% if author.lastfm %}
<li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
<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>
</li>
@@ -174,7 +171,7 @@
{% if author.dribbble %}
<li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
<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>
</li>
@@ -182,7 +179,7 @@
{% if author.pinterest %}
<li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
<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>
</li>
@@ -190,7 +187,7 @@
{% if author.foursquare %}
<li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
<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>
</li>
@@ -198,7 +195,7 @@
{% if author.steam %}
<li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
<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>
</li>
@@ -207,13 +204,13 @@
{% if author.youtube %}
{% if author.youtube contains "://" %}
<li>
<a href="{{ author.youtube }}" itemprop="sameAs">
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
</a>
</li>
{% else author.youtube %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<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>
</li>
@@ -222,7 +219,7 @@
{% if author.soundcloud %}
<li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
<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>
</li>
@@ -230,7 +227,7 @@
{% if author.weibo %}
<li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
<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>
</li>
@@ -238,7 +235,7 @@
{% if author.flickr %}
<li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
<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>
</li>
@@ -246,7 +243,7 @@
{% if author.codepen %}
<li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
<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>
</li>
@@ -254,7 +251,7 @@
{% if author.vine %}
<li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
<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>
</li>
-5
View File
@@ -1,5 +0,0 @@
{% if site.url %}
{% assign base_path = site.url | append: site.baseurl %}
{% else %}
{% assign base_path = site.github.url %}
{% endif %}
+4 -4
View File
@@ -13,12 +13,12 @@
{% endif %}
<nav class="breadcrumbs">
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
{% assign crumbs = page.url | split: '/' %}
{% assign i = 1 %}
{% for crumb in crumbs offset: 1 %}
{% if forloop.first %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<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>
<meta itemprop="position" content="{{ i }}" />
</li>
@@ -28,8 +28,8 @@
<li class="current">{{ page.title }}</li>
{% else %}
{% assign i = i | plus: 1 %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
<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>
<meta itemprop="position" content="{{ i }}" />
</li>
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
+1 -1
View File
@@ -19,7 +19,7 @@
{% 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 | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
<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 %}
{% endfor %}
</span>
</p>
+2 -2
View File
@@ -1,9 +1,9 @@
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="https://schema.org/Comment">
<div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
</div>
<div class="comment__content-wrapper">
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
<h3 class="comment__author" itemprop="author" itemscope itemtype="https://schema.org/Person">
{% unless include.url == blank %}
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
{% else %}
@@ -1,2 +0,0 @@
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script>
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
+2 -2
View File
@@ -6,12 +6,12 @@
{% include /comments-providers/discourse.html %}
{% when "facebook" %}
{% include /comments-providers/facebook.html %}
{% when "google-plus" %}
{% include /comments-providers/google-plus.html %}
{% when "staticman" %}
{% include /comments-providers/staticman.html %}
{% when "staticman_v2" %}
{% include /comments-providers/staticman_v2.html %}
{% when "utterances" %}
{% include /comments-providers/utterances.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% endcase %}
@@ -1,8 +1,6 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');
$('#new_comment').submit(function () {
var form = this;
@@ -1,8 +1,6 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');
$('#new_comment').submit(function () {
var form = this;
@@ -0,0 +1,20 @@
<script>
'use strict';
(function() {
var commentContainer = document.querySelector('#utterances-comments');
if (!commentContainer) {
return;
}
var script = document.createElement('script');
script.setAttribute('src', 'https://utteranc.es/client.js');
script.setAttribute('repo', '{{ site.repository }}');
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
script.setAttribute('crossorigin', 'anonymous');
commentContainer.appendChild(script);
})();
</script>
+11 -21
View File
@@ -10,21 +10,6 @@
{% when "facebook" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<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 "google-plus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="g-comments" class="g-comments">Loading Google+ Comments ...</section>
<script>
function initComment() {
gapi.comments.render("g-comments", {
href: "{{ page.url | absolute_url }}",
width: "624",
first_party_property: "BLOGGER",
view_type: "FILTERED_POSTMOD"
})
}
</script>
<script async type="text/javascript" src="https://apis.google.com/js/plusone.js" onload="initComment()" />
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>-->
{% when "staticman_v2" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
@@ -50,7 +35,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="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.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.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>
@@ -77,17 +62,19 @@
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.reCaptcha.siteKey }}">
<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.reCaptcha.secret }}">
{% if site.reCaptcha.siteKey %}<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.reCaptcha.siteKey }}">{% endif %}
{% if site.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.reCaptcha.secret }}">{% endif %}
</div>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<div class="form-group">
<div class="g-recaptcha" data-sitekey="{{ site.reCaptcha.siteKey }}"></div>
</div>
{% if site.reCaptcha.siteKey %}
<div class="form-group">
<div class="g-recaptcha" data-sitekey="{{ site.reCaptcha.siteKey }}"></div>
</div>
{% endif %}
<div class="form-group">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
</div>
@@ -163,6 +150,9 @@
<!-- End new comment form -->
{% endif %}
</section>
{% when "utterances" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="utterances-comments"></section>
{% when "custom" %}
<section id="custom-comments"></section>
{% endcase %}
+19
View File
@@ -0,0 +1,19 @@
{% 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 %}
{% endif %}
{%- for post in entries -%}
{% include archive-single.html %}
{%- endfor -%}
+5 -2
View File
@@ -11,7 +11,7 @@
{% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %}
{% else %}
{% capture f_url %}{{ f.url | absolute_url }}{% endcapture %}
{% capture f_url %}{{ f.url | relative_url }}{% endcapture %}
{% endif %}
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
@@ -22,9 +22,12 @@
{% if f.image_path contains "://" %}
"{{ f.image_path }}"
{% else %}
"{{ f.image_path | absolute_url }}"
"{{ f.image_path | relative_url }}"
{% endif %}
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 %}
</div>
{% endif %}
+4 -4
View File
@@ -3,10 +3,10 @@
{% if include.image_path contains "://" %}
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | absolute_url }}"
"{{ include.image_path | relative_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
<figcaption>
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
</figcaption>{% endif %}</figure>
+9 -15
View File
@@ -3,22 +3,16 @@
{% if site.data.ui-text[site.locale].follow_label %}
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
{% endif %}
{% if site.twitter.username %}
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
{% if site.footer.links %}
{% for link in site.footer.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>
{% endif %}
{% endfor %}
{% endif %}
{% if site.facebook.username %}
<li><a href="https://www.facebook.com/{{ site.facebook.username }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
{% endif %}
{% if site.author.github %}
<li><a href="https://github.com/{{ site.author.github }}"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
{% endif %}
{% if site.author.gitlab %}
<li><a href="https://gitlab.com/{{ site.author.gitlab }}"><i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab</a></li>
{% endif %}
{% if site.author.bitbucket %}
<li><a href="https://bitbucket.org/{{ site.author.bitbucket }}"><i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
{% endif %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_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>
<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>
</ul>
</div>
+12 -8
View File
@@ -4,12 +4,16 @@
{% assign gallery = page.gallery %}
{% endif %}
{% if gallery.size == 2 %}
{% assign gallery_layout = 'half' %}
{% elsif gallery.size >= 3 %}
{% assign gallery_layout = 'third' %}
{% if include.layout %}
{% assign gallery_layout = include.layout %}
{% else %}
{% assign gallery_layout = '' %}
{% if gallery.size == 2 %}
{% assign gallery_layout = 'half' %}
{% elsif gallery.size >= 3 %}
{% assign gallery_layout = 'third' %}
{% else %}
{% assign gallery_layout = '' %}
{% endif %}
{% endif %}
<figure class="{{ gallery_layout }} {{ include.class }}">
@@ -19,7 +23,7 @@
{% if img.url contains "://" %}
"{{ img.url }}"
{% else %}
"{{ img.url | absolute_url }}"
"{{ img.url | relative_url }}"
{% endif %}
{% if img.title %}title="{{ img.title }}"{% endif %}
>
@@ -27,7 +31,7 @@
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | absolute_url }}"
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a>
@@ -36,7 +40,7 @@
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | absolute_url }}"
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %}
+5 -7
View File
@@ -2,11 +2,9 @@
{% include seo.html %}
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<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">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<!-- https://t.co/dKP3o1e -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
@@ -14,9 +12,9 @@
</script>
<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<!--[if lte IE 9]>
<!--[if IE ]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
@@ -36,7 +34,7 @@
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | absolute_url }}{% endcapture %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- start custom head snippets -->
<!-- insert favicons. use http://realfavicongenerator.net/ -->
<!-- insert favicons. use https://realfavicongenerator.net/ -->
<!-- end custom head snippets -->
+44 -19
View File
@@ -1,32 +1,57 @@
{% if site.logo contains "://" %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% else %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% endif %}
<div class="masthead">
<div class="masthead__inner-wrap">
<div class="masthead__menu">
<nav id="site-nav" class="greedy-nav">
<a class="site-title" href="{{ '/' | absolute_url }}">{{ site.title }}</a>
<ul class="visible-links">
{% for link in site.data.navigation.main %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
<li class="masthead__menu-item">
<a href="{{ domain }}{{ link.url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
</li>
{% endfor %}
</ul>
<nav id="site-nav" class="navbar">
<div class="navbar-header">
{% unless logo_path == empty %}
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
{% endunless %}
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}</a>
</div>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#masthead-navbar-collapse" aria-expanded="false">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle menu" }}</span>
<div class="navicon"></div>
</button>
{% 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>
</button>
{% endif %}
<button class="greedy-nav__toggle" type="button">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
<div class="navicon"></div>
</button>
<ul class="hidden-links hidden"></ul>
<div id="masthead-navbar-collapse" class="collapse navbar-collapse">
<ul class="navbar-nav">
{%- 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="{% if link.children != null %}dropdown{% endif %}">
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %} {% if link.children != null %}class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"{% endif %}>{{ link.title }} {% if link.children != null %}<i class="fas fa-angle-down"></i>{% endif %}</a>
{% if link.children != null %}
<ul class="dropdown-menu">
{% for child in link.children %}
{% if child.url contains "://" %}
{% assign child_url = child.url %}
{% else %}
{% assign child_url = child.url | relative_url %}
{% endif %}
<li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
{%- endfor -%}
</ul>
</div>
</nav>
</div>
</div>
+6 -6
View File
@@ -10,12 +10,12 @@
{% if nav.url %}
{% comment %} internal/external URL check {% endcomment %}
{% if nav.url contains "://" %}
{% assign domain = "" %}
{% assign nav_url = nav.url %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% assign nav_url = nav.url | relative_url %}
{% endif %}
<a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
<a href="{{ nav_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% else %}
<span class="nav__sub-title">{{ nav.title }}</span>
{% endif %}
@@ -25,9 +25,9 @@
{% for child in nav.children %}
{% comment %} internal/external URL check {% endcomment %}
{% if child.url contains "://" %}
{% assign domain = "" %}
{% assign child_url = child.url %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% assign child_url = child.url | relative_url %}
{% endif %}
{% comment %} set "active" class on current page {% endcomment %}
@@ -37,7 +37,7 @@
{% assign active = "" %}
{% endif %}
<li><a href="{{ domain }}{{ child.url }}" class="{{ active }}">{{ child.title }}</a></li>
<li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
+16 -5
View File
@@ -1,19 +1,19 @@
{% if page.header.image contains "://" %}
{% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %}
{% capture img_path %}{{ page.header.image | absolute_url }}{% endcapture %}
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.cta_url contains "://" %}
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
{% else %}
{% capture cta_path %}{{ page.header.cta_url | absolute_url }}{% endcapture %}
{% 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 | absolute_url }}{% endcapture %}
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_filter contains "rgba" %}
@@ -35,7 +35,7 @@
>
{% if page.header.overlay_color or page.header.overlay_image %}
<div class="wrapper">
<h1 class="page__title" itemprop="headline">
<h1 id="page-title" class="page__title" itemprop="headline">
{% if paginator and site.paginate_show_page_num %}
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
{% else %}
@@ -45,12 +45,23 @@
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% endif %}
{% if site.read_time and page.read_time %}
{% 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.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>
{% 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>
{% endfor %}
{% endif %}
</div>
{% else %}
<img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
+6 -6
View File
@@ -1,13 +1,13 @@
{% if paginator.total_pages > 1 %}
<nav class="pagination">
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | absolute_url %}
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
<ul>
{% comment %} Link for previous page {% endcomment %}
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
{% else %}
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
{% endif %}
{% else %}
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
@@ -35,7 +35,7 @@
{% for index in (page_start..page_end) %}
{% if index == paginator.page %}
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | absolute_url }}" class="disabled current">{{ index }}</a></li>
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" class="disabled current">{{ index }}</a></li>
{% else %}
{% comment %} Distance from current page and this link {% endcomment %}
{% assign dist = paginator.page | minus: index %}
@@ -43,7 +43,7 @@
{% comment %} Distance must be a positive value {% endcomment %}
{% assign dist = 0 | minus: dist %}
{% endif %}
<li><a href="{{ site.paginate_path | replace: ':num', index | absolute_url }}">{{ index }}</a></li>
<li><a href="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
{% endif %}
{% endfor %}
@@ -55,12 +55,12 @@
{% if paginator.page == paginator.total_pages %}
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
{% else %}
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | absolute_url }}">{{ paginator.total_pages }}</a></li>
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
{% endif %}
{% comment %} Link next page {% endcomment %}
{% if paginator.next_page %}
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
{% else %}
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
{% endif %}
+2 -2
View File
@@ -1,12 +1,12 @@
{% if page.previous or page.next %}
<nav class="pagination">
{% if page.previous %}
<a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
{% else %}
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
{% endif %}
{% if page.next %}
<a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
{% else %}
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
{% endif %}
+3
View File
@@ -0,0 +1,3 @@
{%- for post in site.categories[include.taxonomy] -%}
{% include archive-single.html %}
{%- endfor -%}
+3
View File
@@ -0,0 +1,3 @@
{%- for post in site.tags[include.taxonomy] -%}
{% include archive-single.html %}
{%- endfor -%}
+12 -13
View File
@@ -3,26 +3,25 @@
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | absolute_url }}{% endcapture %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
{% else %}
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/all.js" integrity="sha384-g5uSoOSBd7KkhAMlnQILrecXvzst9TdC09/VM+pjDTCM+1il8RHz5fKANTFFb+gQ" crossorigin="anonymous"></script>
{% endif %}
{% if site.search == true or page.layout == "search" %}
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
{% case lang %}
{% when "gr" %}
{% assign lang = "gr" %}
{% else %}
{% assign lang = "en" %}
{% endcase %}
<script defer src="{{ '/assets/js/lunr/lunr.min.js' | absolute_url }}"></script>
<script defer src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
<script defer src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
{% include_cached search/lunr-search-scripts.html %}
{%- when "google" -%}
{% include_cached search/google-search-scripts.html %}
{%- when "algolia" -%}
{% include_cached search/algolia-search-scripts.html %}
{%- endcase -%}
{% endif %}
{% include analytics.html %}
@@ -0,0 +1,54 @@
<!-- 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'
]
}
});
const hitTemplate = function(hit) {
const url = hit.url;
const title = hit._highlightResult.title.value;
const content = hit._highlightResult.html.value;
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>
`;
}
// 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
}
})
);
// Starting the search
search.start();
</script>
@@ -0,0 +1,30 @@
<script>
(function () {
var cx = '{{ site.google.search_engine_id }}';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
function googleCustomSearchExecute() {
var input = document.getElementById('cse-search-input-box-id');
var element = google.search.cse.element.getElement('searchresults-only0');
if (input.value == '') {
element.clearAllResults();
} else {
element.execute(input.value);
}
return false;
}
{% if site.google.instant_search %}
$(document).ready(function () {
$('input#cse-search-input-box-id').on('keyup', function () {
googleCustomSearchExecute();
});
});
{% endif %}
</script>
+10
View File
@@ -0,0 +1,10 @@
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
{% case lang %}
{% when "gr" %}
{% assign lang = "gr" %}
{% else %}
{% assign lang = "en" %}
{% endcase %}
<script src="{{ '/assets/js/lunr/lunr.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/lunr/lunr-store.js' | relative_url }}"></script>
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | relative_url }}"></script>
+18
View File
@@ -0,0 +1,18 @@
<div class="search-content__inner-wrap">
{%- 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...' }}" />
<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...' }}" />
</form>
<div id="results" class="results">
<gcse:searchresults-only></gcse:searchresults-only>
</div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div>
-4
View File
@@ -1,4 +0,0 @@
<div class="search-content__inner-wrap">
<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...' }}" />
<div id="results" class="results"></div>
</div>
+83 -77
View File
@@ -1,76 +1,83 @@
<!-- begin SEO -->
{% if site.url %}
{% assign seo_url = site.url | append: site.baseurl %}
{% endif %}
{% assign seo_url = seo_url | default: site.github.url %}
<!-- begin _includes/seo.html -->
{%- if site.url -%}
{%- assign seo_url = site.url | append: site.baseurl -%}
{%- endif -%}
{%- assign seo_url = seo_url | default: site.github.url -%}
{% if page.title %}
{% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '&#124;' %}
{%- if page.title -%}
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
{%- endif -%}
{%- if seo_title -%}
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}
{% if page.canonical_url %}
{%- assign canonical_url = page.canonical_url %}
{% else %}
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
{% endif %}
{% if seo_title %}
{% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
{% endif %}
{%- 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 -%}
{%- endif -%}
{% if site.url %}
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
{% endif %}
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
{%- assign author = site.data.authors[author] | default: author -%}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
{%- if author.twitter -%}
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{% 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 %}
{% 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_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_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 | escape -%}
{%- if page.date -%}
{%- assign og_type = "article" -%}
{%- else -%}
{%- assign og_type = "website" -%}
{%- endif -%}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
<meta name="description" content="{{ seo_description }}">
{% assign seo_author = page.author | default: page.author[0] | default: site.author.name %}
{% if seo_author %}
{% if seo_author.twitter %}
{% assign seo_author_twitter = seo_author.twitter %}
{% else %}
{% if site.data.authors and site.data.authors[seo_author] %}
{% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
{% else %}
{% assign seo_author_twitter = seo_author %}
{% endif %}
{% endif %}
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
{% endif %}
<meta name="author" content="{{ seo_author }}">
<meta property="og:type" content="{{ og_type }}">
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
{% if seo_url %}
<link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
<meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
{% endif %}
<meta property="og:url" content="{{ canonical_url }}">
{% if page.excerpt %}
<meta property="og:description" content="{{ seo_description }}">
{% 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_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_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 | escape %}
{% if page_large_image %}
<meta property="og:image" content="{{ page_large_image }}">
{% elsif page_teaser_image %}
<meta property="og:image" content="{{ page_teaser_image }}">
{% endif %}
{% if site.twitter.username %}
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
@@ -88,11 +95,19 @@
{% endif %}
{% endif %}
{% if seo_author_twitter %}
<meta name="twitter:creator" content="@{{ seo_author_twitter }}">
{% if author_twitter %}
<meta name="twitter:creator" content="@{{ author_twitter }}">
{% endif %}
{% endif %}
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
{% if og_type == "article" and page.last_modified_at %}
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
{% endif %}
{% if site.facebook %}
{% if site.facebook.publisher %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}">
@@ -103,28 +118,19 @@
{% endif %}
{% endif %}
{% if page_large_image %}
<meta property="og:image" content="{{ page_large_image }}">
{% elsif page_teaser_image %}
<meta property="og:image" content="{{ page_teaser_image }}">
{% endif %}
{% if page.date %}
<meta property="og:type" content="article">
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
<link rel="canonical" href="{{ canonical_url }}">
{% if paginator.previous_page %}
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
{% endif %}
{% if paginator.next_page %}
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
{% endif %}
{% if site.og_image %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@context": "https://schema.org",
"@type": "Organization",
"url": {{ seo_url | jsonify }},
"logo": {{ site_og_image | jsonify }}
@@ -135,11 +141,11 @@
{% if site.social %}
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
"name" : "{{ site.social.name | default: site.name }}",
"url" : {{ seo_url | jsonify }},
"sameAs" : {{ site.social.links | jsonify }}
"@context": "https://schema.org",
"@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
"name": {{ site.social.name | default: site.name | jsonify }},
"url": {{ seo_url | jsonify }},
"sameAs": {{ site.social.links | jsonify }}
}
</script>
{% endif %}
@@ -156,7 +162,7 @@
{% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %}
{% if site.naver-site-verification %}
<meta name="naver-site-verification" content="{{ site.naver-site-verification }}">
{% if site.naver_site_verification %}
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
{% endif %}
<!-- end SEO -->
<!-- end _includes/seo.html -->
+2 -1
View File
@@ -8,12 +8,13 @@
{% if s.image contains "://" %}
"{{ s.image }}"
{% else %}
"{{ s.image | absolute_url }}"
"{{ s.image | relative_url }}"
{% endif %}
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 %}
{% if s.nav %}{% include nav_list nav=s.nav %}{% endif %}
{% endfor %}
{% if page.sidebar.nav %}
{% include nav_list nav=page.sidebar.nav %}
-2
View File
@@ -7,7 +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://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" 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' }} Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</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>
</section>
+1 -1
View File
@@ -19,7 +19,7 @@
{% 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 | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
<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 %}
{% endfor %}
</span>
</p>
+23 -13
View File
@@ -1,6 +1,7 @@
{% capture tocWorkspace %}
{%- comment -%}
Version 1.0.2
{% comment %}
Version 1.0.5
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
@@ -8,25 +9,31 @@
{% 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
* 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
Output:
An 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 -%}
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 %}
{% assign orderedList = include.ordered | 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 %}
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
{% for node in nodes %}
{% if node == "" %}
{% continue %}
@@ -55,12 +62,15 @@
{% assign space = '' %}
{% for i in (1..indentAmount) %}
{% assign space = space | prepend: ' ' %}
{% assign space = space | prepend: ' ' %}
{% endfor %}
{% capture my_toc %}{{ my_toc }}
{{ space }}- [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}](#{{ html_id }}){% endcapture %}
{% unless include.item_class == blank %}
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
{% endunless %}
{% 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 %}
{% endfor %}
{% if include.class %}
+4 -2
View File
@@ -4,8 +4,10 @@
<!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container">
{% if video_provider == "vimeo" %}
<iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<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.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
<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>
+1 -1
View File
@@ -19,7 +19,7 @@ layout: default
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 class="page__title">{{ page.title }}</h1>
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
{{ content }}
</div>
+42
View File
@@ -0,0 +1,42 @@
---
layout: archive
---
{{ content }}
{% assign categories_max = 0 %}
{% for category in site.categories %}
{% if category[1].size > categories_max %}
{% assign categories_max = category[1].size %}
{% endif %}
{% endfor %}
<ul class="taxonomy__index">
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<li>
<a href="#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
{% 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">
<h2 class="archive__subtitle">{{ category[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in category.last %}
{% include archive-single.html type=page.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>
</section>
{% endif %}
{% endfor %}
{% endfor %}
+9
View File
@@ -0,0 +1,9 @@
---
layout: archive
---
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include posts-category.html taxonomy=page.taxonomy type=page.entries_layout %}
</div>
+9
View File
@@ -0,0 +1,9 @@
---
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 %}
</div>
+7 -7
View File
@@ -3,10 +3,10 @@
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
Minimal Mistakes Jekyll Theme 4.15.2 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.txt
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<head>
@@ -16,8 +16,8 @@
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
{% include browser-upgrade.html %}
{% include masthead.html %}
{% include_cached browser-upgrade.html %}
{% include_cached masthead.html %}
<div class="initial-content">
{{ content }}
@@ -25,14 +25,14 @@
{% if site.search == true %}
<div class="search-content">
{% include search_form.html %}
{% include_cached search/search_form.html %}
</div>
{% endif %}
<div class="page__footer">
<footer>
{% include footer/custom.html %}
{% include footer.html %}
{% include_cached footer.html %}
</footer>
</div>
+2
View File
@@ -2,6 +2,8 @@
layout: archive
---
{{ content }}
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% for post in paginator.posts %}
+29
View File
@@ -0,0 +1,29 @@
---
layout: archive
---
{{ content }}
<ul class="taxonomy__index">
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsInYear %}
<li>
<a href="#{{ year.name }}">
<strong>{{ year.name }}</strong> <span class="taxonomy__count">{{ year.items | size }}</span>
</a>
</li>
{% endfor %}
</ul>
{% assign postsByYear = site.posts | 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' }}">
{% for post in year.items %}
{% include archive-single.html type=page.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>
</section>
{% endfor %}
+17 -7
View File
@@ -17,16 +17,26 @@ layout: default
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 class="page__title">{{ page.title }}</h1>
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
{{ content }}
<form>
<input type="input" id="search" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
</form>
<div id="results"></div>
{%- 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...' }}" />
<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...' }}" />
</form>
<div id="results" class="results">
<gcse:searchresults-only></gcse:searchresults-only>
</div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div>
</div>
+7 -4
View File
@@ -17,7 +17,7 @@ layout: default
<div id="main" role="main">
{% include sidebar.html %}
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
<article class="page" 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 %}
@@ -26,7 +26,7 @@ layout: default
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% 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 %}
@@ -35,10 +35,10 @@ layout: default
<section class="page__content" itemprop="text">
{% if page.toc %}
<aside class="sidebar__right">
<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 }}</h4></header>
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
</nav>
</aside>
{% endif %}
@@ -84,6 +84,9 @@ layout: default
<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>
+1 -1
View File
@@ -9,7 +9,7 @@ layout: default
{% endif %}
<div id="main" role="main">
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
<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 %}
+9
View File
@@ -0,0 +1,9 @@
---
layout: archive
---
{{ content }}
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% include posts-tag.html taxonomy=page.taxonomy type=page.entries_layout %}
</div>
+42
View File
@@ -0,0 +1,42 @@
---
layout: archive
---
{{ content }}
{% assign tags_max = 0 %}
{% for tag in site.tags %}
{% if tag[1].size > tags_max %}
{% assign tags_max = tag[1].size %}
{% endif %}
{% endfor %}
<ul class="taxonomy__index">
{% for i in (1..tags_max) reversed %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
<li>
<a href="#{{ tag[0] | slugify }}">
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
{% 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' }}">
{% for post in tag.last %}
{% include archive-single.html type=page.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>
</section>
{% endif %}
{% endfor %}
{% endfor %}
+4 -3
View File
@@ -1,7 +1,7 @@
/*!
* Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
* Minimal Mistakes Jekyll Theme 4.15.2 by Michael Rose
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
*/
/* Variables */
@@ -23,6 +23,7 @@
/* Components */
@import "minimal-mistakes/buttons";
@import "minimal-mistakes/dropdowns";
@import "minimal-mistakes/notices";
@import "minimal-mistakes/masthead";
@import "minimal-mistakes/navigation";
+142 -14
View File
@@ -3,6 +3,7 @@
========================================================================== */
.archive {
margin-top: 1em;
margin-bottom: 2em;
@include breakpoint($large) {
@@ -15,11 +16,10 @@
width: calc(100% - #{$right-sidebar-width});
padding-right: $right-sidebar-width;
}
}
a {
color: inherit;
text-decoration: none;
}
.archive__item {
position: relative;
}
.archive__subtitle {
@@ -41,6 +41,15 @@
overflow: hidden;
text-overflow: ellipsis;
a::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
a + a {
opacity: 0.5;
}
@@ -61,23 +70,44 @@
& + p {
text-indent: 0;
}
a {
position: relative;
}
}
.archive__item-teaser {
position: relative;
border-radius: $border-radius;
overflow: hidden;
img {
width: 100%;
}
}
.archive__item:hover {
.archive__item-teaser {
box-shadow: 0 0 10px rgba(#000, 0.25);
.archive__item-caption {
position: absolute;
bottom: 0;
right: 0;
margin: 0 auto;
padding: 2px 5px;
color: #fff;
font-family: $caption-font-family;
font-size: $type-size-8;
background: #000;
text-align: right;
z-index: 5;
opacity: 0.5;
border-radius: $border-radius 0 0 0;
@include breakpoint($large) {
padding: 5px 10px;
}
.archive__item-title {
text-decoration: underline;
a {
color: #fff;
text-decoration: none;
}
}
@@ -88,6 +118,7 @@
.list__item {
.page__meta {
margin: 0 0 4px;
font-size: 0.6em;
}
}
@@ -158,6 +189,7 @@
.page__meta {
margin: 0 0 4px;
font-size: 0.6em;
}
.archive__item-title {
@@ -193,11 +225,16 @@
@include clearfix();
margin-bottom: 2em;
border-bottom: 1px solid $border-color;
.archive__item-title {
margin-bottom: 0;
}
}
.feature__item {
position: relative;
margin-bottom: 2em;
font-size: 1.25rem;
font-size: 1.125em;
@include breakpoint($small) {
float: left;
@@ -225,18 +262,46 @@
}
}
.archive__item-body {
padding-left: gutter(1 of 12);
padding-right: gutter(1 of 12);
}
a.btn::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
&--left {
position: relative;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem;
font-size: 1.125em;
.archive__item {
float: left;
}
.archive__item-teaser {
margin-bottom: 2em;
}
a.btn::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
@include breakpoint($small) {
.archive__item-teaser {
float: left;
@@ -253,17 +318,31 @@
}
&--right {
position: relative;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem;
font-size: 1.125em;
.archive__item {
float: left;
}
.archive__item-teaser {
margin-bottom: 2em;
}
a.btn::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
@include breakpoint($small) {
text-align: right;
@@ -273,7 +352,7 @@
}
.archive__item-body {
float: right;
float: left;
width: span(7 of 12);
padding-left: gutter(0.5 of 12);
padding-right: gutter(1 of 12);
@@ -282,17 +361,32 @@
}
&--center {
position: relative;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem;
font-size: 1.125em;
.archive__item {
float: left;
width: 100%;
}
.archive__item-teaser {
margin-bottom: 2em;
}
a.btn::before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
@include breakpoint($small) {
text-align: center;
@@ -308,3 +402,37 @@
}
}
}
/* Place inside an archive layout */
.archive {
.feature__wrapper {
.archive__item-title {
margin-top: 0.25em;
font-size: 1em;
}
}
.feature__item,
.feature__item--left,
.feature__item--center,
.feature__item--right {
font-size: 1em;
}
}
/*
Wide Pages
========================================================================== */
.wide {
.archive {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
}
+6 -7
View File
@@ -130,15 +130,14 @@ a {
@extend %tab-focus;
}
&:hover,
&:active {
color: $link-color-hover;
outline: 0;
}
&:visited {
color: $link-color-visited;
}
&:hover {
color: $link-color-hover;
outline: 0;
}
}
/* buttons */
@@ -168,7 +167,7 @@ figcaption > code,
td > code {
padding-top: 0.1rem;
padding-bottom: 0.1rem;
font-size: $type-size-6;
font-size: 0.8em;
background: $code-background-color;
border-radius: $border-radius;
+4 -5
View File
@@ -39,7 +39,6 @@
(info, $info-color),
(facebook, $facebook-color),
(twitter, $twitter-color),
(google-plus, $google-plus-color),
(linkedin, $linkedin-color);
@each $buttoncolor, $color in $buttoncolors {
@@ -52,13 +51,13 @@
border: 1px solid #fff;
}
&:hover {
@include yiq-contrasted(mix(#000, $color, 20%));
}
&:visited {
@include yiq-contrasted($color);
}
&:hover {
@include yiq-contrasted(mix(#000, $color, 20%));
}
}
}
+142
View File
@@ -0,0 +1,142 @@
//
// Dropdown menus
// --------------------------------------------------
$zindex-dropdown: 1000;
$transition-collapse: height 0.35s ease !default;
.collapse {
&:not(.show) {
display: none;
}
&.in {
display: block;
}
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition: $transition-collapse;
transition: $transition-collapse;
}
// The dropdown wrapper (div)
.dropdown {
position: relative;
}
// Prevent the focus on the dropdown toggle when closing dropdowns
.dropdown-toggle:focus {
outline: 0;
}
// The dropdown menu (ul)
.dropdown-menu {
display: none; // none by default, but block on "open" of the menu
position: absolute;
top: 100%;
right: 0;
z-index: $zindex-dropdown;
float: left;
min-width: 160px;
padding: 5px;
margin: 15px 0 0; // override default ul
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
list-style: none;
border: 1px solid $border-color;
border-radius: $border-radius;
background: $background-color;
background-clip: padding-box;
-webkit-box-shadow: 0 2px 4px 0 rgba(#000, 0.16),
0 2px 10px 0 rgba(#000, 0.12);
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
&:before {
content: "";
position: absolute;
top: -11px;
right: 10px;
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: $border-color transparent;
display: block;
z-index: 0;
}
&:after {
content: "";
position: absolute;
top: -10px;
right: 10px;
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: $background-color transparent;
display: block;
z-index: 1;
}
// Links within the dropdown menu
> li {
display: block;
border-bottom: 1px solid $border-color;
&:last-child {
border-bottom: none;
}
}
> li > a {
display: block;
clear: both;
white-space: nowrap; // prevent links from randomly breaking onto new lines
margin: 0;
padding: $navbar-padding-vertical $navbar-padding-horizontal;
font-size: $type-size-5;
&:hover,
&:focus {
text-decoration: none;
color: $masthead-link-color-hover;
background: $navicon-link-color-hover;
}
}
}
// Active state
.dropdown-menu > .active > a {
&,
&:hover,
&:focus {
text-decoration: none;
outline: 0;
}
}
// Open state for the dropdown
.open {
// Show the menu
> .dropdown-menu {
display: block;
}
// Remove the outline when :focus is triggered
> a {
outline: 0;
}
}
// Backdrop to catch body clicks on mobile, etc.
.dropdown-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: ($zindex-dropdown - 10);
}
+6
View File
@@ -82,4 +82,10 @@
padding-right: 10px;
font-weight: bold;
}
.social-icons {
a {
white-space: nowrap;
}
}
}
+25 -13
View File
@@ -18,8 +18,10 @@
padding: 1em;
max-width: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
font-family: $sans-serif-narrow;
@@ -37,13 +39,17 @@
}
}
.site-logo img {
margin-right: 0.5rem;
max-height: 2rem;
}
.site-title {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 0.5rem 0;
align-self: stretch;
-webkit-box-align: center;
align-items: center;
-ms-flex-item-align: center;
align-self: center;
font-weight: bold;
z-index: 20;
}
@@ -64,20 +70,26 @@
}
ul {
clear: both;
margin: 0;
padding: 0;
clear: both;
list-style-type: none;
@include breakpoint($medium) {
height: $nav-height;
line-height: $nav-height;
}
}
}
.masthead__menu-item {
display: block;
list-style-type: none;
white-space: nowrap;
a {
color: $masthead-link-color;
&:hover {
color: $masthead-link-color-hover;
}
}
&--lg {
padding-right: 2em;
font-weight: 700;
.dropdown-menu {
height: auto;
}
}
+2 -2
View File
@@ -4,9 +4,9 @@
%tab-focus {
/* Default*/
outline: thin dotted $warning-color;
outline: thin dotted $focus-color;
/* Webkit*/
outline: 5px auto $warning-color;
outline: 5px auto $focus-color;
outline-offset: -2px;
}
+197 -172
View File
@@ -2,6 +2,168 @@
NAVIGATION
========================================================================== */
/*
Navigation bar
========================================================================== */
.navbar {
@include clearfix();
position: relative;
min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: $navbar-margin-bottom;
border: 1px solid transparent;
}
.navbar-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
float: left;
}
.navbar-collapse {
clear: both;
overflow-x: visible;
border-top: 1px solid transparent;
-webkit-overflow-scrolling: touch;
&.in {
overflow-y: auto;
}
@include breakpoint($medium) {
clear: none;
float: right;
width: auto;
border-top: 0;
-webkit-box-shadow: none;
box-shadow: none;
&.collapse {
display: block !important;
height: auto !important;
padding-bottom: 0; // Override default setting
overflow: visible !important;
}
&.in {
overflow-y: visible;
}
}
}
// Navbar toggle
//
// Custom button for toggling the `.navbar-collapse`, powered by the collapse
// JavaScript plugin.
.navbar-toggle {
position: relative;
float: right;
height: $nav-toggle-height;
padding: 9px 10px;
margin-right: $navbar-padding-horizontal;
background-color: transparent;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid transparent;
// We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`.
&:focus {
outline: 0;
}
@include breakpoint($medium) {
display: none;
}
}
// Navbar nav links
//
// Builds on top of the `.nav` components with its own modifier class to make
// the nav the full height of the horizontal nav (above 768px).
.navbar-nav {
margin: ($navbar-padding-vertical / 2) -$navbar-padding-horizontal;
> li > a {
display: block;
padding-top: $navbar-padding-vertical;
padding-bottom: $navbar-padding-vertical;
}
@include breakpoint(max-width $medium) {
// Dropdowns get custom display when collapsed
.open .dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
> li > a {
&:hover,
&:focus {
background-image: none;
}
}
}
}
// Uncollapse the nav
@include breakpoint($medium) {
float: left;
margin: 0;
> li {
float: left;
> a {
padding: $navbar-padding-vertical $navbar-padding-horizontal;
}
}
}
}
// Dropdown menus
// Menu position and menu carets
.navbar-nav > li > .dropdown-menu {
margin-top: 0.25rem;
}
// Menu position and menu caret support for dropups via extra dropup class
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
margin-bottom: 0;
}
// Component alignment
//
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
// issues with parents and chaining. Only do this when the navbar is uncollapsed
// though so that navbar contents properly stack and align in mobile.
//
// Declared after the navbar components to ensure more specificity on the margins.
@include breakpoint($medium) {
.navbar-left {
float: left;
}
.navbar-right {
float: right;
margin-right: -$navbar-padding-horizontal;
~ .navbar-right {
margin-right: 0;
}
}
}
/*
Breadcrumb navigation links
========================================================================== */
@@ -10,19 +172,14 @@
@include clearfix;
margin: 0 auto;
max-width: 100%;
padding-left: 2em;
padding-right: 2em;
padding-left: 1em;
padding-right: 1em;
font-family: $sans-serif;
-webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
@include breakpoint($large) {
padding-left: 1em;
padding-right: 1em;
}
@include breakpoint($x-large) {
max-width: $x-large;
}
@@ -34,11 +191,11 @@
@include breakpoint($large) {
float: right;
width: span(10 of 12);
width: calc(100% - #{$right-sidebar-width-narrow});
}
@include breakpoint($x-large) {
padding-left: gutter(0.5 of 12);
width: calc(100% - #{$right-sidebar-width});
}
}
@@ -169,146 +326,6 @@
border-top: 1px solid $border-color;
}
/*
Priority plus navigation
========================================================================== */
.greedy-nav {
position: relative;
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
background: $background-color;
a {
display: block;
margin: 0 1rem;
padding: 0.5rem 0;
color: $masthead-link-color;
text-decoration: none;
&:hover {
color: $masthead-link-color-hover;
}
&.site-title {
margin-left: 0;
}
}
&__toggle {
padding: 0 0.5rem;
align-self: stretch;
border: 0;
outline: none;
color: #fff;
background-color: $primary-color;
cursor: pointer;
}
.visible-links {
display: -webkit-box;
display: flex;
-webkit-box-pack: end;
justify-content: flex-end;
-webkit-box-flex: 1;
flex: 1;
overflow: hidden;
li {
-webkit-box-flex: 0;
flex: none;
}
a {
position: relative;
&:before {
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 4px;
background: $primary-color;
width: 100%;
-webkit-transition: $global-transition;
transition: $global-transition;
-webkit-transform: scaleX(0) translate3d(0, 0, 0);
transform: scaleX(0) translate3d(0, 0, 0); /* hide*/
}
&:hover:before {
-webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1); /* reveal*/
}
}
}
.hidden-links {
position: absolute;
top: 100%;
right: 0;
margin-top: 15px;
padding: 5px;
border: 1px solid $border-color;
border-radius: $border-radius;
background: $background-color;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
&.hidden {
display: none;
}
a {
margin: 0;
padding: 10px 20px;
font-size: $type-size-5;
&:hover {
color: $masthead-link-color-hover;
background: $navicon-link-color-hover;
}
}
&:before {
content: "";
position: absolute;
top: -11px;
right: 10px;
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: $border-color transparent;
display: block;
z-index: 0;
}
&:after {
content: "";
position: absolute;
top: -10px;
right: 10px;
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: $background-color transparent;
display: block;
z-index: 1;
}
li {
display: block;
border-bottom: 1px solid $border-color;
&:last-child {
border-bottom: none;
}
}
}
}
/*
Navigation list
========================================================================== */
@@ -321,7 +338,7 @@
display: none;
}
@include breakpoint(max-width ($large - 1px)) {
@include breakpoint(max-width $large - 1px) {
label {
position: relative;
display: inline-block;
@@ -427,7 +444,7 @@
font-weight: bold;
}
@include breakpoint(max-width ($large - 1px)) {
@include breakpoint(max-width $large - 1px) {
position: relative;
max-height: 0;
opacity: 0%;
@@ -441,7 +458,7 @@
}
}
@include breakpoint(max-width ($large - 1px)) {
@include breakpoint(max-width $large - 1px) {
.nav__list input:checked ~ .nav__items {
-webkit-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out;
@@ -457,7 +474,7 @@
.nav__title {
margin: 0;
padding: 0.5rem 1rem;
padding: 0.5rem 0.75rem;
font-family: $sans-serif-narrow;
font-size: $type-size-5;
font-weight: bold;
@@ -466,7 +483,7 @@
.nav__sub-title {
display: block;
margin: 0.5rem 0;
padding: 0.5rem 0;
padding: 0.25rem 0;
font-family: $sans-serif-narrow;
font-size: $type-size-6;
font-weight: bold;
@@ -481,11 +498,10 @@
.toc {
font-family: $sans-serif-narrow;
color: $gray;
text-transform: uppercase;
letter-spacing: 1px;
background-color: $background-color;
border: 1px solid $border-color;
border-radius: $border-radius;
-webkit-box-shadow: $box-shadow;
box-shadow: $box-shadow;
.nav__title {
@@ -495,6 +511,11 @@
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
}
// Scrollspy marks toc items as .active when they are in focus
.active a {
@include yiq-contrasted($active-color);
}
}
.toc__menu {
@@ -502,13 +523,16 @@
padding: 0;
width: 100%;
list-style: none;
font-size: 0.8rem;
font-size: $type-size-6;
@include breakpoint($large) {
font-size: $type-size-7;
}
a {
display: block;
padding: 0.5rem 1rem;
padding: 0.25rem 0.75rem;
color: $muted-text-color;
font-size: $type-size-7;
font-weight: bold;
line-height: 1.5;
border-bottom: 1px solid $border-color;
@@ -518,23 +542,24 @@
}
}
> li:last-child {
a {
border-bottom: none;
}
}
li ul > li a {
padding-left: 1.75rem;
padding-left: 1.25rem;
font-weight: normal;
}
/* hide sub sub links on small screens*/
li > ul li {
display: none;
li ul li ul > li a {
padding-left: 1.75rem;
}
@include breakpoint($medium) {
display: block;
}
li ul li ul li ul > li a {
padding-left: 2.25rem;
}
li ul li ul li ul li ul > li a {
padding-left: 2.75rem;
}
li ul li ul li ul li ul li ul > li a {
padding-left: 3.25rem
}
}
+95 -1
View File
@@ -5,7 +5,6 @@
#main {
@include clearfix;
margin-left: auto;
margin-top: 2em;
margin-right: auto;
padding-left: 1em;
padding-right: 1em;
@@ -34,6 +33,7 @@
.page__inner-wrap {
float: left;
margin-top: 1em;
margin-left: 0;
margin-right: 0;
width: 100%;
@@ -295,6 +295,74 @@
}
}
.taxonomy__section {
margin-bottom: 2em;
padding-bottom: 1em;
&:not(:last-child) {
border-bottom: solid 1px $border-color;
}
.archive__item-title {
margin-top: 0;
}
.archive__subtitle {
clear: both;
border: 0;
}
+ .taxonomy__section {
margin-top: 2em;
}
}
.taxonomy__title {
margin-bottom: 0.5em;
color: lighten($text-color, 60%);
}
.taxonomy__count {
color: lighten($text-color, 50%);
}
.taxonomy__index {
display: grid;
grid-column-gap: 2em;
grid-template-columns: repeat(2, 1fr);
margin: 1.414em 0;
padding: 0;
font-size: 0.75em;
list-style: none;
@include breakpoint($large) {
grid-template-columns: repeat(3, 1fr);
}
a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 0.25em 0;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
color: inherit;
text-decoration: none;
border-bottom: 1px solid $border-color;
}
}
.back-to-top {
display: block;
clear: both;
color: lighten($text-color, 50%);
font-size: 0.6em;
text-transform: uppercase;
text-align: right;
text-decoration: none;
}
/*
Comments
========================================================================== */
@@ -424,3 +492,29 @@
font-size: $type-size-6;
text-transform: uppercase;
}
/*
Wide Pages
========================================================================== */
.wide {
.page {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
.page__related {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
}
+24 -3
View File
@@ -9,18 +9,20 @@
}
.search__toggle {
float: right;
margin-left: 1rem;
margin-right: 1rem;
height: $nav-toggle-height;
border: 0;
outline: none;
color: $muted-text-color;
color: $primary-color;
background-color: transparent;
cursor: pointer;
-webkit-transition: 0.2s;
transition: 0.2s;
&:hover {
color: $text-color;
color: mix(#000, $primary-color, 25%);
}
}
@@ -57,7 +59,8 @@
padding: 0;
border: none;
outline: none;
box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
background-color: transparent;
font-size: $type-size-3;
@@ -105,3 +108,21 @@
margin-bottom: 0;
}
}
/* Algolia search */
.ais-search-box {
max-width: 100% !important;
margin-bottom: 2em;
}
.archive__item-title .ais-Highlight {
color: $primary-color;
font-style: normal;
text-decoration: underline;
}
.archive__item-excerpt .ais-Highlight {
color: $primary-color;
font-style: normal;
font-weight: bold;
}
+50 -6
View File
@@ -8,8 +8,6 @@
.sidebar {
@include clearfix();
margin-bottom: 1em;
@include breakpoint(max-width $large) {
/* fix z-index order of follow links */
position: relative;
@@ -31,10 +29,10 @@
&.sticky {
overflow-y: auto;
/* calculate height of nav list */
height: calc(
100vh - 90px - 2em
); // viewport height - approx. masthead height - main content top margin
/* calculate height of nav list
viewport height - nav height - masthead x-padding
*/
height: calc(100vh - #{$nav-height} - 2em);
}
}
@@ -42,6 +40,11 @@
width: calc(#{$right-sidebar-width} - 1em);
}
> * {
margin-top: 1em;
margin-bottom: 1em;
}
h2,
h3,
h4,
@@ -60,6 +63,11 @@
img {
width: 100%;
&.emoji {
width: 20px;
height: 20px;
}
}
}
@@ -74,6 +82,14 @@
margin-right: -1 * $right-sidebar-width-narrow;
padding-left: 1em;
z-index: 10;
&.sticky {
@include clearfix();
position: -webkit-sticky;
position: sticky;
top: 2em;
float: right;
}
}
@include breakpoint($x-large) {
@@ -272,3 +288,31 @@
}
}
}
/*
Wide Pages
========================================================================== */
.wide .sidebar__right {
margin-bottom: 1em;
@include breakpoint($large) {
position: initial;
top: initial;
right: initial;
width: initial;
margin-right: initial;
padding-left: initial;
z-index: initial;
&.sticky {
float: none;
}
}
@include breakpoint($x-large) {
width: initial;
margin-right: initial;
}
}
+10 -2
View File
@@ -31,7 +31,8 @@ figure.highlight {
border: 0;
/* line numbers*/
&.gutter {
&.gutter,
&.rouge-gutter {
padding-right: 1em;
width: 1em;
color: $base04;
@@ -40,7 +41,8 @@ figure.highlight {
}
/* code */
&.code {
&.code,
&.rouge-code {
padding-left: 1em;
}
}
@@ -314,3 +316,9 @@ figure.highlight {
color: $base09;
}
}
.gist {
th, td {
border-bottom: 0;
}
}
+2
View File
@@ -3,11 +3,13 @@
========================================================================== */
table {
display: block;
margin-bottom: 1em;
width: 100%;
font-family: $global-font-family;
font-size: $type-size-6;
border-collapse: collapse;
overflow-x: auto;
& + table {
margin-top: 1em;
+36 -9
View File
@@ -58,7 +58,8 @@ body:hover .visually-hidden button {
background: #fff;
z-index: 100000;
text-decoration: none;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
}
/*
@@ -103,6 +104,23 @@ body:hover .visually-hidden button {
white-space: nowrap;
}
/*
Task lists
========================================================================== */
.task-list {
padding:0;
li {
list-style-type: none;
}
.task-list-item-checkbox {
margin-right: 0.5em;
opacity: 1;
}
}
/*
Alignment
========================================================================== */
@@ -224,10 +242,8 @@ body:hover .visually-hidden button {
color: $github-color;
}
.fa-google-plus,
.fa-google-plus-square,
.fa-google-plus-g {
color: $google-plus-color;
.fa-gitlab {
color: $gitlab-color;
}
.fa-instagram {
@@ -244,12 +260,21 @@ body:hover .visually-hidden button {
color: $linkedin-color;
}
.fa-mastodon,
.fa-mastodon-square {
color: $mastodon-color;
}
.fa-pinterest,
.fa-pinterest-p,
.fa-pinterest-square {
color: $pinterest-color;
}
.fa-reddit {
color: $reddit-color;
}
.fa-rss,
.fa-rss-square {
color: $rss-color;
@@ -302,7 +327,7 @@ body:hover .visually-hidden button {
position: relative;
width: $navicon-width;
height: $navicon-height;
background: #fff;
background: $primary-color;
margin: auto;
-webkit-transition: 0.3s;
transition: 0.3s;
@@ -314,7 +339,7 @@ body:hover .visually-hidden button {
left: 0;
width: $navicon-width;
height: $navicon-height;
background: #fff;
background: $primary-color;
-webkit-transition: 0.3s;
transition: 0.3s;
}
@@ -381,7 +406,8 @@ body:hover .visually-hidden button {
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: $border-radius;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
/*
@@ -421,7 +447,8 @@ body:hover .visually-hidden button {
background: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
-webkit-box-shadow: $box-shadow;
box-shadow: $box-shadow;
&__title {
margin: 0;
+17 -7
View File
@@ -62,11 +62,13 @@ $border-color: $lighter-gray !default;
$form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default;
$primary-color: #7a8288 !default;
$success-color: #62c462 !default;
$warning-color: #f89406 !default;
$primary-color: #6f777d !default;
$success-color: #3fa63f !default;
$warning-color: #d67f05 !default;
$danger-color: #ee5f5b !default;
$info-color: #52adc8 !default;
$info-color: #3b9cba !default;
$focus-color: $primary-color !default;
$active-color: mix(#fff, $primary-color, 80%) !default;
/* YIQ color contrast */
$yiq-contrasted-dark-default: $dark-gray !default;
@@ -82,11 +84,13 @@ $facebook-color: #3b5998 !default;
$flickr-color: #ff0084 !default;
$foursquare-color: #0072b1 !default;
$github-color: #171516 !default;
$google-plus-color: #dd4b39 !default;
$gitlab-color: #e24329 !default;
$instagram-color: #517fa4 !default;
$lastfm-color: #d51007 !default;
$linkedin-color: #007bb6 !default;
$mastodon-color: #2b90d9 !default;
$pinterest-color: #cb2027 !default;
$reddit-color: #ff4500 !default;
$rss-color: #fa9b39 !default;
$soundcloud-color: #ff3300 !default;
$stackoverflow-color: #fe7a15 !default;
@@ -98,9 +102,9 @@ $youtube-color: #bb0000 !default;
$xing-color: #006567 !default;
/* links */
$link-color: $info-color !default;
$link-color: mix(#000, $info-color, 15%) !default;
$link-color-hover: mix(#000, $link-color, 25%) !default;
$link-color-visited: mix(#fff, $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;
@@ -147,6 +151,12 @@ $right-sidebar-width-wide: 400px !default;
$border-radius: 4px !default;
$box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$nav-height: 2em !default;
$nav-toggle-height: $nav-height !default;
$navbar-height: $nav-height;
$navbar-margin-bottom: 0;
$navbar-padding-horizontal: 0.75rem;
$navbar-padding-vertical: 0.25rem;
$navicon-width: 1.5rem !default;
$navicon-height: 0.25rem !default;
$global-transition: all 0.2s ease-in-out !default;
+5 -18
View File
@@ -18,24 +18,11 @@ $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;
/* dark syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
$base02: #d0d0d0 !default;
$base03: #b0b0b0 !default;
$base04: #000000 !default;
$base05: #101010 !default;
$base06: #151515 !default;
$base07: #202020 !default;
$base08: #ff0086 !default;
$base09: #fd8900 !default;
$base0a: #aba800 !default;
$base0b: #00c918 !default;
$base0c: #1faaaa !default;
$base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}
+5 -1
View File
@@ -36,7 +36,7 @@ $base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .fa,
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
@@ -51,3 +51,7 @@ $base0f: #cc6633 !default;
color: $text-color;
}
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}
+5 -1
View File
@@ -36,7 +36,7 @@ $base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .fa,
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
@@ -58,3 +58,7 @@ $base0f: #cc6633 !default;
color: $text-color;
}
}
.ais-search-box .ais-search-box--input {
background-color: $form-background-color;
}
+42 -15
View File
@@ -5,21 +5,15 @@
$(document).ready(function() {
// Sticky footer
var bumpIt = function() {
$("body").css("margin-bottom", $(".page__footer").outerHeight(true));
},
didResize = false;
$("body").css("margin-bottom", $(".page__footer").outerHeight(true));
};
bumpIt();
$(window).resize(function() {
didResize = true;
});
setInterval(function() {
if (didResize) {
didResize = false;
$(window).resize(
jQuery.throttle(250, function() {
bumpIt();
}
}, 250);
})
);
// FitVids init
$("#main").fitVids();
@@ -51,18 +45,51 @@ $(document).ready(function() {
$(".author__urls-wrapper button").toggleClass("open");
});
// Close search screen with Esc key
$(document).keyup(function(e) {
if (e.keyCode === 27) {
if ($(".initial-content").hasClass("is--hidden")) {
$(".search-content").toggleClass("is--visible");
$(".initial-content").toggleClass("is--hidden");
}
}
});
// Search toggle
$(".search__toggle").on("click", function() {
$(".search-content").toggleClass("is--visible");
$(".initial-content").toggleClass("is--hidden");
// set focus on input
setTimeout(function() {
$("#search").focus();
$(".search-content input").focus();
}, 400);
});
// init smooth scroll
$("a").smoothScroll({ offset: -20 });
// Smooth scrolling
var scroll = new SmoothScroll('a[href*="#"]', {
offset: 20,
speed: 400,
speedAsDuration: true,
durationMax: 500
});
// Gumshoe scroll spy init
var spy = new Gumshoe("nav.toc a", {
// Active classes
navClass: "active", // applied to the nav list item
contentClass: "active", // applied to the content
// Nested navigation
nested: false, // if true, add classes to parents of active link
nestedClass: "active", // applied to the parent items
// Offset & reflow
offset: 20, // how far from the top of the page to activate a content area
reflow: true, // if true, listen for reflows
// Event support
events: true // if true, emit custom events
});
// add lightbox class to all image links
$(
+2 -2
View File
@@ -47,7 +47,7 @@ $(document).ready(function() {
if(store[ref].teaser){
var searchitem =
'<div class="list__item">'+
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
'<h2 class="archive__item-title" itemprop="headline">'+
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
'</h2>'+
@@ -61,7 +61,7 @@ $(document).ready(function() {
else{
var searchitem =
'<div class="list__item">'+
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
'<h2 class="archive__item-title" itemprop="headline">'+
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
'</h2>'+
+2 -2
View File
@@ -500,7 +500,7 @@ $(document).ready(function() {
if(store[ref].teaser){
var searchitem =
'<div class="list__item">'+
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
'<h2 class="archive__item-title" itemprop="headline">'+
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
'</h2>'+
@@ -514,7 +514,7 @@ $(document).ready(function() {
else{
var searchitem =
'<div class="list__item">'+
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
'<h2 class="archive__item-title" itemprop="headline">'+
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
'</h2>'+
+20 -2
View File
@@ -18,9 +18,27 @@ var store = [
"title": {{ doc.title | jsonify }},
"excerpt":
{%- if site.search_full_content == true -%}
{{ doc.content | strip_html | strip_newlines | jsonify }},
{{ doc.content | newline_to_br |
replace:"<br />", " " |
replace:"</p>", " " |
replace:"</h1>", " " |
replace:"</h2>", " " |
replace:"</h3>", " " |
replace:"</h4>", " " |
replace:"</h5>", " " |
replace:"</h6>", " "|
strip_html | strip_newlines | jsonify }},
{%- else -%}
{{ doc.content | strip_html | strip_newlines | truncatewords: 50 | jsonify }},
{{ doc.content | newline_to_br |
replace:"<br />", " " |
replace:"</p>", " " |
replace:"</h1>", " " |
replace:"</h2>", " " |
replace:"</h3>", " " |
replace:"</h4>", " " |
replace:"</h5>", " " |
replace:"</h6>", " "|
strip_html | strip_newlines | truncatewords: 50 | jsonify }},
{%- endif -%}
"categories": {{ doc.categories | jsonify }},
"tags": {{ doc.tags | jsonify }},
+3484
View File
File diff suppressed because it is too large Load Diff
+1 -2977
View File
File diff suppressed because one or more lines are too long
Vendored Regular → Executable
+3 -6
View File
File diff suppressed because one or more lines are too long
+212
View File
@@ -0,0 +1,212 @@
/* ========================================================================
* Bootstrap: collapse.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#collapse
* ========================================================================
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* jshint latedef: false */
+function ($) {
'use strict';
// COLLAPSE PUBLIC CLASS DEFINITION
// ================================
var Collapse = function (element, options) {
this.$element = $(element)
this.options = $.extend({}, Collapse.DEFAULTS, options)
this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
'[data-toggle="collapse"][data-target="#' + element.id + '"]')
this.transitioning = null
if (this.options.parent) {
this.$parent = this.getParent()
} else {
this.addAriaAndCollapsedClass(this.$element, this.$trigger)
}
if (this.options.toggle) this.toggle()
}
Collapse.VERSION = '3.4.1'
Collapse.TRANSITION_DURATION = 350
Collapse.DEFAULTS = {
toggle: true
}
Collapse.prototype.dimension = function () {
var hasWidth = this.$element.hasClass('width')
return hasWidth ? 'width' : 'height'
}
Collapse.prototype.show = function () {
if (this.transitioning || this.$element.hasClass('in')) return
var activesData
var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
if (actives && actives.length) {
activesData = actives.data('bs.collapse')
if (activesData && activesData.transitioning) return
}
var startEvent = $.Event('show.bs.collapse')
this.$element.trigger(startEvent)
if (startEvent.isDefaultPrevented()) return
if (actives && actives.length) {
Plugin.call(actives, 'hide')
activesData || actives.data('bs.collapse', null)
}
var dimension = this.dimension()
this.$element
.removeClass('collapse')
.addClass('collapsing')[dimension](0)
.attr('aria-expanded', true)
this.$trigger
.removeClass('collapsed')
.attr('aria-expanded', true)
this.transitioning = 1
var complete = function () {
this.$element
.removeClass('collapsing')
.addClass('collapse in')[dimension]('')
this.transitioning = 0
this.$element
.trigger('shown.bs.collapse')
}
if (!$.support.transition) return complete.call(this)
var scrollSize = $.camelCase(['scroll', dimension].join('-'))
this.$element
.one('bsTransitionEnd', $.proxy(complete, this))
.emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
}
Collapse.prototype.hide = function () {
if (this.transitioning || !this.$element.hasClass('in')) return
var startEvent = $.Event('hide.bs.collapse')
this.$element.trigger(startEvent)
if (startEvent.isDefaultPrevented()) return
var dimension = this.dimension()
this.$element[dimension](this.$element[dimension]())[0].offsetHeight
this.$element
.addClass('collapsing')
.removeClass('collapse in')
.attr('aria-expanded', false)
this.$trigger
.addClass('collapsed')
.attr('aria-expanded', false)
this.transitioning = 1
var complete = function () {
this.transitioning = 0
this.$element
.removeClass('collapsing')
.addClass('collapse')
.trigger('hidden.bs.collapse')
}
if (!$.support.transition) return complete.call(this)
this.$element
[dimension](0)
.one('bsTransitionEnd', $.proxy(complete, this))
.emulateTransitionEnd(Collapse.TRANSITION_DURATION)
}
Collapse.prototype.toggle = function () {
this[this.$element.hasClass('in') ? 'hide' : 'show']()
}
Collapse.prototype.getParent = function () {
return $(document).find(this.options.parent)
.find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
.each($.proxy(function (i, element) {
var $element = $(element)
this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
}, this))
.end()
}
Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
var isOpen = $element.hasClass('in')
$element.attr('aria-expanded', isOpen)
$trigger
.toggleClass('collapsed', !isOpen)
.attr('aria-expanded', isOpen)
}
function getTargetFromTrigger($trigger) {
var href
var target = $trigger.attr('data-target')
|| (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
return $(document).find(target)
}
// COLLAPSE PLUGIN DEFINITION
// ==========================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data('bs.collapse')
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
if (typeof option == 'string') data[option]()
})
}
var old = $.fn.collapse
$.fn.collapse = Plugin
$.fn.collapse.Constructor = Collapse
// COLLAPSE NO CONFLICT
// ====================
$.fn.collapse.noConflict = function () {
$.fn.collapse = old
return this
}
// COLLAPSE DATA-API
// =================
$(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
var $this = $(this)
if (!$this.attr('data-target')) e.preventDefault()
var $target = getTargetFromTrigger($this)
var data = $target.data('bs.collapse')
var option = data ? 'toggle' : $this.data()
Plugin.call($target, option)
})
}(jQuery);
+165
View File
@@ -0,0 +1,165 @@
/* ========================================================================
* Bootstrap: dropdown.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
'use strict';
// DROPDOWN CLASS DEFINITION
// =========================
var backdrop = '.dropdown-backdrop'
var toggle = '[data-toggle="dropdown"]'
var Dropdown = function (element) {
$(element).on('click.bs.dropdown', this.toggle)
}
Dropdown.VERSION = '3.4.1'
function getParent($this) {
var selector = $this.attr('data-target')
if (!selector) {
selector = $this.attr('href')
selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}
var $parent = selector !== '#' ? $(document).find(selector) : null
return $parent && $parent.length ? $parent : $this.parent()
}
function clearMenus(e) {
if (e && e.which === 3) return
$(backdrop).remove()
$(toggle).each(function () {
var $this = $(this)
var $parent = getParent($this)
var relatedTarget = { relatedTarget: this }
if (!$parent.hasClass('open')) return
if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return
$parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
if (e.isDefaultPrevented()) return
$this.attr('aria-expanded', 'false')
$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
})
}
Dropdown.prototype.toggle = function (e) {
var $this = $(this)
if ($this.is('.disabled, :disabled')) return
var $parent = getParent($this)
var isActive = $parent.hasClass('open')
clearMenus()
if (!isActive) {
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
// if mobile we use a backdrop because click events don't delegate
$(document.createElement('div'))
.addClass('dropdown-backdrop')
.insertAfter($(this))
.on('click', clearMenus)
}
var relatedTarget = { relatedTarget: this }
$parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
if (e.isDefaultPrevented()) return
$this
.trigger('focus')
.attr('aria-expanded', 'true')
$parent
.toggleClass('open')
.trigger($.Event('shown.bs.dropdown', relatedTarget))
}
return false
}
Dropdown.prototype.keydown = function (e) {
if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
var $this = $(this)
e.preventDefault()
e.stopPropagation()
if ($this.is('.disabled, :disabled')) return
var $parent = getParent($this)
var isActive = $parent.hasClass('open')
if (!isActive && e.which != 27 || isActive && e.which == 27) {
if (e.which == 27) $parent.find(toggle).trigger('focus')
return $this.trigger('click')
}
var desc = ' li:not(.disabled):visible a'
var $items = $parent.find('.dropdown-menu' + desc)
if (!$items.length) return
var index = $items.index(e.target)
if (e.which == 38 && index > 0) index-- // up
if (e.which == 40 && index < $items.length - 1) index++ // down
if (!~index) index = 0
$items.eq(index).trigger('focus')
}
// DROPDOWN PLUGIN DEFINITION
// ==========================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data('bs.dropdown')
if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
if (typeof option == 'string') data[option].call($this)
})
}
var old = $.fn.dropdown
$.fn.dropdown = Plugin
$.fn.dropdown.Constructor = Dropdown
// DROPDOWN NO CONFLICT
// ====================
$.fn.dropdown.noConflict = function () {
$.fn.dropdown = old
return this
}
// APPLY TO STANDARD DROPDOWN ELEMENTS
// ===================================
$(document)
.on('click.bs.dropdown.data-api', clearMenus)
.on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
.on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
.on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
.on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)
}(jQuery);
+482
View File
@@ -0,0 +1,482 @@
/*!
* gumshoejs v5.1.0
* A simple, framework-agnostic scrollspy script.
* (c) 2019 Chris Ferdinandi
* MIT License
* http://github.com/cferdinandi/gumshoe
*/
(function (root, factory) {
if ( typeof define === 'function' && define.amd ) {
define([], (function () {
return factory(root);
}));
} else if ( typeof exports === 'object' ) {
module.exports = factory(root);
} else {
root.Gumshoe = factory(root);
}
})(typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this, (function (window) {
'use strict';
//
// Defaults
//
var defaults = {
// Active classes
navClass: 'active',
contentClass: 'active',
// Nested navigation
nested: false,
nestedClass: 'active',
// Offset & reflow
offset: 0,
reflow: false,
// Event support
events: true
};
//
// Methods
//
/**
* Merge two or more objects together.
* @param {Object} objects The objects to merge together
* @returns {Object} Merged values of defaults and options
*/
var extend = function () {
var merged = {};
Array.prototype.forEach.call(arguments, (function (obj) {
for (var key in obj) {
if (!obj.hasOwnProperty(key)) return;
merged[key] = obj[key];
}
}));
return merged;
};
/**
* Emit a custom event
* @param {String} type The event type
* @param {Node} elem The element to attach the event to
* @param {Object} detail Any details to pass along with the event
*/
var emitEvent = function (type, elem, detail) {
// Make sure events are enabled
if (!detail.settings.events) return;
// Create a new event
var event = new CustomEvent(type, {
bubbles: true,
cancelable: true,
detail: detail
});
// Dispatch the event
elem.dispatchEvent(event);
};
/**
* Get an element's distance from the top of the Document.
* @param {Node} elem The element
* @return {Number} Distance from the top in pixels
*/
var getOffsetTop = function (elem) {
var location = 0;
if (elem.offsetParent) {
while (elem) {
location += elem.offsetTop;
elem = elem.offsetParent;
}
}
return location >= 0 ? location : 0;
};
/**
* Sort content from first to last in the DOM
* @param {Array} contents The content areas
*/
var sortContents = function (contents) {
contents.sort((function (item1, item2) {
var offset1 = getOffsetTop(item1.content);
var offset2 = getOffsetTop(item2.content);
if (offset1 < offset2) return -1;
return 1;
}));
};
/**
* Get the offset to use for calculating position
* @param {Object} settings The settings for this instantiation
* @return {Float} The number of pixels to offset the calculations
*/
var getOffset = function (settings) {
// if the offset is a function run it
if (typeof settings.offset === 'function') {
return parseFloat(settings.offset());
}
// Otherwise, return it as-is
return parseFloat(settings.offset);
};
/**
* Get the document element's height
* @private
* @returns {Number}
*/
var getDocumentHeight = function () {
return Math.max(
document.body.scrollHeight, document.documentElement.scrollHeight,
document.body.offsetHeight, document.documentElement.offsetHeight,
document.body.clientHeight, document.documentElement.clientHeight
);
};
/**
* Determine if an element is in view
* @param {Node} elem The element
* @param {Object} settings The settings for this instantiation
* @param {Boolean} bottom If true, check if element is above bottom of viewport instead
* @return {Boolean} Returns true if element is in the viewport
*/
var isInView = function (elem, settings, bottom) {
var bounds = elem.getBoundingClientRect();
var offset = getOffset(settings);
if (bottom) {
return parseInt(bounds.bottom, 10) < (window.innerHeight || document.documentElement.clientHeight);
}
return parseInt(bounds.top, 10) <= offset;
};
/**
* Check if at the bottom of the viewport
* @return {Boolean} If true, page is at the bottom of the viewport
*/
var isAtBottom = function () {
if (window.innerHeight + window.pageYOffset >= getDocumentHeight()) return true;
return false;
};
/**
* Check if the last item should be used (even if not at the top of the page)
* @param {Object} item The last item
* @param {Object} settings The settings for this instantiation
* @return {Boolean} If true, use the last item
*/
var useLastItem = function (item, settings) {
if (isAtBottom() && isInView(item.content, settings, true)) return true;
return false;
};
/**
* Get the active content
* @param {Array} contents The content areas
* @param {Object} settings The settings for this instantiation
* @return {Object} The content area and matching navigation link
*/
var getActive = function (contents, settings) {
var last = contents[contents.length-1];
if (useLastItem(last, settings)) return last;
for (var i = contents.length - 1; i >= 0; i--) {
if (isInView(contents[i].content, settings)) return contents[i];
}
};
/**
* Deactivate parent navs in a nested navigation
* @param {Node} nav The starting navigation element
* @param {Object} settings The settings for this instantiation
*/
var deactivateNested = function (nav, settings) {
// If nesting isn't activated, bail
if (!settings.nested) return;
// Get the parent navigation
var li = nav.parentNode.closest('li');
if (!li) return;
// Remove the active class
li.classList.remove(settings.nestedClass);
// Apply recursively to any parent navigation elements
deactivateNested(li, settings);
};
/**
* Deactivate a nav and content area
* @param {Object} items The nav item and content to deactivate
* @param {Object} settings The settings for this instantiation
*/
var deactivate = function (items, settings) {
// Make sure their are items to deactivate
if (!items) return;
// Get the parent list item
var li = items.nav.closest('li');
if (!li) return;
// Remove the active class from the nav and content
li.classList.remove(settings.navClass);
items.content.classList.remove(settings.contentClass);
// Deactivate any parent navs in a nested navigation
deactivateNested(li, settings);
// Emit a custom event
emitEvent('gumshoeDeactivate', li, {
link: items.nav,
content: items.content,
settings: settings
});
};
/**
* Activate parent navs in a nested navigation
* @param {Node} nav The starting navigation element
* @param {Object} settings The settings for this instantiation
*/
var activateNested = function (nav, settings) {
// If nesting isn't activated, bail
if (!settings.nested) return;
// Get the parent navigation
var li = nav.parentNode.closest('li');
if (!li) return;
// Add the active class
li.classList.add(settings.nestedClass);
// Apply recursively to any parent navigation elements
activateNested(li, settings);
};
/**
* Activate a nav and content area
* @param {Object} items The nav item and content to activate
* @param {Object} settings The settings for this instantiation
*/
var activate = function (items, settings) {
// Make sure their are items to activate
if (!items) return;
// Get the parent list item
var li = items.nav.closest('li');
if (!li) return;
// Add the active class to the nav and content
li.classList.add(settings.navClass);
items.content.classList.add(settings.contentClass);
// Activate any parent navs in a nested navigation
activateNested(li, settings);
// Emit a custom event
emitEvent('gumshoeActivate', li, {
link: items.nav,
content: items.content,
settings: settings
});
};
/**
* Create the Constructor object
* @param {String} selector The selector to use for navigation items
* @param {Object} options User options and settings
*/
var Constructor = function (selector, options) {
//
// Variables
//
var publicAPIs = {};
var navItems, contents, current, timeout, settings;
//
// Methods
//
/**
* Set variables from DOM elements
*/
publicAPIs.setup = function () {
// Get all nav items
navItems = document.querySelectorAll(selector);
// Create contents array
contents = [];
// Loop through each item, get it's matching content, and push to the array
Array.prototype.forEach.call(navItems, (function (item) {
// Get the content for the nav item
var content = document.getElementById(decodeURIComponent(item.hash.substr(1)));
if (!content) return;
// Push to the contents array
contents.push({
nav: item,
content: content
});
}));
// Sort contents by the order they appear in the DOM
sortContents(contents);
};
/**
* Detect which content is currently active
*/
publicAPIs.detect = function () {
// Get the active content
var active = getActive(contents, settings);
// if there's no active content, deactivate and bail
if (!active) {
if (current) {
deactivate(current, settings);
current = null;
}
return;
}
// If the active content is the one currently active, do nothing
if (current && active.content === current.content) return;
// Deactivate the current content and activate the new content
deactivate(current, settings);
activate(active, settings);
// Update the currently active content
current = active;
};
/**
* Detect the active content on scroll
* Debounced for performance
*/
var scrollHandler = function (event) {
// If there's a timer, cancel it
if (timeout) {
window.cancelAnimationFrame(timeout);
}
// Setup debounce callback
timeout = window.requestAnimationFrame(publicAPIs.detect);
};
/**
* Update content sorting on resize
* Debounced for performance
*/
var resizeHandler = function (event) {
// If there's a timer, cancel it
if (timeout) {
window.cancelAnimationFrame(timeout);
}
// Setup debounce callback
timeout = window.requestAnimationFrame((function () {
sortContents();
publicAPIs.detect();
}));
};
/**
* Destroy the current instantiation
*/
publicAPIs.destroy = function () {
// Undo DOM changes
if (current) {
deactivate(current);
}
// Remove event listeners
window.removeEventListener('scroll', scrollHandler, false);
if (settings.reflow) {
window.removeEventListener('resize', resizeHandler, false);
}
// Reset variables
contents = null;
navItems = null;
current = null;
timeout = null;
settings = null;
};
/**
* Initialize the current instantiation
*/
var init = function () {
// Merge user options into defaults
settings = extend(defaults, options || {});
// Setup variables based on the current DOM
publicAPIs.setup();
// Find the currently active content
publicAPIs.detect();
// Setup event listeners
window.addEventListener('scroll', scrollHandler, false);
if (settings.reflow) {
window.addEventListener('resize', resizeHandler, false);
}
};
//
// Initialize and return the public APIs
//
init();
return publicAPIs;
};
//
// Return the Constructor
//
return Constructor;
}));

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