Compare commits

...
35 Commits
Author SHA1 Message Date
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
35 changed files with 230 additions and 85 deletions
+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
+16 -1
View File
@@ -1,8 +1,23 @@
## [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. [#1416](https://github.com/mmistakes/minimal-mistakes/issues/1416)
* 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)
+1 -1
View File
@@ -83,7 +83,7 @@ social:
# Analytics
analytics:
provider : false # false (default), "google", "google-universal", "custom"
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
google:
tracking_id :
+20 -17
View File
@@ -52,7 +52,7 @@ en-AU:
<<: *DEFAULT_EN
# Spanish
# --------------
# -------
es: &DEFAULT_ES
page : "Página"
pagination_previous : "Anterior"
@@ -97,7 +97,7 @@ es-CO:
<<: *DEFAULT_ES
# French
# -----------------
# ------
fr: &DEFAULT_FR
page : "Page"
pagination_previous : "Précédent"
@@ -145,7 +145,7 @@ fr-CH:
<<: *DEFAULT_FR
# Turkish
# -----------------
# -------
tr: &DEFAULT_TR
page : "Sayfa"
pagination_previous : "Önceki"
@@ -188,6 +188,7 @@ tr-TR:
<<: *DEFAULT_TR
# Portuguese
# ----------
pt: &DEFAULT_PT
page : "Página"
pagination_previous : "Anterior"
@@ -228,7 +229,6 @@ pt: &DEFAULT_PT
loading_label : "A carregar..."
pt-PT:
<<: *DEFAULT_PT
# Brazilian Portuguese
pt-BR:
page : "Página"
@@ -270,7 +270,7 @@ pt-BR:
loading_label : "Carregando..."
# Italian
# -----------------
# -------
it: &DEFAULT_IT
page : "Pagina"
pagination_previous : "Precedente"
@@ -313,7 +313,7 @@ it-IT:
<<: *DEFAULT_IT
# Chinese (zh-CN Chinese - China)
# -----------------
# --------------------------------
zh: &DEFAULT_ZH_HANS
page : "页面"
pagination_previous : "向前"
@@ -397,8 +397,9 @@ zh-TW: &DEFAULT_ZH_HANT
loading_label : "載入中..."
zh-HK:
<<: *DEFAULT_ZH_HANT
# German / Deutsch
# -----------------
# ----------------
de: &DEFAULT_DE
page : "Seite"
pagination_previous : "Vorherige"
@@ -437,6 +438,8 @@ de: &DEFAULT_DE
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 +454,7 @@ de-LU:
<<: *DEFAULT_DE
# Nepali (Nepal)
# -----------------
# --------------
ne: &DEFAULT_NE
page : "पृष्‍ठ"
pagination_previous : "अघिल्लो"
@@ -494,7 +497,7 @@ ne-NP:
<<: *DEFAULT_NE
# Korean
# --------------
# ------
ko: &DEFAULT_KO
page : "페이지"
pagination_previous : "이전"
@@ -582,7 +585,7 @@ ru-RU:
<<: *DEFAULT_RU
# Lithuanian / Lietuviškai
# -----------------
# ------------------------
lt: &DEFAULT_LT
page : "Puslapis"
pagination_previous : "Ankstesnis"
@@ -625,7 +628,7 @@ lt-LT:
<<: *DEFAULT_LT
# Greek
# --------------
# -----
gr: &DEFAULT_GR
page : "Σελίδα"
pagination_previous : "Προηγούμενo"
@@ -670,7 +673,7 @@ gr-GR:
<<: *DEFAULT_GR
# Swedish
# -----------------
# -------
sv: &DEFAULT_SV
page : "Sidan"
pagination_previous : "Föregående"
@@ -715,7 +718,7 @@ sv-FI:
<<: *DEFAULT_SV
# Dutch
# -----------------
# -----
nl: &DEFAULT_NL
page : "Pagina"
pagination_previous : "Vorige"
@@ -760,7 +763,7 @@ nl-NL:
<<: *DEFAULT_NL
# Indonesian
# -----------------
# ----------
id: &DEFAULT_ID
page : "Halaman"
pagination_previous : "Kembali"
@@ -803,7 +806,7 @@ id-ID:
<<: *DEFAULT_ID
# Vietnamese
# -----------------
# ----------
vi: &DEFAULT_VI
page : "Trang"
pagination_previous : "Trước"
@@ -930,11 +933,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 : "前へ"
@@ -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 }}');
</script>
+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 %}
+2 -2
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 -->
<!-- end custom head snippets -->
+1 -1
View File
@@ -9,7 +9,7 @@
{% endfor %}
{% else %}
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
<script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
{% endif %}
{% if site.search == true or page.layout == "search" %}
+1 -1
View File
@@ -7,4 +7,4 @@
---
{% capture _LINE_FEED %}
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
+1 -1
View File
@@ -3,7 +3,7 @@
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.10.0 by Michael Rose
Minimal Mistakes Jekyll Theme 4.10.1 by Michael Rose
Copyright 2013-2018 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
+1 -1
View File
@@ -32,4 +32,4 @@ layout: default
<div class="search-hits"></div>
{%- endcase -%}
</div>
</div>
</div>
+1 -1
View File
@@ -89,4 +89,4 @@ layout: default
</div>
</div>
{% endif %}
</div>
</div>
+1 -1
View File
@@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.10.0 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.10.1 by Michael Rose
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
*/
+1 -1
View File
@@ -9,7 +9,7 @@ $darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff !default;
$body-color : #fff !default;
$background-color : #f0fff0 !default;
$code-background-color : $lighter-gray !default;
$code-background-color-dark : $light-gray !default;
+1 -1
View File
@@ -57,7 +57,7 @@ $(document).ready(function() {
$(".initial-content").toggleClass("is--hidden");
// set focus on input
setTimeout(function() {
$("#search").focus();
$(".search-content input").focus();
}, 400);
});
+5 -5
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+8 -7
View File
@@ -6,10 +6,11 @@ gem "tzinfo-data"
gem "wdm", "~> 0.1.0" if Gem.win_platform?
# If you have any plugins, put them here!
# group :jekyll_plugins do
# gem "jekyll-paginate"
# gem "jekyll-sitemap"
# gem "jekyll-gist"
# gem "jekyll-feed"
# gem "jemoji"
# end
group :jekyll_plugins do
gem "jekyll-paginate"
gem "jekyll-sitemap"
gem "jekyll-gist"
gem "jekyll-feed"
gem "jemoji"
gem "jekyll-algolia"
end
+7 -5
View File
@@ -57,12 +57,14 @@ atom_feed:
search : true # true, false (default)
search_full_content : true # true, false (default)
search_provider : lunr # lunr (default), algolia
search_provider : algolia # lunr (default), algolia
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
application_id : QB6HVGBSBA # YOUR_APPLICATION_ID
index_name : minimal_mistakes # YOUR_INDEX_NAME
search_only_api_key : 9d5014e5bbc77372547bce778dfa5663 # YOUR_SEARCH_ONLY_API_KEY
powered_by : true # true (default), false
files_to_exclude:
- _posts/2017-11-28-post-exclude-search.md
# SEO Related
google_site_verification : "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y" # Replace this with your ID, or delete
@@ -0,0 +1,7 @@
_id: c4c722a0-18cc-11e8-81e7-ad1d9008e648
message: great theme!
name: vern
email: a6f5c444240028e515acd8e8808cd130
url: ''
hidden: ''
date: '2018-02-23T19:07:19.827Z'
@@ -0,0 +1,9 @@
_id: d262cff0-174a-11e8-b61b-7b344215416b
message: "Hey. I'm a newbie to github pages and jekyll, but I am liking the setup and loving your theme!\r\n\r\nI have an image that I want to add to the sidebar, but it is a little bit too big. Is there some way I can resize the image in the sidebar YAML Front Matter without needing another copy of it in github? I know I could resize it myself if I was adding it to the body of the text, but I can't find a way to do it in the YAML Front Matter.\r\nThx"
name: Brynjar Smári
email: 07e1d805e3e0472d0d7762ac8f7b2496
url: 'https://binnisb.github.io'
hidden: ''
date: '2018-02-21T21:04:36.879Z'
approved: false
title: Comment
@@ -0,0 +1,9 @@
_id: 51aa9540-174b-11e8-b61b-7b344215416b
message: "No there isn't a native way of doing this. The theme and Jekyll core have no ability to transform your assets.\r\n\r\nYou'll need to manually do it, use a task runner like Gulp or Grunt, or a Jekyll plugin to resize the image for you."
name: Michael Rose
email: 1ce71bc10b86565464b612093d89707e
url: 'https://mademistakes.com'
hidden: ''
date: '2018-02-21T21:08:10.409Z'
approved: false
title: Comment
@@ -0,0 +1,7 @@
_id: d3bbd220-24f1-11e8-af65-d13c8029700e
message: "Hello Rose,\r\nCan you please add a feature for adding a custom sidebar on right hand side or let me know if it already exits or how can I implement it ? \r\nThanks"
name: Vipin Kumar
email: eeafc03a07852a239754fb68cca903b3
url: ''
hidden: ''
date: '2018-03-11T06:02:50.395Z'
@@ -0,0 +1,9 @@
_id: 10db9fa0-245c-11e8-8f62-99e42cdc233b
message: >-
+1 to jean. If only we can have toc in sidebar navigation so it sticks to the
page end.
name: Albus
email: b2162ec2c865decb4c337acee7694a4c
url: ''
hidden: ''
date: '2018-03-10T12:10:48.240Z'
@@ -0,0 +1,7 @@
_id: 9dff9930-2444-11e8-8f62-99e42cdc233b
message: Lol thank you
name: Casimiro Corrales
email: fe98e599bd24fb12fd2f42bb6d77d3a8
url: ''
hidden: ''
date: '2018-03-10T09:22:57.110Z'
+27 -24
View File
@@ -52,7 +52,7 @@ en-AU:
<<: *DEFAULT_EN
# Spanish
# --------------
# -------
es: &DEFAULT_ES
page : "Página"
pagination_previous : "Anterior"
@@ -97,7 +97,7 @@ es-CO:
<<: *DEFAULT_ES
# French
# -----------------
# ------
fr: &DEFAULT_FR
page : "Page"
pagination_previous : "Précédent"
@@ -145,7 +145,7 @@ fr-CH:
<<: *DEFAULT_FR
# Turkish
# -----------------
# -------
tr: &DEFAULT_TR
page : "Sayfa"
pagination_previous : "Önceki"
@@ -188,6 +188,7 @@ tr-TR:
<<: *DEFAULT_TR
# Portuguese
# ----------
pt: &DEFAULT_PT
page : "Página"
pagination_previous : "Anterior"
@@ -228,7 +229,6 @@ pt: &DEFAULT_PT
loading_label : "A carregar..."
pt-PT:
<<: *DEFAULT_PT
# Brazilian Portuguese
pt-BR:
page : "Página"
@@ -270,7 +270,7 @@ pt-BR:
loading_label : "Carregando..."
# Italian
# -----------------
# -------
it: &DEFAULT_IT
page : "Pagina"
pagination_previous : "Precedente"
@@ -313,7 +313,7 @@ it-IT:
<<: *DEFAULT_IT
# Chinese (zh-CN Chinese - China)
# -----------------
# --------------------------------
zh: &DEFAULT_ZH_HANS
page : "页面"
pagination_previous : "向前"
@@ -397,15 +397,16 @@ 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"
toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link"
less_than : "weniger als"
@@ -415,13 +416,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 +431,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 +454,7 @@ de-LU:
<<: *DEFAULT_DE
# Nepali (Nepal)
# -----------------
# --------------
ne: &DEFAULT_NE
page : "पृष्‍ठ"
pagination_previous : "अघिल्लो"
@@ -494,7 +497,7 @@ ne-NP:
<<: *DEFAULT_NE
# Korean
# --------------
# ------
ko: &DEFAULT_KO
page : "페이지"
pagination_previous : "이전"
@@ -582,7 +585,7 @@ ru-RU:
<<: *DEFAULT_RU
# Lithuanian / Lietuviškai
# -----------------
# ------------------------
lt: &DEFAULT_LT
page : "Puslapis"
pagination_previous : "Ankstesnis"
@@ -625,7 +628,7 @@ lt-LT:
<<: *DEFAULT_LT
# Greek
# --------------
# -----
gr: &DEFAULT_GR
page : "Σελίδα"
pagination_previous : "Προηγούμενo"
@@ -670,7 +673,7 @@ gr-GR:
<<: *DEFAULT_GR
# Swedish
# -----------------
# -------
sv: &DEFAULT_SV
page : "Sidan"
pagination_previous : "Föregående"
@@ -715,7 +718,7 @@ sv-FI:
<<: *DEFAULT_SV
# Dutch
# -----------------
# -----
nl: &DEFAULT_NL
page : "Pagina"
pagination_previous : "Vorige"
@@ -760,7 +763,7 @@ nl-NL:
<<: *DEFAULT_NL
# Indonesian
# -----------------
# ----------
id: &DEFAULT_ID
page : "Halaman"
pagination_previous : "Kembali"
@@ -803,7 +806,7 @@ id-ID:
<<: *DEFAULT_ID
# Vietnamese
# -----------------
# ----------
vi: &DEFAULT_VI
page : "Trang"
pagination_previous : "Trước"
@@ -930,11 +933,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 : "前へ"
+7 -3
View File
@@ -2,7 +2,7 @@
title: "Configuration"
permalink: /docs/configuration/
excerpt: "Settings for configuring and customizing the theme."
last_modified_at: 2018-02-16T12:49:45-05:00
last_modified_at: 2018-02-19T08:09:39-05:00
toc: true
---
@@ -481,7 +481,7 @@ The default search uses [**Lunr**](https://lunrjs.com/) to build a search index
#### Algolia
For faster and more relevant search ([see demo](https://mmistakes.github.io/jekyll-theme-basically-basic-algolia-search/)):
For faster and more relevant search ([see demo](https://mmistakes.github.io/minimal-mistakes-algolia-search/)):
1. Add the [`jekyll-algolia`](https://github.com/algolia/jekyll-algolia) gem to your `Gemfile`, in the `:jekyll_plugins` section.
@@ -530,6 +530,9 @@ For faster and more relevant search ([see demo](https://mmistakes.github.io/jeky
To use the Algolia search with GitHub Pages hosted sites follow [this deployment guide](https://community.algolia.com/jekyll-algolia/github-pages.html). Or this guide for [deploying on Netlify](https://community.algolia.com/jekyll-algolia/netlify.html).
**Note:** The Jekyll Algolia plugin can be configured in several ways. Be sure to check out [their full documentation](https://community.algolia.com/jekyll-algolia/options.html "Algolia configuration") on how to exclude files and other valuable settings.
{: .notice--info}
### SEO, Social Sharing, and Analytics Settings
All optional, but a good idea to take the time setting up to improve SEO and links shared from the site.
@@ -676,13 +679,14 @@ Analytics is disabled by default. To enable globally select one of the following
| -------------------- | --------------------------------------------------------------- |
| **google** | [Google Standard Analytics](https://www.google.com/analytics/) |
| **google-universal** | [Google Universal Analytics](https://www.google.com/analytics/) |
| **google-gtag** | [Google Analytics Global Site Tag)](https://www.google.com/analytics/) |
| **custom** | Other analytics providers |
For Google Analytics add your Tracking Code:
```yaml
analytics:
provider: "google-universal"
provider: "google-gtag"
google:
tracking_id: "UA-1234567-8"
```
+2 -2
View File
@@ -18,7 +18,7 @@ minimal mistakes
| | | └── jquery.smooth-scroll.min.js # make same-page links scroll smoothly
| | ├── vendor
| | | └── jquery
| | | └── jquery-3.2.1.min.js
| | | └── jquery-3.3.1.min.js
| | ├── _main.js # jQuery plugin settings and other scripts
| | └── main.min.js # concatenated and minified scripts
```
@@ -35,7 +35,7 @@ You can also add scripts to the `<head>` or closing `</body>` elements by adding
```yaml
head_scripts:
- https://code.jquery.com/jquery-3.2.1.min.js
- https://code.jquery.com/jquery-3.3.1.min.js
- /assets/js/your-custom-head-script.js
footer_scripts:
- /assets/js/your-custom-footer-script.js
+17 -2
View File
@@ -4,15 +4,30 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2018-02-16T14:25:39-05:00
last_modified_at: 2018-03-12T19:29:34-04:00
toc: true
---
## [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. [#1416](https://github.com/mmistakes/minimal-mistakes/issues/1416)
* 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)
+1 -1
View File
@@ -3,7 +3,7 @@
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.10.0 by Michael Rose
Minimal Mistakes Jekyll Theme 4.10.1 by Michael Rose
Copyright 2013-2018 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
@@ -3,10 +3,27 @@ title: "Exclude Post from Search Index"
search: false
categories:
- Jekyll
last_modified_at: 2018-02-19T08:06:00-05:00
---
This post should not appear in the search index because it has the following YAML Front Matter:
```yaml
search: false
```
**Note:** `search: false` only works to exclude posts when using Lunr as a search provider.
{: .notice--info}
To exclude files when using Algolia as a search provider add an array to `algolia.files_to_exclude` in your `_config.yml`. For more configuration options be sure to check their [full documentation](https://community.algolia.com/jekyll-algolia/options.html).
```yaml
algolia:
# Exclude more files from indexing
files_to_exclude:
- index.html
- index.md
- excluded-file.html
- _posts/2017-11-28-post-exclude-search.md
- subdirectory/*.html
```
+1 -1
View File
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll"
spec.version = "4.10.0"
spec.version = "4.10.1"
spec.authors = ["Michael Rose"]
spec.summary = %q{A flexible two-column Jekyll theme.}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "4.10.0",
"version": "4.10.1",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",
@@ -23,7 +23,7 @@
},
"scripts": {
"uglify":
"uglifyjs assets/js/vendor/jquery/jquery-3.2.1.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"uglifyjs assets/js/vendor/jquery/jquery-3.3.1.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"add-banner": "node banner.js",
"watch:js":
"onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
@@ -3,10 +3,27 @@ title: "Exclude Post from Search Index"
search: false
categories:
- Jekyll
last_modified_at: 2018-02-19T08:05:34-05:00
---
This post should not appear in the search index because it has the following YAML Front Matter:
```yaml
search: false
```
**Note:** `search: false` only works to exclude posts when using **Lunr** as a search provider.
{: .notice--info}
To exclude files when using **Algolia** as a search provider add an array to `algolia.files_to_exclude` in your `_config.yml`. For more configuration options be sure to check their [full documentation](https://community.algolia.com/jekyll-algolia/options.html).
```yaml
algolia:
# Exclude more files from indexing
files_to_exclude:
- index.html
- index.md
- excluded-file.html
- _posts/2017-11-28-post-exclude-search.md
- subdirectory/*.html
```