Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae99717eb6 | ||
|
|
3e367ed881 | ||
|
|
9a94fb0f96 | ||
|
|
39522e876f | ||
|
|
4c06fe7003 | ||
|
|
53d1063c17 | ||
|
|
2ba69591bf | ||
|
|
9dd3a3a49a | ||
|
|
b0689a928d | ||
|
|
70bff53a41 | ||
|
|
206f89ed6b | ||
|
|
738254cd9f | ||
|
|
4f934bf9ff | ||
|
|
195105c3df | ||
|
|
2e1ff9eeb1 | ||
|
|
e366a9a72b | ||
|
|
2bf2c83fea | ||
|
|
7cbd61130b | ||
|
|
4fbc846414 | ||
|
|
f0f5dded48 | ||
|
|
789f4a5aeb | ||
|
|
d497e787e9 | ||
|
|
e5797284a8 | ||
|
|
aeb4742858 | ||
|
|
c5c964742a | ||
|
|
d475c9ac49 | ||
|
|
50dca72f4b | ||
|
|
648254b2b5 | ||
|
|
bcde2d76ea | ||
|
|
5adcb277b8 | ||
|
|
497b3bb741 | ||
|
|
9b17ac9856 | ||
|
|
3a817c2bdb | ||
|
|
f031c08c84 | ||
|
|
f744cea6a1 | ||
|
|
28ef6b07d7 | ||
|
|
1b61c1dd44 | ||
|
|
0101aac2ca | ||
|
|
c5562f53c1 | ||
|
|
8f900dd3f2 | ||
|
|
ea37611d60 | ||
|
|
08a0a6d5e3 | ||
|
|
c6d726408e | ||
|
|
042bd5a361 | ||
|
|
37e5fd11d4 | ||
|
|
fa0acf455f | ||
|
|
cc2793fddc | ||
|
|
ddd5b7a9c5 | ||
|
|
89a6f9bf4b | ||
|
|
1c57e7cd43 | ||
|
|
ef96114ece | ||
|
|
74d7e838ee |
@@ -6,7 +6,6 @@ daysUntilClose: 7
|
|||||||
exemptLabels:
|
exemptLabels:
|
||||||
- "Status: Accepted"
|
- "Status: Accepted"
|
||||||
- "Status: Under Consideration"
|
- "Status: Under Consideration"
|
||||||
- "Status: Review Needed"
|
|
||||||
# Label to use when marking an issue as stale
|
# Label to use when marking an issue as stale
|
||||||
staleLabel: "Status: Stale"
|
staleLabel: "Status: Stale"
|
||||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||||
|
|||||||
@@ -1,3 +1,27 @@
|
|||||||
|
## [4.12.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add Hungarian localized UI text strings. [#1682](https://github.com/mmistakes/minimal-mistakes/pull/1682)
|
||||||
|
* DRY `tags_max` calculation in tags.html layout. [#1696](https://github.com/mmistakes/minimal-mistakes/pull/1696)
|
||||||
|
* DRY `categories_max` calculation in categories.html layout.
|
||||||
|
* Add support for "sticking" table of contents to top of page via `toc_sticky: true` YAML Front Matter.
|
||||||
|
* Add support for captioning images in feature row helper via `image_caption` YAML Front Matter. [#1440](https://github.com/mmistakes/minimal-mistakes/issues/1440)
|
||||||
|
* Add [Google Custom Search Engine](https://cse.google.com/cse) support. [#1652](https://github.com/mmistakes/minimal-mistakes/issues/1652)
|
||||||
|
* Update Font Awesome to version [`5.1.13`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
|
||||||
|
* Add "Pets" sample archive page to documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
|
||||||
|
* Add GitLab social icon brand color. [#1653](https://github.com/mmistakes/minimal-mistakes/issues/1653)
|
||||||
|
* Prevent line breaks between FontAwesome icon and text in footer social links. [#1659](https://github.com/mmistakes/minimal-mistakes/issues/1659)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Set default `title_separator`. [#1701](https://github.com/mmistakes/minimal-mistakes/pull/1701)
|
||||||
|
* Fix `naver_site_verification` typo in /_includes/seo.html. [#1687](https://github.com/mmistakes/minimal-mistakes/pull/1687)
|
||||||
|
* Fix table of contents missing borders. [#1675](https://github.com/mmistakes/minimal-mistakes/issues/1675)
|
||||||
|
* Fix link to "Recipes" sample archive on documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
|
||||||
|
* Update example Reddit social share interpolation syntax in documentation. [#1656](https://github.com/mmistakes/minimal-mistakes/issues/1656)
|
||||||
|
* Fix "Back to Top" links on pages that use [header overlays](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay).
|
||||||
|
|
||||||
## [4.11.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.2)
|
## [4.11.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|||||||
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
|
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
|
||||||
|
|
||||||
## Skins (Color Variations)
|
## Skins (Color Variations)
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -60,13 +60,15 @@ 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
|
search_provider : # lunr (default), algolia, google
|
||||||
algolia:
|
algolia:
|
||||||
application_id : # YOUR_APPLICATION_ID
|
application_id : # YOUR_APPLICATION_ID
|
||||||
index_name : # YOUR_INDEX_NAME
|
index_name : # YOUR_INDEX_NAME
|
||||||
search_only_api_key : # YOUR_SEARCH_ONLY_API_KEY
|
search_only_api_key : # YOUR_SEARCH_ONLY_API_KEY
|
||||||
powered_by : # true (default), false
|
powered_by : # true (default), false
|
||||||
|
google:
|
||||||
|
search_engine_id : # YOUR_SEARCH_ENGINE_ID
|
||||||
|
instant_search : # false (default), true
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
bing_site_verification :
|
bing_site_verification :
|
||||||
|
|||||||
@@ -1029,6 +1029,52 @@ sk: &DEFAULT_SK
|
|||||||
sk-SK:
|
sk-SK:
|
||||||
<<: *DEFAULT_SK
|
<<: *DEFAULT_SK
|
||||||
|
|
||||||
|
# Hungarian
|
||||||
|
# -----------------
|
||||||
|
hu: &DEFAULT_HU
|
||||||
|
page : "Oldal"
|
||||||
|
pagination_previous : "Előző"
|
||||||
|
pagination_next : "Következő"
|
||||||
|
breadcrumb_home_label : "Kezdőlap"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "Menü nyit/zár"
|
||||||
|
toc_label : "Ezen az oldalon"
|
||||||
|
ext_link_label : "Közvetlen Link"
|
||||||
|
less_than : "kevesebb mint"
|
||||||
|
minute_read : "eltöltött percek"
|
||||||
|
share_on_label : "Megosztás"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tagek:"
|
||||||
|
categories_label : "Kategóriák:"
|
||||||
|
date_label : "Frissítve:"
|
||||||
|
comments_label : "Szólj hozzá!"
|
||||||
|
comments_title : "Hozzászólások"
|
||||||
|
more_label : "Tovább"
|
||||||
|
related_label : "Ajánlások"
|
||||||
|
follow_label : "Követés:"
|
||||||
|
feed_label : "Folyam"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "Honlap"
|
||||||
|
email_label : "Email"
|
||||||
|
recent_posts : "Friss cikkek"
|
||||||
|
undefined_wpm : "Ismeretlen paraméter words_per_minute : _config.yml"
|
||||||
|
comment_form_info : "Az e-mail címed nem lesz publikus. A csillagozott mezők kitöltése kötelező."
|
||||||
|
comment_form_comment_label : "Hozzászólás"
|
||||||
|
comment_form_md_info : "Támogatott formázási mód: Markdown"
|
||||||
|
comment_form_name_label : "Név"
|
||||||
|
comment_form_email_label : "Email cím"
|
||||||
|
comment_form_website_label : "Honlap (nem kötelező):"
|
||||||
|
comment_btn_submit : "Hozzászólás elküldése"
|
||||||
|
comment_btn_submitted : "Hozzászólás elküldve"
|
||||||
|
comment_success_msg : "Köszönjük a Hozzászólást! A Hozzászólások csak előzetes moderáció után lesznek publikusak."
|
||||||
|
comment_error_msg : "Hoppá, hiba történt a beküldés közben. Kérlek ellenőrizd hogy minden kötelező mező ki van-e töltve."
|
||||||
|
loading_label : "Betöltés..."
|
||||||
|
search_placeholder_text : "Keresendő szöveg..."
|
||||||
|
results_found : "Találatok:"
|
||||||
|
back_to_top : "Oldal tetejére"
|
||||||
|
hu-HU:
|
||||||
|
<<: *DEFAULT_HU
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -25,6 +25,9 @@
|
|||||||
"{{ f.image_path | relative_url }}"
|
"{{ f.image_path | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
||||||
|
{% if f.image_caption %}
|
||||||
|
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
>
|
>
|
||||||
{% if page.header.overlay_color or page.header.overlay_image %}
|
{% if page.header.overlay_color or page.header.overlay_image %}
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1 class="page__title" itemprop="headline">
|
<h1 id="page-title" class="page__title" itemprop="headline">
|
||||||
{% if paginator and site.paginate_show_page_num %}
|
{% if paginator and site.paginate_show_page_num %}
|
||||||
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
|
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
||||||
<script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script>
|
<script src="https://use.fontawesome.com/releases/v5.1.0/js/all.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.search == true or page.layout == "search" %}
|
{% if site.search == true or page.layout == "search" %}
|
||||||
@@ -17,6 +17,8 @@
|
|||||||
{%- case search_provider -%}
|
{%- case search_provider -%}
|
||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
{% include search/lunr-search-scripts.html %}
|
{% include search/lunr-search-scripts.html %}
|
||||||
|
{%- when "google" -%}
|
||||||
|
{% include search/google-search-scripts.html %}
|
||||||
{%- when "algolia" -%}
|
{%- when "algolia" -%}
|
||||||
{% include search/algolia-search-scripts.html %}
|
{% include search/algolia-search-scripts.html %}
|
||||||
{%- endcase -%}
|
{%- endcase -%}
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<script>
|
||||||
|
(function () {
|
||||||
|
var cx = '{{ site.google.search_engine_id }}';
|
||||||
|
var gcse = document.createElement('script');
|
||||||
|
gcse.type = 'text/javascript';
|
||||||
|
gcse.async = true;
|
||||||
|
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(gcse, s);
|
||||||
|
})();
|
||||||
|
|
||||||
|
function googleCustomSearchExecute() {
|
||||||
|
var input = document.getElementById('cse-search-input-box-id');
|
||||||
|
var element = google.search.cse.element.getElement('searchresults-only0');
|
||||||
|
if (input.value == '') {
|
||||||
|
element.clearAllResults();
|
||||||
|
} else {
|
||||||
|
element.execute(input.value);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
{% if site.google.instant_search %}
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('input#cse-search-input-box-id').on('keyup', function () {
|
||||||
|
googleCustomSearchExecute();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
{% endif %}
|
||||||
|
</script>
|
||||||
@@ -4,6 +4,13 @@
|
|||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
<div id="results" class="results"></div>
|
<div id="results" class="results"></div>
|
||||||
|
{%- when "google" -%}
|
||||||
|
<form onsubmit="return executeQuery();" id="cse-search-box-form-id">
|
||||||
|
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
</form>
|
||||||
|
<div id="results" class="results">
|
||||||
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
</div>
|
||||||
{%- when "algolia" -%}
|
{%- when "algolia" -%}
|
||||||
<div class="search-searchbar"></div>
|
<div class="search-searchbar"></div>
|
||||||
<div class="search-hits"></div>
|
<div class="search-hits"></div>
|
||||||
|
|||||||
+3
-5
@@ -4,9 +4,7 @@
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- assign seo_url = seo_url | default: site.github.url -%}
|
{%- assign seo_url = seo_url | default: site.github.url -%}
|
||||||
|
|
||||||
{% if site.title_separator %}
|
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
|
||||||
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{%- if page.title -%}
|
{%- if page.title -%}
|
||||||
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
|
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
|
||||||
@@ -160,7 +158,7 @@
|
|||||||
{% if site.yandex_site_verification %}
|
{% if site.yandex_site_verification %}
|
||||||
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
|
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.naver-site-verification %}
|
{% if site.naver_site_verification %}
|
||||||
<meta name="naver-site-verification" content="{{ site.naver-site-verification }}">
|
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- end _includes/seo.html -->
|
<!-- end _includes/seo.html -->
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
|
{% assign categories_max = 0 %}
|
||||||
|
{% for category in site.categories %}
|
||||||
|
{% if category[1].size > categories_max %}
|
||||||
|
{% assign categories_max = category[1].size %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
<ul class="taxonomy__index">
|
<ul class="taxonomy__index">
|
||||||
{% assign categories_max = 0 %}
|
|
||||||
{% for category in site.categories %}
|
|
||||||
{% if category[1].size > categories_max %}
|
|
||||||
{% assign categories_max = category[1].size %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% for i in (1..categories_max) reversed %}
|
{% for i in (1..categories_max) reversed %}
|
||||||
{% for category in site.categories %}
|
{% for category in site.categories %}
|
||||||
{% if category[1].size == i %}
|
{% if category[1].size == i %}
|
||||||
@@ -24,13 +25,6 @@ layout: archive
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% assign categories_max = 0 %}
|
|
||||||
{% for category in site.categories %}
|
|
||||||
{% if category[1].size > categories_max %}
|
|
||||||
{% assign categories_max = category[1].size %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% for i in (1..categories_max) reversed %}
|
{% for i in (1..categories_max) reversed %}
|
||||||
{% for category in site.categories %}
|
{% for category in site.categories %}
|
||||||
{% if category[1].size == i %}
|
{% if category[1].size == i %}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.11.2 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.12.0 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
|
||||||
|
|||||||
@@ -27,6 +27,13 @@ layout: default
|
|||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
<div id="results" class="results"></div>
|
<div id="results" class="results"></div>
|
||||||
|
{%- when "google" -%}
|
||||||
|
<form onsubmit="return executeQuery();" id="cse-search-box-form-id">
|
||||||
|
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
</form>
|
||||||
|
<div id="results" class="results">
|
||||||
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
</div>
|
||||||
{%- when "algolia" -%}
|
{%- when "algolia" -%}
|
||||||
<div class="search-searchbar"></div>
|
<div class="search-searchbar"></div>
|
||||||
<div class="search-hits"></div>
|
<div class="search-hits"></div>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ layout: default
|
|||||||
|
|
||||||
<section class="page__content" itemprop="text">
|
<section class="page__content" itemprop="text">
|
||||||
{% if page.toc %}
|
{% if page.toc %}
|
||||||
<aside class="sidebar__right">
|
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
||||||
<nav class="toc">
|
<nav class="toc">
|
||||||
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
||||||
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
|
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
|
||||||
|
|||||||
+7
-13
@@ -4,13 +4,14 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
|
{% assign tags_max = 0 %}
|
||||||
|
{% for tag in site.tags %}
|
||||||
|
{% if tag[1].size > tags_max %}
|
||||||
|
{% assign tags_max = tag[1].size %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
<ul class="taxonomy__index">
|
<ul class="taxonomy__index">
|
||||||
{% assign tags_max = 0 %}
|
|
||||||
{% for tag in site.tags %}
|
|
||||||
{% if tag[1].size > tags_max %}
|
|
||||||
{% assign tags_max = tag[1].size %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% for i in (1..tags_max) reversed %}
|
{% for i in (1..tags_max) reversed %}
|
||||||
{% for tag in site.tags %}
|
{% for tag in site.tags %}
|
||||||
{% if tag[1].size == i %}
|
{% if tag[1].size == i %}
|
||||||
@@ -24,13 +25,6 @@ layout: archive
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% assign tags_max = 0 %}
|
|
||||||
{% for tag in site.tags %}
|
|
||||||
{% if tag[1].size > tags_max %}
|
|
||||||
{% assign tags_max = tag[1].size %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% for i in (1..tags_max) reversed %}
|
{% for i in (1..tags_max) reversed %}
|
||||||
{% for tag in site.tags %}
|
{% for tag in site.tags %}
|
||||||
{% if tag[1].size == i %}
|
{% if tag[1].size == i %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.11.2 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.12.0 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)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -63,13 +63,40 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
|
position: relative;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.archive__item-caption {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 2px 5px;
|
||||||
|
color: #fff;
|
||||||
|
font-family: $caption-font-family;
|
||||||
|
font-size: $type-size-8;
|
||||||
|
background: #000;
|
||||||
|
text-align: right;
|
||||||
|
z-index: 5;
|
||||||
|
opacity: 0.5;
|
||||||
|
border-radius: $border-radius 0 0 0;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
List view
|
List view
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|||||||
@@ -82,4 +82,10 @@
|
|||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.social-icons {
|
||||||
|
a {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -528,12 +528,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> li:last-child {
|
|
||||||
a {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
li ul > li a {
|
li ul > li a {
|
||||||
padding-left: 1.75rem;
|
padding-left: 1.75rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|||||||
@@ -74,6 +74,14 @@
|
|||||||
margin-right: -1 * $right-sidebar-width-narrow;
|
margin-right: -1 * $right-sidebar-width-narrow;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
|
&.sticky {
|
||||||
|
@include clearfix();
|
||||||
|
position: -webkit-sticky;
|
||||||
|
position: sticky;
|
||||||
|
top: 2em;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
@@ -279,6 +287,7 @@
|
|||||||
|
|
||||||
.wide .sidebar__right {
|
.wide .sidebar__right {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: initial;
|
position: initial;
|
||||||
top: initial;
|
top: initial;
|
||||||
@@ -287,6 +296,10 @@
|
|||||||
margin-right: initial;
|
margin-right: initial;
|
||||||
padding-left: initial;
|
padding-left: initial;
|
||||||
z-index: initial;
|
z-index: initial;
|
||||||
|
|
||||||
|
&.sticky {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
|
|||||||
@@ -224,6 +224,10 @@ body:hover .visually-hidden button {
|
|||||||
color: $github-color;
|
color: $github-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fa-gitlab {
|
||||||
|
color: $gitlab-color;
|
||||||
|
}
|
||||||
|
|
||||||
.fa-google-plus,
|
.fa-google-plus,
|
||||||
.fa-google-plus-square,
|
.fa-google-plus-square,
|
||||||
.fa-google-plus-g {
|
.fa-google-plus-g {
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ $facebook-color: #3b5998 !default;
|
|||||||
$flickr-color: #ff0084 !default;
|
$flickr-color: #ff0084 !default;
|
||||||
$foursquare-color: #0072b1 !default;
|
$foursquare-color: #0072b1 !default;
|
||||||
$github-color: #171516 !default;
|
$github-color: #171516 !default;
|
||||||
|
$gitlab-color: #e24329 !default;
|
||||||
$google-plus-color: #dd4b39 !default;
|
$google-plus-color: #dd4b39 !default;
|
||||||
$instagram-color: #517fa4 !default;
|
$instagram-color: #517fa4 !default;
|
||||||
$lastfm-color: #d51007 !default;
|
$lastfm-color: #d51007 !default;
|
||||||
|
|||||||
Vendored
+5
-5
File diff suppressed because one or more lines are too long
+1
-1
@@ -12,5 +12,5 @@ group :jekyll_plugins do
|
|||||||
gem "jekyll-gist"
|
gem "jekyll-gist"
|
||||||
gem "jekyll-feed"
|
gem "jekyll-feed"
|
||||||
gem "jemoji"
|
gem "jemoji"
|
||||||
gem "jekyll-algolia", "1.3.2"
|
gem "jekyll-algolia"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
_id: 254049d0-5e8d-11e8-bff3-cf20643057a6
|
||||||
|
message: "+1 to jean. \r\nFurthermore, for posts with no table to contents, it would be great to have a \"sticky\" post-specific sidebar with CTAs (like different 'shares' for the post - Twitter, Linkedin, FB, etc., #comments, post categories, post tags and subscribe - RSS, newsletter). \r\nHere is an example of such sidebar, despite non-sticky: https://www.feld.com/archives/2018/05/misty-ii-teardown.html\r\nAnd here is another example (with less CTAs, and also non-sticky): https://www.gatesnotes.com/Books/Leonardo-da-Vinci"
|
||||||
|
name: Mora
|
||||||
|
email: aead23df2f7cf50789a29b3d9b5a6d5f
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2018-05-23T13:28:14.886Z'
|
||||||
|
timestamp: 1527082094
|
||||||
|
tags:
|
||||||
|
- comment-subscription
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
_id: 497911d0-625a-11e8-afe5-3feaa7bb1d43
|
||||||
|
message: >-
|
||||||
|
Making a sticky TOC sidebar is quite easy. I have made a separate [blog
|
||||||
|
post](https://shaharkadmiel.github.io/Sticky-TOC-Sidebar/) about it.
|
||||||
|
name: Shahar Shani-Kadmiel
|
||||||
|
email: 2dd06215bf688e5bacc62f90b15105fc
|
||||||
|
url: 'https://shaharkadmiel.github.io'
|
||||||
|
hidden: ''
|
||||||
|
date: '2018-05-28T09:34:15.862Z'
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
_id: acc930b0-6414-11e8-85f3-dd0128460d26
|
||||||
|
message: >-
|
||||||
|
Shahars's sticky sidebar is great on firefox, but doesn't work on Safari. I
|
||||||
|
haven't tested other browsers.
|
||||||
|
name: Matthew Dorey
|
||||||
|
email: 69b0700825ff5bf5df1d9d2d6582cc5e
|
||||||
|
url: 'https://mattischrome.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2018-05-30T14:21:00.032Z'
|
||||||
|
tags: []
|
||||||
|
timestamp: 1527690060
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
_id: 30e73630-6415-11e8-85f3-dd0128460d26
|
||||||
|
message: "@Matthew - that's likely due to vendor prefixes missing from the CSS. `position: sticky` isn't enough for webkit browsers like Safari.\r\n\r\n```css\r\nposition: sticky;\r\nposition: -webkit-sticky;\r\nposition: -moz-sticky;\r\nposition: -ms-sticky;\r\nposition: -o-sticky;\r\n```"
|
||||||
|
name: Michael Rose
|
||||||
|
email: 1ce71bc10b86565464b612093d89707e
|
||||||
|
url: 'https://mademistakes.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2018-05-30T14:24:41.768Z'
|
||||||
|
tags: []
|
||||||
|
timestamp: 1527690281
|
||||||
@@ -1029,6 +1029,52 @@ sk: &DEFAULT_SK
|
|||||||
sk-SK:
|
sk-SK:
|
||||||
<<: *DEFAULT_SK
|
<<: *DEFAULT_SK
|
||||||
|
|
||||||
|
# Hungarian
|
||||||
|
# -----------------
|
||||||
|
hu: &DEFAULT_HU
|
||||||
|
page : "Oldal"
|
||||||
|
pagination_previous : "Előző"
|
||||||
|
pagination_next : "Következő"
|
||||||
|
breadcrumb_home_label : "Kezdőlap"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "Menü nyit/zár"
|
||||||
|
toc_label : "Ezen az oldalon"
|
||||||
|
ext_link_label : "Közvetlen Link"
|
||||||
|
less_than : "kevesebb mint"
|
||||||
|
minute_read : "eltöltött percek"
|
||||||
|
share_on_label : "Megosztás"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tagek:"
|
||||||
|
categories_label : "Kategóriák:"
|
||||||
|
date_label : "Frissítve:"
|
||||||
|
comments_label : "Szólj hozzá!"
|
||||||
|
comments_title : "Hozzászólások"
|
||||||
|
more_label : "Tovább"
|
||||||
|
related_label : "Ajánlások"
|
||||||
|
follow_label : "Követés:"
|
||||||
|
feed_label : "Folyam"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "Honlap"
|
||||||
|
email_label : "Email"
|
||||||
|
recent_posts : "Friss cikkek"
|
||||||
|
undefined_wpm : "Ismeretlen paraméter words_per_minute : _config.yml"
|
||||||
|
comment_form_info : "Az e-mail címed nem lesz publikus. A csillagozott mezők kitöltése kötelező."
|
||||||
|
comment_form_comment_label : "Hozzászólás"
|
||||||
|
comment_form_md_info : "Támogatott formázási mód: Markdown"
|
||||||
|
comment_form_name_label : "Név"
|
||||||
|
comment_form_email_label : "Email cím"
|
||||||
|
comment_form_website_label : "Honlap (nem kötelező):"
|
||||||
|
comment_btn_submit : "Hozzászólás elküldése"
|
||||||
|
comment_btn_submitted : "Hozzászólás elküldve"
|
||||||
|
comment_success_msg : "Köszönjük a Hozzászólást! A Hozzászólások csak előzetes moderáció után lesznek publikusak."
|
||||||
|
comment_error_msg : "Hoppá, hiba történt a beküldés közben. Kérlek ellenőrizd hogy minden kötelező mező ki van-e töltve."
|
||||||
|
loading_label : "Betöltés..."
|
||||||
|
search_placeholder_text : "Keresendő szöveg..."
|
||||||
|
results_found : "Találatok:"
|
||||||
|
back_to_top : "Oldal tetejére"
|
||||||
|
hu-HU:
|
||||||
|
<<: *DEFAULT_HU
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -533,6 +533,28 @@ To use the Algolia search with GitHub Pages hosted sites follow [this deployment
|
|||||||
**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.
|
**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}
|
{: .notice--info}
|
||||||
|
|
||||||
|
#### Google Custom Search Engine
|
||||||
|
|
||||||
|
Add a Google search box to your site.
|
||||||
|
|
||||||
|
1. Create a **New search engine** in [Google Custom Search Engine](https://cse.google.com/cse/all), give it an appropriate name and setup "Sites to search" to your liking.
|
||||||
|
|
||||||
|
2. Under **Look and feel** choose the "Results only" layout and a theme (*Minimalist* is a good choice to match the default look of the Minimal Mistakes).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
3. Select "Save & Get Code" and grab your search engine ID from the line that begins with `var cx = 'YOUR_SEARCH_ENGINE_ID'`.
|
||||||
|
|
||||||
|
4. Add your search engine ID to `_config.yml` like so:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
google:
|
||||||
|
search_engine_id: YOUR_SEARCH_ENGINE_ID
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** If your site is new and hasn't been indexed by Google yet, search will be incomplete and won't provide accurate results.
|
||||||
|
{: .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.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
title: "UI Text"
|
title: "UI Text"
|
||||||
permalink: /docs/ui-text/
|
permalink: /docs/ui-text/
|
||||||
excerpt: "Text for customizing user interface elements found in the theme."
|
excerpt: "Text for customizing user interface elements found in the theme."
|
||||||
last_modified_at: 2018-04-10T08:40:57-04:00
|
last_modified_at: 2018-06-04T12:04:02-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Text for UI elements, `_layouts`, and `_includes` grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier.
|
Text for UI elements, `_layouts`, and `_includes` grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier.
|
||||||
@@ -16,6 +16,7 @@ The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com
|
|||||||
- French (Français)
|
- French (Français)
|
||||||
- German (Deutsch)
|
- German (Deutsch)
|
||||||
- Greek
|
- Greek
|
||||||
|
- Hungarian
|
||||||
- Indonesian
|
- Indonesian
|
||||||
- Italian (Italiano)
|
- Italian (Italiano)
|
||||||
- Korean
|
- Korean
|
||||||
|
|||||||
@@ -716,7 +716,7 @@ If you'd like to add, remove, or change the order of these default links you can
|
|||||||
Let's say you wanted to replace the Google+ button with a Reddit one. Simply replace the HTML with the following:
|
Let's say you wanted to replace the Google+ button with a Reddit one. Simply replace the HTML with the following:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
{% raw %}<a href="https://www.reddit.com/submit?url={{ page.url | relative_url }}&title={{ page.title }}" class="btn" title="{{ site.data.ui-text[site.locale].share_on_label }} Reddit"><i class="fab fa-fw fa-reddit" aria-hidden="true"></i><span> Reddit</span></a>{% endraw %}
|
{% raw %}<a href="https://www.reddit.com/submit?url={{ page.url | absolute_url | url_encode }}&title={{ page.title }}" class="btn" title="{{ site.data.ui-text[site.locale].share_on_label }} Reddit"><i class="fab fa-fw fa-reddit" aria-hidden="true"></i><span> Reddit</span></a>{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
The important parts to change are:
|
The important parts to change are:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ last_modified_at: 2018-03-20T16:00:02-04:00
|
|||||||
|
|
||||||
Collections like posts and pages work as you'd expect. If you're new to them be sure to read [Jekyll's documentation](https://jekyllrb.com/docs/collections/).
|
Collections like posts and pages work as you'd expect. If you're new to them be sure to read [Jekyll's documentation](https://jekyllrb.com/docs/collections/).
|
||||||
|
|
||||||
The theme has been built with collections in mind and you will find [several examples]({{ "/collection-archive/" | relative_url }}) on the demo site ([portfolio]({{ "/portfolio/" | relative_url }}), [recipes]({{ "/recipes/" | relative_url }}), pets).
|
The theme has been built with collections in mind and you will find [several examples]({{ "/collection-archive/" | relative_url }}) on the demo site ([portfolio]({{ "/portfolio/" | relative_url }}), [recipes]({{ "/recipes/" | relative_url }}), [pets]({{ "/pets/" | relative_url }})).
|
||||||
|
|
||||||
**Collections in the Wild:** This set of documentation is also [built as a collection](https://github.com/{{ site.repository }}/blob/master/docs/_docs/) if you're looking for a fully fleshed out example to inspect.
|
**Collections in the Wild:** This set of documentation is also [built as a collection](https://github.com/{{ site.repository }}/blob/master/docs/_docs/) if you're looking for a fully fleshed out example to inspect.
|
||||||
{: .notice--info}
|
{: .notice--info}
|
||||||
|
|||||||
+12
-10
@@ -30,7 +30,7 @@ feature_row:
|
|||||||
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||||
title: "Placeholder 3"
|
title: "Placeholder 3"
|
||||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
last_modified_at: 2018-03-20T16:00:09-04:00
|
last_modified_at: 2018-06-11T07:56:49-04:00
|
||||||
toc: true
|
toc: true
|
||||||
toc_label: "Helpers"
|
toc_label: "Helpers"
|
||||||
toc_icon: "cogs"
|
toc_icon: "cogs"
|
||||||
@@ -134,15 +134,16 @@ Designed to compliment the [`splash`]({{ "/docs/layouts/#splash-page-layout" | r
|
|||||||
|
|
||||||
To add a feature row containing three content blocks with text and image, add the following YAML Front Matter
|
To add a feature row containing three content blocks with text and image, add the following YAML Front Matter
|
||||||
|
|
||||||
| Name | Required | Description | Default |
|
| Name | Required | Description | Default |
|
||||||
| ---- | ----------- | ----------- | ------- |
|
| ---- | ----------- | ----------- | ------- |
|
||||||
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | |
|
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | |
|
||||||
| **alt** | Optional | Alternate text for image. | |
|
| **image_caption** | Optional | Caption for image, Markdown is supported eg: `"Image from [Unsplash](https://unsplash.com)" | |
|
||||||
| **title** | Optional | Content block title. | |
|
| **alt** | Optional | Alternate text for image. | |
|
||||||
| **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | |
|
| **title** | Optional | Content block title. | |
|
||||||
| **url** | Optional | URL that the button should link to. | |
|
| **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | |
|
||||||
| **btn_label** | Optional | Button text label. | `more_label` in UI Text data file. |
|
| **url** | Optional | URL that the button should link to. | |
|
||||||
| **btn_class** | Optional | Button style. See [utility classes]({{ "/docs/utility-classes/#buttons" | relative_url }}) for options. | `btn` |
|
| **btn_label** | Optional | Button text label. | `more_label` in UI Text data file. |
|
||||||
|
| **btn_class** | Optional | Button style. See [utility classes]({{ "/docs/utility-classes/#buttons" | relative_url }}) for options. | `btn` |
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
feature_row:
|
feature_row:
|
||||||
@@ -240,6 +241,7 @@ Add `toc: true` to the YAML Front Matter of any post or page.
|
|||||||
| **toc** | Optional | Show table of contents. (boolean) | `false` |
|
| **toc** | Optional | Show table of contents. (boolean) | `false` |
|
||||||
| **toc_label** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. |
|
| **toc_label** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. |
|
||||||
| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/icons?d=gallery&s=solid&m=free) <i class="fas fa-file-alt"></i> **file-alt** icon. Other FA icons can be used instead. |
|
| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/icons?d=gallery&s=solid&m=free) <i class="fas fa-file-alt"></i> **file-alt** icon. Other FA icons can be used instead. |
|
||||||
|
| **toc_sticky** | Optional | Stick table of contents to top of screen. | `false` |
|
||||||
|
|
||||||
**TOC example with custom title and icon**
|
**TOC example with custom title and icon**
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,34 @@ 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-05-03T19:31:32-04:00
|
last_modified_at: 2018-06-22T15:09:50-04:00
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## [4.12.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add Hungarian localized UI text strings. [#1682](https://github.com/mmistakes/minimal-mistakes/pull/1682)
|
||||||
|
* DRY `tags_max` calculation in tags.html layout. [#1696](https://github.com/mmistakes/minimal-mistakes/pull/1696)
|
||||||
|
* DRY `categories_max` calculation in categories.html layout.
|
||||||
|
* Add support for "sticking" table of contents to top of page via `toc_sticky: true` YAML Front Matter.
|
||||||
|
* Add support for captioning images in feature row helper via `image_caption` YAML Front Matter. [#1440](https://github.com/mmistakes/minimal-mistakes/issues/1440)
|
||||||
|
* Add [Google Custom Search Engine](https://cse.google.com/cse) support. [#1652](https://github.com/mmistakes/minimal-mistakes/issues/1652)
|
||||||
|
* Update Font Awesome to version [`5.1.13`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
|
||||||
|
* Add "Pets" sample archive page to documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
|
||||||
|
* Add GitLab social icon brand color. [#1653](https://github.com/mmistakes/minimal-mistakes/issues/1653)
|
||||||
|
* Prevent line breaks between FontAwesome icon and text in footer social links. [#1659](https://github.com/mmistakes/minimal-mistakes/issues/1659)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Set default `title_separator`. [#1701](https://github.com/mmistakes/minimal-mistakes/pull/1701)
|
||||||
|
* Fix `naver_site_verification` typo in /_includes/seo.html. [#1687](https://github.com/mmistakes/minimal-mistakes/pull/1687)
|
||||||
|
* Fix table of contents missing borders. [#1675](https://github.com/mmistakes/minimal-mistakes/issues/1675)
|
||||||
|
* Fix link to "Recipes" sample archive on documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
|
||||||
|
* Update example Reddit social share interpolation syntax in documentation. [#1656](https://github.com/mmistakes/minimal-mistakes/issues/1656)
|
||||||
|
* Fix "Back to Top" links on pages that use [header overlays](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay).
|
||||||
|
|
||||||
## [4.11.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.2)
|
## [4.11.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.11.2 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.12.0 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
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ layouts_gallery:
|
|||||||
- url: /assets/images/mm-layout-archive.png
|
- url: /assets/images/mm-layout-archive.png
|
||||||
image_path: /assets/images/mm-layout-archive.png
|
image_path: /assets/images/mm-layout-archive.png
|
||||||
alt: "archive layout example"
|
alt: "archive layout example"
|
||||||
last_modified_at: 2018-04-10T08:41:35-04:00
|
last_modified_at: 2018-06-04T12:04:24-04:00
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|||||||
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
|
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
|
||||||
|
|
||||||
## Demo Pages
|
## Demo Pages
|
||||||
|
|
||||||
|
|||||||
+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.10.1">Latest release v4.11.2</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.12.0">Latest release v4.12.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"
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: Pets
|
||||||
|
layout: collection
|
||||||
|
permalink: /pets/
|
||||||
|
collection: pets
|
||||||
|
entries_layout: grid
|
||||||
|
classes: wide
|
||||||
|
---
|
||||||
|
|
||||||
|
Sample document listing for the collection `_pets`.
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
layout: collection
|
layout: collection
|
||||||
title: "Recipes"
|
title: "Recipes"
|
||||||
collection: recipes
|
collection: recipes
|
||||||
permalink: /recipes-archive/
|
permalink: /recipes/
|
||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ feature_row:
|
|||||||
title: "Placeholder 1"
|
title: "Placeholder 1"
|
||||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||||
|
image_caption: "Image courtesy of [Unsplash](https://unsplash.com/)"
|
||||||
alt: "placeholder image 2"
|
alt: "placeholder image 2"
|
||||||
title: "Placeholder 2"
|
title: "Placeholder 2"
|
||||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
|||||||
@@ -0,0 +1,93 @@
|
|||||||
|
---
|
||||||
|
title: "Layout: Post with Sticky Table Of Contents"
|
||||||
|
tags:
|
||||||
|
- table of contents
|
||||||
|
toc: true
|
||||||
|
toc_sticky: true
|
||||||
|
---
|
||||||
|
|
||||||
|
"Stick" table of contents to the top of a page by adding `toc_sticky: true` to its YAML Front Matter.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
toc: true
|
||||||
|
toc_sticky: true
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
## HTML Elements
|
||||||
|
|
||||||
|
Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
|
||||||
|
|
||||||
|
## Body text
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, test link adipiscing elit. **This is strong**. Nullam dignissim convallis est. Quisque aliquam.
|
||||||
|
|
||||||
|

|
||||||
|
{: .image-right}
|
||||||
|
|
||||||
|
*This is emphasized*. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (That’s a citation). Underline.Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.
|
||||||
|
|
||||||
|
HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.
|
||||||
|
|
||||||
|
### Blockquotes
|
||||||
|
|
||||||
|
> Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam.
|
||||||
|
|
||||||
|
## List Types
|
||||||
|
|
||||||
|
### Ordered Lists
|
||||||
|
|
||||||
|
1. Item one
|
||||||
|
1. sub item one
|
||||||
|
2. sub item two
|
||||||
|
3. sub item three
|
||||||
|
2. Item two
|
||||||
|
|
||||||
|
### Unordered Lists
|
||||||
|
|
||||||
|
* Item one
|
||||||
|
* Item two
|
||||||
|
* Item three
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
|
||||||
|
| Header1 | Header2 | Header3 |
|
||||||
|
|:--------|:-------:|--------:|
|
||||||
|
| cell1 | cell2 | cell3 |
|
||||||
|
| cell4 | cell5 | cell6 |
|
||||||
|
|----
|
||||||
|
| cell1 | cell2 | cell3 |
|
||||||
|
| cell4 | cell5 | cell6 |
|
||||||
|
|=====
|
||||||
|
| Foot1 | Foot2 | Foot3
|
||||||
|
{: rules="groups"}
|
||||||
|
|
||||||
|
## Code Snippets
|
||||||
|
|
||||||
|
```css
|
||||||
|
#container {
|
||||||
|
float: left;
|
||||||
|
margin: 0 -240px 0 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Buttons
|
||||||
|
|
||||||
|
Make any link standout more when applying the `.btn` class.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<a href="#" class="btn btn--success">Success Button</a>
|
||||||
|
```
|
||||||
|
|
||||||
|
<div markdown="0"><a href="#" class="btn">Primary Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--success">Success Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--warning">Warning Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--danger">Danger Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--info">Info Button</a></div>
|
||||||
|
|
||||||
|
## Notices
|
||||||
|
|
||||||
|
**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph.
|
||||||
|
{: .notice}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
@@ -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.11.2"
|
spec.version = "4.12.0"
|
||||||
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.}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.11.2",
|
"version": "4.12.0",
|
||||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ intro:
|
|||||||
- excerpt: 'Nullam suscipit et nam, tellus velit pellentesque at malesuada, enim eaque. Quis nulla, netus tempor in diam gravida tincidunt, *proin faucibus* voluptate felis id sollicitudin. Centered with `type="center"`'
|
- excerpt: 'Nullam suscipit et nam, tellus velit pellentesque at malesuada, enim eaque. Quis nulla, netus tempor in diam gravida tincidunt, *proin faucibus* voluptate felis id sollicitudin. Centered with `type="center"`'
|
||||||
feature_row:
|
feature_row:
|
||||||
- image_path: assets/images/unsplash-gallery-image-1-th.jpg
|
- image_path: assets/images/unsplash-gallery-image-1-th.jpg
|
||||||
|
image_caption: "Image courtesy of [Unsplash](https://unsplash.com/)"
|
||||||
alt: "placeholder image 1"
|
alt: "placeholder image 1"
|
||||||
title: "Placeholder 1"
|
title: "Placeholder 1"
|
||||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
|||||||
@@ -0,0 +1,93 @@
|
|||||||
|
---
|
||||||
|
title: "Layout: Post with Sticky Table Of Contents"
|
||||||
|
tags:
|
||||||
|
- table of contents
|
||||||
|
toc: true
|
||||||
|
toc_sticky: true
|
||||||
|
---
|
||||||
|
|
||||||
|
"Stick" table of contents to the top of a page by adding `toc_sticky: true` to its YAML Front Matter.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
toc: true
|
||||||
|
toc_sticky: true
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
## HTML Elements
|
||||||
|
|
||||||
|
Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
|
||||||
|
|
||||||
|
## Body text
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, test link adipiscing elit. **This is strong**. Nullam dignissim convallis est. Quisque aliquam.
|
||||||
|
|
||||||
|

|
||||||
|
{: .image-right}
|
||||||
|
|
||||||
|
*This is emphasized*. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (That’s a citation). Underline.Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.
|
||||||
|
|
||||||
|
HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.
|
||||||
|
|
||||||
|
### Blockquotes
|
||||||
|
|
||||||
|
> Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam.
|
||||||
|
|
||||||
|
## List Types
|
||||||
|
|
||||||
|
### Ordered Lists
|
||||||
|
|
||||||
|
1. Item one
|
||||||
|
1. sub item one
|
||||||
|
2. sub item two
|
||||||
|
3. sub item three
|
||||||
|
2. Item two
|
||||||
|
|
||||||
|
### Unordered Lists
|
||||||
|
|
||||||
|
* Item one
|
||||||
|
* Item two
|
||||||
|
* Item three
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
|
||||||
|
| Header1 | Header2 | Header3 |
|
||||||
|
|:--------|:-------:|--------:|
|
||||||
|
| cell1 | cell2 | cell3 |
|
||||||
|
| cell4 | cell5 | cell6 |
|
||||||
|
|----
|
||||||
|
| cell1 | cell2 | cell3 |
|
||||||
|
| cell4 | cell5 | cell6 |
|
||||||
|
|=====
|
||||||
|
| Foot1 | Foot2 | Foot3
|
||||||
|
{: rules="groups"}
|
||||||
|
|
||||||
|
## Code Snippets
|
||||||
|
|
||||||
|
```css
|
||||||
|
#container {
|
||||||
|
float: left;
|
||||||
|
margin: 0 -240px 0 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Buttons
|
||||||
|
|
||||||
|
Make any link standout more when applying the `.btn` class.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<a href="#" class="btn btn--success">Success Button</a>
|
||||||
|
```
|
||||||
|
|
||||||
|
<div markdown="0"><a href="#" class="btn">Primary Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--success">Success Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--warning">Warning Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--danger">Danger Button</a></div>
|
||||||
|
<div markdown="0"><a href="#" class="btn btn--info">Info Button</a></div>
|
||||||
|
|
||||||
|
## Notices
|
||||||
|
|
||||||
|
**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph.
|
||||||
|
{: .notice}
|
||||||
Reference in New Issue
Block a user