Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7239604922 | ||
|
|
6997319c47 | ||
|
|
e7095c49d9 | ||
|
|
79d0b75683 | ||
|
|
eebf6f4b3c | ||
|
|
39bf00055a | ||
|
|
04716862b0 | ||
|
|
df1e07e3fc | ||
|
|
1db41bc1f6 | ||
|
|
bf8b42be17 | ||
|
|
f52d91a6aa | ||
|
|
0be9facfad | ||
|
|
4a7b7a67dd | ||
|
|
fa50bbbe39 | ||
|
|
279cd603c3 | ||
|
|
973f1fcf98 | ||
|
|
416364471f | ||
|
|
d0473d202a | ||
|
|
4a03354667 | ||
|
|
588a044986 | ||
|
|
279770bb5e | ||
|
|
b99592bad0 | ||
|
|
a362e3b309 | ||
|
|
4a466b1465 | ||
|
|
95226ac727 | ||
|
|
c3ab58f99c | ||
|
|
7692a98fce | ||
|
|
923019e7de | ||
|
|
abfefd920d | ||
|
|
1493db8fdf | ||
|
|
f878aa943b | ||
|
|
73d82964a2 | ||
|
|
356c1eb093 | ||
|
|
d720398c24 | ||
|
|
f4b72fef3e | ||
|
|
ba9079041b | ||
|
|
1ec7954277 | ||
|
|
b0ee45b4de | ||
|
|
acdd3443de | ||
|
|
8f483ae906 | ||
|
|
c415ed0bed | ||
|
|
a2cde2c7f9 | ||
|
|
19ace79114 | ||
|
|
af7c8a136a | ||
|
|
e2d0b00902 | ||
|
|
4462d77420 | ||
|
|
2598fbd6d4 | ||
|
|
9d994f621b |
+5
-4
@@ -1,5 +1,6 @@
|
|||||||
_assets/css/vendor/* linguist-vendored
|
|
||||||
_assets/js/plugins/* linguist-vendored
|
|
||||||
_assets/js/vendor/* linguist-vendored
|
|
||||||
assets/fonts/* linguist-vendored
|
assets/fonts/* linguist-vendored
|
||||||
assets/js/vendor/* 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
|
||||||
|
|||||||
+11
@@ -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
|
||||||
+22
-1
@@ -1,3 +1,24 @@
|
|||||||
|
## [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)
|
## [4.9.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
@@ -9,7 +30,7 @@
|
|||||||
* Minify `assets/js/lunr/lunr.js`.
|
* Minify `assets/js/lunr/lunr.js`.
|
||||||
* Improve calculation of Greedy navigation's `availableSpace`.
|
* 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)
|
* 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 title's are links with an underline.
|
* Indicate that archive titles are links with an underline.
|
||||||
* Remove `base_path` include from `/test` pages.
|
* Remove `base_path` include from `/test` pages.
|
||||||
* Reduce font-size of page meta in list/grid items.
|
* 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 feature row styling when used with `archive` layout. [#1484](https://github.com/mmistakes/minimal-mistakes/issues/1484)
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
[](https://github.com/mmistakes/minimal-mistakes/releases) [](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE.txt)
|
[](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE.txt)
|
||||||
|
[](https://jekyllrb.com/)
|
||||||
|
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
||||||
|
[](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 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:.
|
||||||
|
|
||||||
|
|||||||
+7
-1
@@ -53,6 +53,12 @@ atom_feed:
|
|||||||
path : # blank (default) uses feed.xml
|
path : # blank (default) uses feed.xml
|
||||||
search : # true, false (default)
|
search : # true, false (default)
|
||||||
search_full_content : # true, false (default)
|
search_full_content : # true, false (default)
|
||||||
|
search_provider : # 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
|
||||||
|
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
@@ -77,7 +83,7 @@ social:
|
|||||||
|
|
||||||
# Analytics
|
# Analytics
|
||||||
analytics:
|
analytics:
|
||||||
provider : false # false (default), "google", "google-universal", "custom"
|
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
|
||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
|
|
||||||
|
|||||||
+20
-17
@@ -52,7 +52,7 @@ en-AU:
|
|||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
|
|
||||||
# Spanish
|
# Spanish
|
||||||
# --------------
|
# -------
|
||||||
es: &DEFAULT_ES
|
es: &DEFAULT_ES
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
@@ -97,7 +97,7 @@ es-CO:
|
|||||||
<<: *DEFAULT_ES
|
<<: *DEFAULT_ES
|
||||||
|
|
||||||
# French
|
# French
|
||||||
# -----------------
|
# ------
|
||||||
fr: &DEFAULT_FR
|
fr: &DEFAULT_FR
|
||||||
page : "Page"
|
page : "Page"
|
||||||
pagination_previous : "Précédent"
|
pagination_previous : "Précédent"
|
||||||
@@ -145,7 +145,7 @@ fr-CH:
|
|||||||
<<: *DEFAULT_FR
|
<<: *DEFAULT_FR
|
||||||
|
|
||||||
# Turkish
|
# Turkish
|
||||||
# -----------------
|
# -------
|
||||||
tr: &DEFAULT_TR
|
tr: &DEFAULT_TR
|
||||||
page : "Sayfa"
|
page : "Sayfa"
|
||||||
pagination_previous : "Önceki"
|
pagination_previous : "Önceki"
|
||||||
@@ -188,6 +188,7 @@ tr-TR:
|
|||||||
<<: *DEFAULT_TR
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
# Portuguese
|
# Portuguese
|
||||||
|
# ----------
|
||||||
pt: &DEFAULT_PT
|
pt: &DEFAULT_PT
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
@@ -228,7 +229,6 @@ pt: &DEFAULT_PT
|
|||||||
loading_label : "A carregar..."
|
loading_label : "A carregar..."
|
||||||
pt-PT:
|
pt-PT:
|
||||||
<<: *DEFAULT_PT
|
<<: *DEFAULT_PT
|
||||||
|
|
||||||
# Brazilian Portuguese
|
# Brazilian Portuguese
|
||||||
pt-BR:
|
pt-BR:
|
||||||
page : "Página"
|
page : "Página"
|
||||||
@@ -270,7 +270,7 @@ pt-BR:
|
|||||||
loading_label : "Carregando..."
|
loading_label : "Carregando..."
|
||||||
|
|
||||||
# Italian
|
# Italian
|
||||||
# -----------------
|
# -------
|
||||||
it: &DEFAULT_IT
|
it: &DEFAULT_IT
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Precedente"
|
pagination_previous : "Precedente"
|
||||||
@@ -313,7 +313,7 @@ it-IT:
|
|||||||
<<: *DEFAULT_IT
|
<<: *DEFAULT_IT
|
||||||
|
|
||||||
# Chinese (zh-CN Chinese - China)
|
# Chinese (zh-CN Chinese - China)
|
||||||
# -----------------
|
# --------------------------------
|
||||||
zh: &DEFAULT_ZH_HANS
|
zh: &DEFAULT_ZH_HANS
|
||||||
page : "页面"
|
page : "页面"
|
||||||
pagination_previous : "向前"
|
pagination_previous : "向前"
|
||||||
@@ -397,8 +397,9 @@ zh-TW: &DEFAULT_ZH_HANT
|
|||||||
loading_label : "載入中..."
|
loading_label : "載入中..."
|
||||||
zh-HK:
|
zh-HK:
|
||||||
<<: *DEFAULT_ZH_HANT
|
<<: *DEFAULT_ZH_HANT
|
||||||
|
|
||||||
# German / Deutsch
|
# German / Deutsch
|
||||||
# -----------------
|
# ----------------
|
||||||
de: &DEFAULT_DE
|
de: &DEFAULT_DE
|
||||||
page : "Seite"
|
page : "Seite"
|
||||||
pagination_previous : "Vorherige"
|
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_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_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen Sie alle benötigten Felder aus und versuchen Sie es erneut."
|
||||||
loading_label : "Lade..."
|
loading_label : "Lade..."
|
||||||
|
search_placeholder_text : "Suchbegriff eingeben..."
|
||||||
|
results_found : "Ergebnis(se) gefunden"
|
||||||
de-DE:
|
de-DE:
|
||||||
<<: *DEFAULT_DE
|
<<: *DEFAULT_DE
|
||||||
de-AT:
|
de-AT:
|
||||||
@@ -451,7 +454,7 @@ de-LU:
|
|||||||
<<: *DEFAULT_DE
|
<<: *DEFAULT_DE
|
||||||
|
|
||||||
# Nepali (Nepal)
|
# Nepali (Nepal)
|
||||||
# -----------------
|
# --------------
|
||||||
ne: &DEFAULT_NE
|
ne: &DEFAULT_NE
|
||||||
page : "पृष्ठ"
|
page : "पृष्ठ"
|
||||||
pagination_previous : "अघिल्लो"
|
pagination_previous : "अघिल्लो"
|
||||||
@@ -494,7 +497,7 @@ ne-NP:
|
|||||||
<<: *DEFAULT_NE
|
<<: *DEFAULT_NE
|
||||||
|
|
||||||
# Korean
|
# Korean
|
||||||
# --------------
|
# ------
|
||||||
ko: &DEFAULT_KO
|
ko: &DEFAULT_KO
|
||||||
page : "페이지"
|
page : "페이지"
|
||||||
pagination_previous : "이전"
|
pagination_previous : "이전"
|
||||||
@@ -582,7 +585,7 @@ ru-RU:
|
|||||||
<<: *DEFAULT_RU
|
<<: *DEFAULT_RU
|
||||||
|
|
||||||
# Lithuanian / Lietuviškai
|
# Lithuanian / Lietuviškai
|
||||||
# -----------------
|
# ------------------------
|
||||||
lt: &DEFAULT_LT
|
lt: &DEFAULT_LT
|
||||||
page : "Puslapis"
|
page : "Puslapis"
|
||||||
pagination_previous : "Ankstesnis"
|
pagination_previous : "Ankstesnis"
|
||||||
@@ -625,7 +628,7 @@ lt-LT:
|
|||||||
<<: *DEFAULT_LT
|
<<: *DEFAULT_LT
|
||||||
|
|
||||||
# Greek
|
# Greek
|
||||||
# --------------
|
# -----
|
||||||
gr: &DEFAULT_GR
|
gr: &DEFAULT_GR
|
||||||
page : "Σελίδα"
|
page : "Σελίδα"
|
||||||
pagination_previous : "Προηγούμενo"
|
pagination_previous : "Προηγούμενo"
|
||||||
@@ -670,7 +673,7 @@ gr-GR:
|
|||||||
<<: *DEFAULT_GR
|
<<: *DEFAULT_GR
|
||||||
|
|
||||||
# Swedish
|
# Swedish
|
||||||
# -----------------
|
# -------
|
||||||
sv: &DEFAULT_SV
|
sv: &DEFAULT_SV
|
||||||
page : "Sidan"
|
page : "Sidan"
|
||||||
pagination_previous : "Föregående"
|
pagination_previous : "Föregående"
|
||||||
@@ -715,7 +718,7 @@ sv-FI:
|
|||||||
<<: *DEFAULT_SV
|
<<: *DEFAULT_SV
|
||||||
|
|
||||||
# Dutch
|
# Dutch
|
||||||
# -----------------
|
# -----
|
||||||
nl: &DEFAULT_NL
|
nl: &DEFAULT_NL
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Vorige"
|
pagination_previous : "Vorige"
|
||||||
@@ -760,7 +763,7 @@ nl-NL:
|
|||||||
<<: *DEFAULT_NL
|
<<: *DEFAULT_NL
|
||||||
|
|
||||||
# Indonesian
|
# Indonesian
|
||||||
# -----------------
|
# ----------
|
||||||
id: &DEFAULT_ID
|
id: &DEFAULT_ID
|
||||||
page : "Halaman"
|
page : "Halaman"
|
||||||
pagination_previous : "Kembali"
|
pagination_previous : "Kembali"
|
||||||
@@ -803,7 +806,7 @@ id-ID:
|
|||||||
<<: *DEFAULT_ID
|
<<: *DEFAULT_ID
|
||||||
|
|
||||||
# Vietnamese
|
# Vietnamese
|
||||||
# -----------------
|
# ----------
|
||||||
vi: &DEFAULT_VI
|
vi: &DEFAULT_VI
|
||||||
page : "Trang"
|
page : "Trang"
|
||||||
pagination_previous : "Trước"
|
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_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."
|
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..."
|
loading_label : "Trwa ładowanie strony..."
|
||||||
da-PL:
|
pl-PL:
|
||||||
<<: *DEFAULT_PL
|
<<: *DEFAULT_PL
|
||||||
|
|
||||||
# Japanese
|
# Japanese
|
||||||
# -----------------
|
# --------
|
||||||
ja: &DEFAULT_JA
|
ja: &DEFAULT_JA
|
||||||
page : "ページ"
|
page : "ページ"
|
||||||
pagination_previous : "前へ"
|
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>
|
||||||
@@ -5,6 +5,8 @@
|
|||||||
{% include /analytics-providers/google.html %}
|
{% include /analytics-providers/google.html %}
|
||||||
{% when "google-universal" %}
|
{% when "google-universal" %}
|
||||||
{% include /analytics-providers/google-universal.html %}
|
{% include /analytics-providers/google-universal.html %}
|
||||||
|
{% when "google-gtag" %}
|
||||||
|
{% include /analytics-providers/google-gtag.html %}
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /analytics-providers/custom.html %}
|
{% include /analytics-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!-- start custom head snippets -->
|
<!-- start custom head snippets -->
|
||||||
|
|
||||||
<!-- insert favicons. use http://realfavicongenerator.net/ -->
|
<!-- insert favicons. use https://realfavicongenerator.net/ -->
|
||||||
|
|
||||||
<!-- end custom head snippets -->
|
<!-- end custom head snippets -->
|
||||||
|
|||||||
+8
-11
@@ -9,20 +9,17 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
|
<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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.search == true or page.layout == "search" %}
|
{% if site.search == true or page.layout == "search" %}
|
||||||
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
{% case lang %}
|
{%- case search_provider -%}
|
||||||
{% when "gr" %}
|
{%- when "lunr" -%}
|
||||||
{% assign lang = "gr" %}
|
{% include search/lunr-search-scripts.html %}
|
||||||
{% else %}
|
{%- when "algolia" -%}
|
||||||
{% assign lang = "en" %}
|
{% include search/algolia-search-scripts.html %}
|
||||||
{% endcase %}
|
{%- endcase -%}
|
||||||
<script src="{{ '/assets/js/lunr/lunr.min.js' | absolute_url }}"></script>
|
|
||||||
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
|
||||||
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include analytics.html %}
|
{% 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" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
|
||||||
|
<link rel="stylesheet" type="text/css" 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="http://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,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' | absolute_url }}"></script>
|
||||||
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
||||||
|
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<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 "algolia" -%}
|
||||||
|
<div class="search-searchbar"></div>
|
||||||
|
<div class="search-hits"></div>
|
||||||
|
{%- endcase -%}
|
||||||
|
</div>
|
||||||
@@ -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>
|
|
||||||
@@ -7,4 +7,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
{% capture _LINE_FEED %}
|
{% 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 %}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.9.1 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.10.1 by Michael Rose
|
||||||
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
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.txt
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
{% include search_form.html %}
|
{% include search/search_form.html %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
+10
-7
@@ -22,11 +22,14 @@ layout: default
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<form>
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
<input type="input" id="search" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
{%- case search_provider -%}
|
||||||
</form>
|
{%- 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"></div>
|
<div id="results" class="results"></div>
|
||||||
|
{%- when "algolia" -%}
|
||||||
|
<div class="search-searchbar"></div>
|
||||||
|
<div class="search-hits"></div>
|
||||||
|
{%- endcase -%}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -89,4 +89,4 @@ layout: default
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.9.1 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.10.1 by Michael Rose
|
||||||
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -105,3 +105,21 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Algolia search */
|
||||||
|
|
||||||
|
.ais-search-box {
|
||||||
|
max-width: 100% !important;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-title .ais-Highlight {
|
||||||
|
color: $link-color;
|
||||||
|
font-style: normal;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.archive__item-excerpt .ais-Highlight {
|
||||||
|
color: $link-color;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $darker-gray : mix(#000, $gray, 60%) !default;
|
|||||||
$light-gray : mix(#fff, $gray, 50%) !default;
|
$light-gray : mix(#fff, $gray, 50%) !default;
|
||||||
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
||||||
|
|
||||||
$body-color : #fff !default;
|
$body-color : #fff !default;
|
||||||
$background-color : #f0fff0 !default;
|
$background-color : #f0fff0 !default;
|
||||||
$code-background-color : $lighter-gray !default;
|
$code-background-color : $lighter-gray !default;
|
||||||
$code-background-color-dark : $light-gray !default;
|
$code-background-color-dark : $light-gray !default;
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ $(document).ready(function() {
|
|||||||
$(".initial-content").toggleClass("is--hidden");
|
$(".initial-content").toggleClass("is--hidden");
|
||||||
// set focus on input
|
// set focus on input
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$("#search").focus();
|
$(".search-content input").focus();
|
||||||
}, 400);
|
}, 400);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Vendored
+5
-5
File diff suppressed because one or more lines are too long
-4
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+8
-7
@@ -6,10 +6,11 @@ gem "tzinfo-data"
|
|||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
|
|
||||||
# If you have any plugins, put them here!
|
# If you have any plugins, put them here!
|
||||||
# group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
# gem "jekyll-paginate"
|
gem "jekyll-paginate"
|
||||||
# gem "jekyll-sitemap"
|
gem "jekyll-sitemap"
|
||||||
# gem "jekyll-gist"
|
gem "jekyll-gist"
|
||||||
# gem "jekyll-feed"
|
gem "jekyll-feed"
|
||||||
# gem "jemoji"
|
gem "jemoji"
|
||||||
# end
|
gem "jekyll-algolia"
|
||||||
|
end
|
||||||
|
|||||||
@@ -57,6 +57,14 @@ atom_feed:
|
|||||||
|
|
||||||
search : true # true, false (default)
|
search : true # true, false (default)
|
||||||
search_full_content : true # true, false (default)
|
search_full_content : true # true, false (default)
|
||||||
|
search_provider : algolia # lunr (default), algolia
|
||||||
|
algolia:
|
||||||
|
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
|
# SEO Related
|
||||||
google_site_verification : "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y" # Replace this with your ID, or delete
|
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
@@ -52,7 +52,7 @@ en-AU:
|
|||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
|
|
||||||
# Spanish
|
# Spanish
|
||||||
# --------------
|
# -------
|
||||||
es: &DEFAULT_ES
|
es: &DEFAULT_ES
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
@@ -97,7 +97,7 @@ es-CO:
|
|||||||
<<: *DEFAULT_ES
|
<<: *DEFAULT_ES
|
||||||
|
|
||||||
# French
|
# French
|
||||||
# -----------------
|
# ------
|
||||||
fr: &DEFAULT_FR
|
fr: &DEFAULT_FR
|
||||||
page : "Page"
|
page : "Page"
|
||||||
pagination_previous : "Précédent"
|
pagination_previous : "Précédent"
|
||||||
@@ -145,7 +145,7 @@ fr-CH:
|
|||||||
<<: *DEFAULT_FR
|
<<: *DEFAULT_FR
|
||||||
|
|
||||||
# Turkish
|
# Turkish
|
||||||
# -----------------
|
# -------
|
||||||
tr: &DEFAULT_TR
|
tr: &DEFAULT_TR
|
||||||
page : "Sayfa"
|
page : "Sayfa"
|
||||||
pagination_previous : "Önceki"
|
pagination_previous : "Önceki"
|
||||||
@@ -188,6 +188,7 @@ tr-TR:
|
|||||||
<<: *DEFAULT_TR
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
# Portuguese
|
# Portuguese
|
||||||
|
# ----------
|
||||||
pt: &DEFAULT_PT
|
pt: &DEFAULT_PT
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
@@ -228,7 +229,6 @@ pt: &DEFAULT_PT
|
|||||||
loading_label : "A carregar..."
|
loading_label : "A carregar..."
|
||||||
pt-PT:
|
pt-PT:
|
||||||
<<: *DEFAULT_PT
|
<<: *DEFAULT_PT
|
||||||
|
|
||||||
# Brazilian Portuguese
|
# Brazilian Portuguese
|
||||||
pt-BR:
|
pt-BR:
|
||||||
page : "Página"
|
page : "Página"
|
||||||
@@ -270,7 +270,7 @@ pt-BR:
|
|||||||
loading_label : "Carregando..."
|
loading_label : "Carregando..."
|
||||||
|
|
||||||
# Italian
|
# Italian
|
||||||
# -----------------
|
# -------
|
||||||
it: &DEFAULT_IT
|
it: &DEFAULT_IT
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Precedente"
|
pagination_previous : "Precedente"
|
||||||
@@ -313,7 +313,7 @@ it-IT:
|
|||||||
<<: *DEFAULT_IT
|
<<: *DEFAULT_IT
|
||||||
|
|
||||||
# Chinese (zh-CN Chinese - China)
|
# Chinese (zh-CN Chinese - China)
|
||||||
# -----------------
|
# --------------------------------
|
||||||
zh: &DEFAULT_ZH_HANS
|
zh: &DEFAULT_ZH_HANS
|
||||||
page : "页面"
|
page : "页面"
|
||||||
pagination_previous : "向前"
|
pagination_previous : "向前"
|
||||||
@@ -397,15 +397,16 @@ zh-TW: &DEFAULT_ZH_HANT
|
|||||||
loading_label : "載入中..."
|
loading_label : "載入中..."
|
||||||
zh-HK:
|
zh-HK:
|
||||||
<<: *DEFAULT_ZH_HANT
|
<<: *DEFAULT_ZH_HANT
|
||||||
|
|
||||||
# German / Deutsch
|
# German / Deutsch
|
||||||
# -----------------
|
# ----------------
|
||||||
de: &DEFAULT_DE
|
de: &DEFAULT_DE
|
||||||
page : "Seite"
|
page : "Seite"
|
||||||
pagination_previous : "Vorherige"
|
pagination_previous : "Vorherige"
|
||||||
pagination_next : "Nächste"
|
pagination_next : "Nächste"
|
||||||
breadcrumb_home_label : "Home"
|
breadcrumb_home_label : "Start"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
menu_label :
|
menu_label : "Menü ein-/ausschalten"
|
||||||
toc_label : "Auf dieser Seite"
|
toc_label : "Auf dieser Seite"
|
||||||
ext_link_label : "Direkter Link"
|
ext_link_label : "Direkter Link"
|
||||||
less_than : "weniger als"
|
less_than : "weniger als"
|
||||||
@@ -415,13 +416,13 @@ de: &DEFAULT_DE
|
|||||||
tags_label : "Tags:"
|
tags_label : "Tags:"
|
||||||
categories_label : "Kategorien:"
|
categories_label : "Kategorien:"
|
||||||
date_label : "Aktualisiert:"
|
date_label : "Aktualisiert:"
|
||||||
comments_label : "Hinterlassen sie einen Kommentar"
|
comments_label : "Hinterlassen Sie einen Kommentar"
|
||||||
comments_title : "Kommentare"
|
comments_title : "Kommentare"
|
||||||
more_label : "Mehr anzeigen"
|
more_label : "Mehr anzeigen"
|
||||||
related_label : "Ihnen gefällt vielleicht auch"
|
related_label : "Ihnen gefällt vielleicht auch"
|
||||||
follow_label : "Folgen:"
|
follow_label : "Folgen:"
|
||||||
feed_label : "Feed"
|
feed_label : "Feed"
|
||||||
powered_by : "Powered by"
|
powered_by : "Möglich durch"
|
||||||
website_label : "Webseite"
|
website_label : "Webseite"
|
||||||
email_label : "E-Mail"
|
email_label : "E-Mail"
|
||||||
recent_posts : "Aktuelle Beiträge"
|
recent_posts : "Aktuelle Beiträge"
|
||||||
@@ -430,13 +431,15 @@ de: &DEFAULT_DE
|
|||||||
comment_form_comment_label : "Kommentar"
|
comment_form_comment_label : "Kommentar"
|
||||||
comment_form_md_info : "Markdown wird unterstützt."
|
comment_form_md_info : "Markdown wird unterstützt."
|
||||||
comment_form_name_label : "Name"
|
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_form_website_label : "Webseite (optional)"
|
||||||
comment_btn_submit : "Kommentar absenden"
|
comment_btn_submit : "Kommentar absenden"
|
||||||
comment_btn_submitted : "Versendet"
|
comment_btn_submitted : "Versendet"
|
||||||
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
|
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_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen Sie alle benötigten Felder aus und versuchen Sie es erneut."
|
||||||
loading_label : "Lade..."
|
loading_label : "Lade..."
|
||||||
|
search_placeholder_text : "Suchbegriff eingeben..."
|
||||||
|
results_found : "Ergebnis(se) gefunden"
|
||||||
de-DE:
|
de-DE:
|
||||||
<<: *DEFAULT_DE
|
<<: *DEFAULT_DE
|
||||||
de-AT:
|
de-AT:
|
||||||
@@ -451,7 +454,7 @@ de-LU:
|
|||||||
<<: *DEFAULT_DE
|
<<: *DEFAULT_DE
|
||||||
|
|
||||||
# Nepali (Nepal)
|
# Nepali (Nepal)
|
||||||
# -----------------
|
# --------------
|
||||||
ne: &DEFAULT_NE
|
ne: &DEFAULT_NE
|
||||||
page : "पृष्ठ"
|
page : "पृष्ठ"
|
||||||
pagination_previous : "अघिल्लो"
|
pagination_previous : "अघिल्लो"
|
||||||
@@ -494,7 +497,7 @@ ne-NP:
|
|||||||
<<: *DEFAULT_NE
|
<<: *DEFAULT_NE
|
||||||
|
|
||||||
# Korean
|
# Korean
|
||||||
# --------------
|
# ------
|
||||||
ko: &DEFAULT_KO
|
ko: &DEFAULT_KO
|
||||||
page : "페이지"
|
page : "페이지"
|
||||||
pagination_previous : "이전"
|
pagination_previous : "이전"
|
||||||
@@ -582,7 +585,7 @@ ru-RU:
|
|||||||
<<: *DEFAULT_RU
|
<<: *DEFAULT_RU
|
||||||
|
|
||||||
# Lithuanian / Lietuviškai
|
# Lithuanian / Lietuviškai
|
||||||
# -----------------
|
# ------------------------
|
||||||
lt: &DEFAULT_LT
|
lt: &DEFAULT_LT
|
||||||
page : "Puslapis"
|
page : "Puslapis"
|
||||||
pagination_previous : "Ankstesnis"
|
pagination_previous : "Ankstesnis"
|
||||||
@@ -625,7 +628,7 @@ lt-LT:
|
|||||||
<<: *DEFAULT_LT
|
<<: *DEFAULT_LT
|
||||||
|
|
||||||
# Greek
|
# Greek
|
||||||
# --------------
|
# -----
|
||||||
gr: &DEFAULT_GR
|
gr: &DEFAULT_GR
|
||||||
page : "Σελίδα"
|
page : "Σελίδα"
|
||||||
pagination_previous : "Προηγούμενo"
|
pagination_previous : "Προηγούμενo"
|
||||||
@@ -670,7 +673,7 @@ gr-GR:
|
|||||||
<<: *DEFAULT_GR
|
<<: *DEFAULT_GR
|
||||||
|
|
||||||
# Swedish
|
# Swedish
|
||||||
# -----------------
|
# -------
|
||||||
sv: &DEFAULT_SV
|
sv: &DEFAULT_SV
|
||||||
page : "Sidan"
|
page : "Sidan"
|
||||||
pagination_previous : "Föregående"
|
pagination_previous : "Föregående"
|
||||||
@@ -715,7 +718,7 @@ sv-FI:
|
|||||||
<<: *DEFAULT_SV
|
<<: *DEFAULT_SV
|
||||||
|
|
||||||
# Dutch
|
# Dutch
|
||||||
# -----------------
|
# -----
|
||||||
nl: &DEFAULT_NL
|
nl: &DEFAULT_NL
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Vorige"
|
pagination_previous : "Vorige"
|
||||||
@@ -760,7 +763,7 @@ nl-NL:
|
|||||||
<<: *DEFAULT_NL
|
<<: *DEFAULT_NL
|
||||||
|
|
||||||
# Indonesian
|
# Indonesian
|
||||||
# -----------------
|
# ----------
|
||||||
id: &DEFAULT_ID
|
id: &DEFAULT_ID
|
||||||
page : "Halaman"
|
page : "Halaman"
|
||||||
pagination_previous : "Kembali"
|
pagination_previous : "Kembali"
|
||||||
@@ -803,7 +806,7 @@ id-ID:
|
|||||||
<<: *DEFAULT_ID
|
<<: *DEFAULT_ID
|
||||||
|
|
||||||
# Vietnamese
|
# Vietnamese
|
||||||
# -----------------
|
# ----------
|
||||||
vi: &DEFAULT_VI
|
vi: &DEFAULT_VI
|
||||||
page : "Trang"
|
page : "Trang"
|
||||||
pagination_previous : "Trước"
|
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_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."
|
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..."
|
loading_label : "Trwa ładowanie strony..."
|
||||||
da-PL:
|
pl-PL:
|
||||||
<<: *DEFAULT_PL
|
<<: *DEFAULT_PL
|
||||||
|
|
||||||
# Japanese
|
# Japanese
|
||||||
# -----------------
|
# --------
|
||||||
ja: &DEFAULT_JA
|
ja: &DEFAULT_JA
|
||||||
page : "ページ"
|
page : "ページ"
|
||||||
pagination_previous : "前へ"
|
pagination_previous : "前へ"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
title: "Configuration"
|
title: "Configuration"
|
||||||
permalink: /docs/configuration/
|
permalink: /docs/configuration/
|
||||||
excerpt: "Settings for configuring and customizing the theme."
|
excerpt: "Settings for configuring and customizing the theme."
|
||||||
last_modified_at: 2018-02-01T14:40:00-05:00
|
last_modified_at: 2018-02-19T08:09:39-05:00
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -468,23 +468,71 @@ atom_feed:
|
|||||||
|
|
||||||
### Site Search
|
### Site Search
|
||||||
|
|
||||||
Enable basic site search powered by [Lunr](https://lunrjs.com/) by adding the following to `_config.yml`:
|
To enable site-wide search add `search: true` to your `_config.yml`.
|
||||||
|
|
||||||
```yaml
|
|
||||||
search: true
|
|
||||||
```
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
To index the full content of your documents set `search_full_content` to `true` in `_config.yml`:
|
#### Lunr (default)
|
||||||
|
|
||||||
```yaml
|
The default search uses [**Lunr**](https://lunrjs.com/) to build a search index of all your documents. This method is 100% compatible with sites hosted on GitHub Pages.
|
||||||
search_full_content: true
|
|
||||||
```
|
|
||||||
|
|
||||||
**Note:** Large amounts of posts will increase the size of the search index, impacting page load performance. Setting `search_full_content` to `false` (the default) restricts indexing to the first 50 words of body content.
|
**Note:** Only the first 50 words of a post or page's body content is added to the Lunr search index. Setting `search_full_content` to `true` in your `_config.yml` will override this and could impact page load performance.
|
||||||
{: .notice--warning}
|
{: .notice--warning}
|
||||||
|
|
||||||
|
#### Algolia
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
group :jekyll_plugins do
|
||||||
|
gem "jekyll-feed"
|
||||||
|
gem "jekyll-seo-tag"
|
||||||
|
gem "jekyll-sitemap"
|
||||||
|
gem "jekyll-paginate"
|
||||||
|
gem "jekyll-algolia"
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|
Once this is done, download all dependencies by running `bundle install`.
|
||||||
|
|
||||||
|
2. Switch search providers from `lunr` to `algolia` in your `_config.yml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
search_provider: algolia
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Add the following Algolia credentials to your `_config.yml` file. *If you don't have an Algolia account, you can open a free [Community plan](https://www.algolia.com/users/sign_up/hacker). Once signed in, you can grab your credentials from [your dashboard](https://www.algolia.com/licensing).*
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Once your credentials are setup, you can run the indexing with the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
ALGOLIA_API_KEY=your_admin_api_key bundle exec jekyll algolia
|
||||||
|
```
|
||||||
|
|
||||||
|
For Windows users you will have to use `set` to assigned the `ALGOLIA_API_KEY` environment variable.
|
||||||
|
|
||||||
|
```
|
||||||
|
set ALGOLIA_API_KEY=your_admin_api_key
|
||||||
|
bundle exec jekyll algolia
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that `ALGOLIA_API_KEY` should be set to your admin API key.
|
||||||
|
|
||||||
|
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
|
### 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.
|
All optional, but a good idea to take the time setting up to improve SEO and links shared from the site.
|
||||||
@@ -631,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** | [Google Standard Analytics](https://www.google.com/analytics/) |
|
||||||
| **google-universal** | [Google Universal 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 |
|
| **custom** | Other analytics providers |
|
||||||
|
|
||||||
For Google Analytics add your Tracking Code:
|
For Google Analytics add your Tracking Code:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
analytics:
|
analytics:
|
||||||
provider: "google-universal"
|
provider: "google-gtag"
|
||||||
google:
|
google:
|
||||||
tracking_id: "UA-1234567-8"
|
tracking_id: "UA-1234567-8"
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ minimal mistakes
|
|||||||
| | | └── jquery.smooth-scroll.min.js # make same-page links scroll smoothly
|
| | | └── jquery.smooth-scroll.min.js # make same-page links scroll smoothly
|
||||||
| | ├── vendor
|
| | ├── vendor
|
||||||
| | | └── jquery
|
| | | └── jquery
|
||||||
| | | └── jquery-3.2.1.min.js
|
| | | └── jquery-3.3.1.min.js
|
||||||
| | ├── _main.js # jQuery plugin settings and other scripts
|
| | ├── _main.js # jQuery plugin settings and other scripts
|
||||||
| | └── main.min.js # concatenated and minified 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
|
```yaml
|
||||||
head_scripts:
|
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
|
- /assets/js/your-custom-head-script.js
|
||||||
footer_scripts:
|
footer_scripts:
|
||||||
- /assets/js/your-custom-footer-script.js
|
- /assets/js/your-custom-footer-script.js
|
||||||
|
|||||||
@@ -4,10 +4,31 @@ permalink: /docs/history/
|
|||||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: 2018-02-05T14:38:43-05:00
|
last_modified_at: 2018-03-12T19:29:34-04:00
|
||||||
toc: true
|
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 ([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)
|
## [4.9.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
@@ -19,7 +40,7 @@ toc: true
|
|||||||
* Minify `assets/js/lunr/lunr.js`.
|
* Minify `assets/js/lunr/lunr.js`.
|
||||||
* Improve calculation of Greedy navigation's `availableSpace`.
|
* 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)
|
* 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 title's are links with an underline.
|
* Indicate that archive titles are links with an underline.
|
||||||
* Remove `base_path` include from `/test` pages.
|
* Remove `base_path` include from `/test` pages.
|
||||||
* Reduce font-size of page meta in list/grid items.
|
* 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 feature row styling when used with `archive` layout. [#1484](https://github.com/mmistakes/minimal-mistakes/issues/1484)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.9.1 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.10.1 by Michael Rose
|
||||||
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
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.txt
|
||||||
@@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
<div class="initial-content">
|
<div class="initial-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
<div align="center" style="margin: 1em 0;">
|
<div align="center" style="margin: 1em 0;">
|
||||||
<ins class="adsbygoogle"
|
<ins class="adsbygoogle"
|
||||||
@@ -37,7 +36,7 @@
|
|||||||
|
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
{% include search_form.html %}
|
{% include search/search_form.html %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ header:
|
|||||||
cta_label: "<i class='fas fa-download'></i> Install Now"
|
cta_label: "<i class='fas fa-download'></i> Install Now"
|
||||||
cta_url: "/docs/quick-start-guide/"
|
cta_url: "/docs/quick-start-guide/"
|
||||||
caption:
|
caption:
|
||||||
excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1">Latest release v4.9.1</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
|
excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.0">Latest release v4.10.0</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
|
||||||
feature_row:
|
feature_row:
|
||||||
- image_path: /assets/images/mm-customizable-feature.png
|
- image_path: /assets/images/mm-customizable-feature.png
|
||||||
alt: "customizable"
|
alt: "customizable"
|
||||||
|
|||||||
@@ -3,10 +3,27 @@ title: "Exclude Post from Search Index"
|
|||||||
search: false
|
search: false
|
||||||
categories:
|
categories:
|
||||||
- Jekyll
|
- 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:
|
This post should not appear in the search index because it has the following YAML Front Matter:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
search: false
|
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
|
||||||
```
|
```
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "minimal-mistakes-jekyll"
|
spec.name = "minimal-mistakes-jekyll"
|
||||||
spec.version = "4.9.1"
|
spec.version = "4.10.1"
|
||||||
spec.authors = ["Michael Rose"]
|
spec.authors = ["Michael Rose"]
|
||||||
|
|
||||||
spec.summary = %q{A flexible two-column Jekyll theme.}
|
spec.summary = %q{A flexible two-column Jekyll theme.}
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.9.1",
|
"version": "4.10.1",
|
||||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"uglify":
|
"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",
|
"add-banner": "node banner.js",
|
||||||
"watch:js":
|
"watch:js":
|
||||||
"onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
|
"onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
|
||||||
|
|||||||
@@ -3,4 +3,8 @@ source "https://rubygems.org"
|
|||||||
# use local theme gem for testing
|
# use local theme gem for testing
|
||||||
gem "minimal-mistakes-jekyll", path: "../"
|
gem "minimal-mistakes-jekyll", path: "../"
|
||||||
|
|
||||||
|
group :jekyll_plugins do
|
||||||
|
gem 'jekyll-algolia', '~> 1.0'
|
||||||
|
end
|
||||||
|
|
||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
@@ -51,6 +51,12 @@ atom_feed:
|
|||||||
path : # blank (default) uses feed.xml
|
path : # blank (default) uses feed.xml
|
||||||
search : true # true, false (default)
|
search : true # true, false (default)
|
||||||
search_full_content : true # true, false (default)
|
search_full_content : true # true, false (default)
|
||||||
|
search_provider : "algolia"
|
||||||
|
algolia:
|
||||||
|
application_id : "QB6HVGBSBA"
|
||||||
|
index_name : "dev_minimal-mistakes"
|
||||||
|
search_only_api_key : "9d5014e5bbc77372547bce778dfa5663"
|
||||||
|
powered_by : true
|
||||||
|
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: Search
|
||||||
|
layout: search
|
||||||
|
permalink: /search/
|
||||||
|
---
|
||||||
@@ -3,10 +3,27 @@ title: "Exclude Post from Search Index"
|
|||||||
search: false
|
search: false
|
||||||
categories:
|
categories:
|
||||||
- Jekyll
|
- 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:
|
This post should not appear in the search index because it has the following YAML Front Matter:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
search: false
|
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
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user