Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9d9dc11bf | ||
|
|
b600046247 | ||
|
|
b59d53e34b | ||
|
|
ba4a07d771 | ||
|
|
ecf22d2d38 | ||
|
|
be68ed4259 | ||
|
|
ed533591d0 | ||
|
|
264bc75963 | ||
|
|
d98808385f | ||
|
|
f711708abe | ||
|
|
3598e8ebf2 | ||
|
|
1c0f19158d | ||
|
|
63e2226054 | ||
|
|
fd2cc8ea53 | ||
|
|
46ad2cf4d4 | ||
|
|
344d52f4c6 | ||
|
|
6efa23ebd9 | ||
|
|
61bad6d0aa | ||
|
|
4f54154ee5 | ||
|
|
cd8fd82587 | ||
|
|
6fee80f754 | ||
|
|
176f972418 | ||
|
|
d90a3d521a | ||
|
|
ed840e9809 | ||
|
|
a86af6d6dc | ||
|
|
97387fa59a | ||
|
|
0ec52b57ce | ||
|
|
637d113179 | ||
|
|
fb9f13c624 | ||
|
|
3b65f1de8d | ||
|
|
474ed73228 | ||
|
|
cf9ac441bb | ||
|
|
b6ff1e5ce0 | ||
|
|
aa960cc57c | ||
|
|
a56161cc78 | ||
|
|
952a099313 | ||
|
|
f64b5f14d3 | ||
|
|
6993b9aac8 | ||
|
|
ba7e8e16c3 | ||
|
|
b75b33ed1a | ||
|
|
5de9991999 | ||
|
|
1be03e6335 | ||
|
|
527d187e82 | ||
|
|
8d5429bcc0 | ||
|
|
ca779e74cb | ||
|
|
046d93d05b | ||
|
|
f349dff2ee | ||
|
|
e305cc79f1 | ||
|
|
6b66bbe914 | ||
|
|
d200fb509d | ||
|
|
7d48f1cae1 | ||
|
|
c24aae3fad | ||
|
|
3c3634fe2c | ||
|
|
20e1c5953a | ||
|
|
51544d5c62 | ||
|
|
8fc3692e21 | ||
|
|
7de9152d0f | ||
|
|
614b6bdf92 | ||
|
|
a8d7bf2237 | ||
|
|
2691067e17 | ||
|
|
58b0f45c59 | ||
|
|
49d09c6c5b | ||
|
|
bbf3cbc5fd | ||
|
|
e8d9b18d17 | ||
|
|
1976b564e8 | ||
|
|
9634bb84fb | ||
|
|
6e0ef33ec7 | ||
|
|
cab1e50f50 | ||
|
|
7bc9e5a47b | ||
|
|
8a8235f8d7 | ||
|
|
b865158151 | ||
|
|
32a2e9d104 |
@@ -7,8 +7,9 @@
|
||||
-->
|
||||
|
||||
- [ ] This is a question about using the theme.
|
||||
- [ ] This is a feature request.
|
||||
- [ ] This is a feature request or enhancement.
|
||||
- [ ] I believe this to be a bug with the theme.
|
||||
- [ ] I am using the latest version of the theme.
|
||||
- [ ] I have updated all gems with `bundle update`.
|
||||
- [ ] I have tested locally with `bundle exec jekyll build`.
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ daysUntilClose: 7
|
||||
exemptLabels:
|
||||
- "Status: Accepted"
|
||||
- "Status: Under Consideration"
|
||||
- "Status: Review Needed"
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: "Status: Stale"
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
_reset.scss
|
||||
*.md
|
||||
@@ -1,3 +1,33 @@
|
||||
## [4.9.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1)
|
||||
|
||||
### Enhancements
|
||||
|
||||
* Simplify year archive Liquid.
|
||||
* Add documentation on how to downgrade theme.
|
||||
* Improve greedy navigation's layout when JavaScript is disabled.
|
||||
* Improve SEO include by grouping similar tags, reducing white-space, and adding `article:modified_time`. [#1456](https://github.com/mmistakes/minimal-mistakes/pull/1456)
|
||||
* Minify `assets/js/lunr/lunr.js`.
|
||||
* Improve calculation of Greedy navigation's `availableSpace`.
|
||||
* Add Danish and Russian translations for new search strings. [#1472](https://github.com/mmistakes/minimal-mistakes/pull/1472) [#1477](https://github.com/mmistakes/minimal-mistakes/pull/1477)
|
||||
* Indicate that archive title's are links with an underline.
|
||||
* Remove `base_path` include from `/test` pages.
|
||||
* Reduce font-size of page meta in list/grid items.
|
||||
* Improve feature row styling when used with `archive` layout. [#1484](https://github.com/mmistakes/minimal-mistakes/issues/1484)
|
||||
* Improve German translations. [#1511](https://github.com/mmistakes/minimal-mistakes/pull/1511)
|
||||
* Update Font Awesome to `5.0.6`. [#1513](https://github.com/mmistakes/minimal-mistakes/pull/1513)
|
||||
* Add `wide` variant to single layout. [#1516](https://github.com/mmistakes/minimal-mistakes/pull/1516)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Allow `author` to accept an object or string. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
|
||||
* Fix syntax highlighting line number styling inconsistency. [#1467](https://github.com/mmistakes/minimal-mistakes/issues/1467)
|
||||
* Fix author sidebar icon colors for dark skins. [#1482](https://github.com/mmistakes/minimal-mistakes/issues/1482)
|
||||
* Remove misleading underline hover state on feature row items.
|
||||
* Properly escape quotes in `site.social.name` and `site.name`. [#1485](https://github.com/mmistakes/minimal-mistakes/pull/1485)
|
||||
* Fix typo in upgrading documentation. [#1487](https://github.com/mmistakes/minimal-mistakes/pull/1487)
|
||||
* Fix `border-bottom` for Gist line numbers.
|
||||
* Replace `|` with HTML entity when used as title separator. [#760](https://github.com/mmistakes/minimal-mistakes/issues/760)
|
||||
|
||||
## [4.9.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.0)
|
||||
|
||||
### Enhancements
|
||||
|
||||
@@ -57,3 +57,7 @@ GreedyNav.js is distributed under the terms of the [MIT License](http://opensour
|
||||
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
|
||||
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
|
||||
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
||||
Copyright (c) 2017 Oliver Nightingale.
|
||||
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
@@ -167,6 +167,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
||||
- [FitVids.JS](http://fitvidsjs.com/)
|
||||
- [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
|
||||
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
||||
- [Lunr](http://lunrjs.com)
|
||||
|
||||
---
|
||||
|
||||
@@ -235,3 +236,7 @@ Jekyll Group-By-Array is distributed under the terms of the [MIT License](http:/
|
||||
Minimal Mistakes incorporates [@allejo's Pure Liquid Jekyll Table of Contents](https://allejo.io/blog/a-jekyll-toc-in-liquid-only/),
|
||||
Copyright (c) 2017 Vladimir Jimenez.
|
||||
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
||||
Copyright (c) 2017 Oliver Nightingale.
|
||||
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
@@ -403,9 +403,9 @@ de: &DEFAULT_DE
|
||||
page : "Seite"
|
||||
pagination_previous : "Vorherige"
|
||||
pagination_next : "Nächste"
|
||||
breadcrumb_home_label : "Home"
|
||||
breadcrumb_home_label : "Start"
|
||||
breadcrumb_separator : "/"
|
||||
menu_label :
|
||||
menu_label : "Menü ein-/ausschalten"
|
||||
toc_label : "Auf dieser Seite"
|
||||
ext_link_label : "Direkter Link"
|
||||
less_than : "weniger als"
|
||||
@@ -415,13 +415,13 @@ de: &DEFAULT_DE
|
||||
tags_label : "Tags:"
|
||||
categories_label : "Kategorien:"
|
||||
date_label : "Aktualisiert:"
|
||||
comments_label : "Hinterlassen sie einen Kommentar"
|
||||
comments_label : "Hinterlassen Sie einen Kommentar"
|
||||
comments_title : "Kommentare"
|
||||
more_label : "Mehr anzeigen"
|
||||
related_label : "Ihnen gefällt vielleicht auch"
|
||||
follow_label : "Folgen:"
|
||||
feed_label : "Feed"
|
||||
powered_by : "Powered by"
|
||||
powered_by : "Möglich durch"
|
||||
website_label : "Webseite"
|
||||
email_label : "E-Mail"
|
||||
recent_posts : "Aktuelle Beiträge"
|
||||
@@ -430,12 +430,12 @@ de: &DEFAULT_DE
|
||||
comment_form_comment_label : "Kommentar"
|
||||
comment_form_md_info : "Markdown wird unterstützt."
|
||||
comment_form_name_label : "Name"
|
||||
comment_form_email_label : "E-Mail Addresse"
|
||||
comment_form_email_label : "E-Mail-Addresse"
|
||||
comment_form_website_label : "Webseite (optional)"
|
||||
comment_btn_submit : "Kommentar absenden"
|
||||
comment_btn_submitted : "Versendet"
|
||||
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
|
||||
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut."
|
||||
comment_success_msg : "Danke für Ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
|
||||
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen Sie alle benötigten Felder aus und versuchen Sie es erneut."
|
||||
loading_label : "Lade..."
|
||||
de-DE:
|
||||
<<: *DEFAULT_DE
|
||||
@@ -576,6 +576,8 @@ ru: &DEFAULT_RU
|
||||
comment_success_msg : "Спасибо за Ваш комментарий! Он будет опубликован на сайте после проверки."
|
||||
comment_error_msg : "К сожалению, произошла ошибка с отправкой комментария. Пожалуйста, убедитесь, что все обязательные поля заполнены и попытайтесь снова."
|
||||
loading_label : "Отправка..."
|
||||
search_placeholder_text : "Введите поисковый запрос..."
|
||||
results_found : "Найдено"
|
||||
ru-RU:
|
||||
<<: *DEFAULT_RU
|
||||
|
||||
@@ -883,6 +885,8 @@ da: &DEFAULT_DA
|
||||
comment_success_msg : "Tak for din kommentar! Den bliver vist på siden, så snart den er godkendt."
|
||||
comment_error_msg : "Desværre skete der en fejl. Prøv igen, mens du sørger for at alle obligatoriske felter er udfyldt."
|
||||
loading_label : "Indlæser..."
|
||||
search_placeholder_text : "Hvad leder du efter..."
|
||||
results_found : "Resultat(er) fundet"
|
||||
da-DK:
|
||||
<<: *DEFAULT_DA
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{% if page.author and site.data.authors[page.author] %}
|
||||
{% assign author = site.data.authors[page.author] %}
|
||||
{% else %}
|
||||
{% assign author = site.author %}
|
||||
{% endif %}
|
||||
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
||||
{% assign author = site.data.authors[author] | default: author %}
|
||||
|
||||
<div itemscope itemtype="http://schema.org/Person">
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</svg>
|
||||
</button>
|
||||
{% endif %}
|
||||
<button class="greedy-nav__toggle" type="button">
|
||||
<button class="greedy-nav__toggle hidden" type="button">
|
||||
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
|
||||
<div class="navicon"></div>
|
||||
</button>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
|
||||
<script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
||||
{% endif %}
|
||||
|
||||
{% if site.search == true or page.layout == "search" %}
|
||||
@@ -20,9 +20,9 @@
|
||||
{% else %}
|
||||
{% assign lang = "en" %}
|
||||
{% endcase %}
|
||||
<script defer src="{{ '/assets/js/lunr/lunr.min.js' | absolute_url }}"></script>
|
||||
<script defer src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
||||
<script defer src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
|
||||
<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 %}
|
||||
|
||||
{% include analytics.html %}
|
||||
|
||||
@@ -1,76 +1,81 @@
|
||||
<!-- begin SEO -->
|
||||
{% if site.url %}
|
||||
{% assign seo_url = site.url | append: site.baseurl %}
|
||||
{% endif %}
|
||||
{% assign seo_url = seo_url | default: site.github.url %}
|
||||
<!-- begin _includes/seo.html -->
|
||||
{%- if site.url -%}
|
||||
{%- assign seo_url = site.url | append: site.baseurl -%}
|
||||
{%- endif -%}
|
||||
{%- assign seo_url = seo_url | default: site.github.url -%}
|
||||
|
||||
{% if page.title %}
|
||||
{% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
|
||||
{% if site.title_separator %}
|
||||
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
|
||||
{% endif %}
|
||||
|
||||
{% if seo_title %}
|
||||
{% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
|
||||
{% endif %}
|
||||
{%- if page.title -%}
|
||||
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
|
||||
{%- endif -%}
|
||||
|
||||
{% if site.url %}
|
||||
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
|
||||
{% endif %}
|
||||
{%- if seo_title -%}
|
||||
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||
{%- endif -%}
|
||||
|
||||
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
||||
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
|
||||
|
||||
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
|
||||
{% if seo_description %}
|
||||
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
|
||||
{% endif %}
|
||||
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
||||
{%- if seo_description -%}
|
||||
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
|
||||
{%- assign author = site.data.authors[author] | default: author -%}
|
||||
|
||||
{%- if author.twitter -%}
|
||||
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
|
||||
{%- unless page_large_image contains '://' -%}
|
||||
{%- assign page_large_image = page_large_image | absolute_url -%}
|
||||
{%- endunless -%}
|
||||
{%- assign page_large_image = page_large_image | escape -%}
|
||||
|
||||
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
|
||||
{%- unless page_teaser_image contains '://' -%}
|
||||
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
|
||||
{%- endunless -%}
|
||||
{%- assign page_teaser_image = page_teaser_image | escape -%}
|
||||
|
||||
{%- assign site_og_image = site.og_image -%}
|
||||
{%- unless site_og_image contains '://' -%}
|
||||
{%- assign site_og_image = site_og_image | absolute_url -%}
|
||||
{%- endunless -%}
|
||||
{%- assign site_og_image = site_og_image | escape -%}
|
||||
|
||||
{%- if page.date -%}
|
||||
{%- assign og_type = "article" -%}
|
||||
{%- else -%}
|
||||
{%- assign og_type = "website" -%}
|
||||
{%- endif -%}
|
||||
|
||||
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
||||
<meta name="description" content="{{ seo_description }}">
|
||||
|
||||
{% assign seo_author = page.author | default: page.author[0] | default: site.author.name %}
|
||||
{% if seo_author %}
|
||||
{% if seo_author.twitter %}
|
||||
{% assign seo_author_twitter = seo_author.twitter %}
|
||||
{% else %}
|
||||
{% if site.data.authors and site.data.authors[seo_author] %}
|
||||
{% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
|
||||
{% else %}
|
||||
{% assign seo_author_twitter = seo_author %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
|
||||
{% if author.name %}
|
||||
<meta name="author" content="{{ author.name | default: author }}">
|
||||
{% endif %}
|
||||
|
||||
<meta name="author" content="{{ seo_author }}">
|
||||
|
||||
<meta property="og:type" content="{{ og_type }}">
|
||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||
|
||||
{% if seo_url %}
|
||||
<link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
|
||||
<meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
|
||||
{% endif %}
|
||||
<meta property="og:url" content="{{ canonical_url }}">
|
||||
|
||||
{% if page.excerpt %}
|
||||
<meta property="og:description" content="{{ seo_description }}">
|
||||
{% endif %}
|
||||
|
||||
{% assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image %}
|
||||
{% unless page_large_image contains '://' %}
|
||||
{% assign page_large_image = page_large_image | absolute_url %}
|
||||
{% endunless %}
|
||||
{% assign page_large_image = page_large_image | escape %}
|
||||
|
||||
{% assign page_teaser_image = page.header.teaser | default: site.og_image %}
|
||||
{% unless page_teaser_image contains '://' %}
|
||||
{% assign page_teaser_image = page_teaser_image | absolute_url %}
|
||||
{% endunless %}
|
||||
{% assign page_teaser_image = page_teaser_image | escape %}
|
||||
|
||||
{% assign site_og_image = site.og_image %}
|
||||
{% unless site_og_image contains '://' %}
|
||||
{% assign site_og_image = site_og_image | absolute_url %}
|
||||
{% endunless %}
|
||||
{% assign site_og_image = site_og_image | escape %}
|
||||
{% if page_large_image %}
|
||||
<meta property="og:image" content="{{ page_large_image }}">
|
||||
{% elsif page_teaser_image %}
|
||||
<meta property="og:image" content="{{ page_teaser_image }}">
|
||||
{% endif %}
|
||||
|
||||
{% if site.twitter.username %}
|
||||
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
|
||||
@@ -88,11 +93,19 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if seo_author_twitter %}
|
||||
<meta name="twitter:creator" content="@{{ seo_author_twitter }}">
|
||||
{% if author_twitter %}
|
||||
<meta name="twitter:creator" content="@{{ author_twitter }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||
{% endif %}
|
||||
|
||||
{% if og_type == "article" and page.last_modified_at %}
|
||||
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
|
||||
{% endif %}
|
||||
|
||||
{% if site.facebook %}
|
||||
{% if site.facebook.publisher %}
|
||||
<meta property="article:publisher" content="{{ site.facebook.publisher }}">
|
||||
@@ -103,22 +116,13 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if page_large_image %}
|
||||
<meta property="og:image" content="{{ page_large_image }}">
|
||||
{% elsif page_teaser_image %}
|
||||
<meta property="og:image" content="{{ page_teaser_image }}">
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||
{% endif %}
|
||||
<link rel="canonical" href="{{ canonical_url }}">
|
||||
|
||||
{% if paginator.previous_page %}
|
||||
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
|
||||
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
|
||||
{% endif %}
|
||||
{% if paginator.next_page %}
|
||||
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
|
||||
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
||||
{% endif %}
|
||||
|
||||
{% if site.og_image %}
|
||||
@@ -135,11 +139,11 @@
|
||||
{% if site.social %}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context" : "http://schema.org",
|
||||
"@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
|
||||
"name" : "{{ site.social.name | default: site.name }}",
|
||||
"url" : {{ seo_url | jsonify }},
|
||||
"sameAs" : {{ site.social.links | jsonify }}
|
||||
"@context": "http://schema.org",
|
||||
"@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
|
||||
"name": {{ site.social.name | default: site.name | jsonify }},
|
||||
"url": {{ seo_url | jsonify }},
|
||||
"sameAs": {{ site.social.links | jsonify }}
|
||||
}
|
||||
</script>
|
||||
{% endif %}
|
||||
@@ -159,4 +163,4 @@
|
||||
{% if site.naver-site-verification %}
|
||||
<meta name="naver-site-verification" content="{{ site.naver-site-verification }}">
|
||||
{% endif %}
|
||||
<!-- end SEO -->
|
||||
<!-- end _includes/seo.html -->
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<!doctype html>
|
||||
<!--
|
||||
Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
|
||||
Minimal Mistakes Jekyll Theme 4.9.1 by Michael Rose
|
||||
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||
Free for personal and commercial use under the MIT license
|
||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
|
||||
* Minimal Mistakes Jekyll Theme 4.9.1 by Michael Rose
|
||||
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
||||
*/
|
||||
|
||||
@@ -15,11 +15,6 @@
|
||||
width: calc(100% - #{$right-sidebar-width});
|
||||
padding-right: $right-sidebar-width;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.archive__subtitle {
|
||||
@@ -41,6 +36,10 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
a + a {
|
||||
opacity: 0.5;
|
||||
}
|
||||
@@ -71,16 +70,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item:hover {
|
||||
.archive__item-teaser {
|
||||
box-shadow: 0 0 10px rgba(#000, 0.25);
|
||||
}
|
||||
|
||||
.archive__item-title {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
List view
|
||||
========================================================================== */
|
||||
@@ -88,6 +77,7 @@
|
||||
.list__item {
|
||||
.page__meta {
|
||||
margin: 0 0 4px;
|
||||
font-size: 0.6em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -158,6 +148,7 @@
|
||||
|
||||
.page__meta {
|
||||
margin: 0 0 4px;
|
||||
font-size: 0.6em;
|
||||
}
|
||||
|
||||
.archive__item-title {
|
||||
@@ -308,3 +299,21 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Place inside an archive layout */
|
||||
|
||||
.archive {
|
||||
.feature__wrapper {
|
||||
.archive__item-title {
|
||||
margin-top: 0.25em;
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.feature__item,
|
||||
.feature__item--left,
|
||||
.feature__item--center,
|
||||
.feature__item--right {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -309,6 +309,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
.no-js {
|
||||
.greedy-nav {
|
||||
.visible-links {
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Navigation list
|
||||
========================================================================== */
|
||||
|
||||
@@ -424,3 +424,29 @@
|
||||
font-size: $type-size-6;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/*
|
||||
Wide Pages
|
||||
========================================================================== */
|
||||
|
||||
.wide {
|
||||
.page {
|
||||
@include breakpoint($large) {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@include breakpoint($x-large) {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.page__related {
|
||||
@include breakpoint($large) {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@include breakpoint($x-large) {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -272,3 +272,26 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Wide Pages
|
||||
========================================================================== */
|
||||
|
||||
.wide .sidebar__right {
|
||||
margin-bottom: 1em;
|
||||
@include breakpoint($large) {
|
||||
position: initial;
|
||||
top: initial;
|
||||
right: initial;
|
||||
width: initial;
|
||||
margin-right: initial;
|
||||
padding-left: initial;
|
||||
z-index: initial;
|
||||
}
|
||||
|
||||
@include breakpoint($x-large) {
|
||||
width: initial;
|
||||
margin-right: initial;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,8 @@ figure.highlight {
|
||||
border: 0;
|
||||
|
||||
/* line numbers*/
|
||||
&.gutter {
|
||||
&.gutter,
|
||||
&.rouge-gutter {
|
||||
padding-right: 1em;
|
||||
width: 1em;
|
||||
color: $base04;
|
||||
@@ -40,7 +41,8 @@ figure.highlight {
|
||||
}
|
||||
|
||||
/* code */
|
||||
&.code {
|
||||
&.code,
|
||||
&.rouge-code {
|
||||
padding-left: 1em;
|
||||
}
|
||||
}
|
||||
@@ -314,3 +316,9 @@ figure.highlight {
|
||||
color: $base09;
|
||||
}
|
||||
}
|
||||
|
||||
.gist {
|
||||
th, td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
@@ -36,6 +36,7 @@ $base0d: #3777e6 !default;
|
||||
$base0e: #ad00a1 !default;
|
||||
$base0f: #cc6633 !default;
|
||||
|
||||
.author__urls.social-icons .svg-inline--fa,
|
||||
.page__footer-follow .social-icons .svg-inline--fa {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ $base0d: #3777e6 !default;
|
||||
$base0e: #ad00a1 !default;
|
||||
$base0f: #cc6633 !default;
|
||||
|
||||
.author__urls.social-icons .fa,
|
||||
.author__urls.social-icons .svg-inline--fa,
|
||||
.page__footer-follow .social-icons .svg-inline--fa {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ $base0d: #3777e6 !default;
|
||||
$base0e: #ad00a1 !default;
|
||||
$base0f: #cc6633 !default;
|
||||
|
||||
.author__urls.social-icons .fa,
|
||||
.author__urls.social-icons .svg-inline--fa,
|
||||
.page__footer-follow .social-icons .svg-inline--fa {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ $(document).ready(function() {
|
||||
|
||||
function check() {
|
||||
// Get instant state
|
||||
availableSpace = $vlinks.width() - 10;
|
||||
availableSpace = $vlinks.width() - $btn.width();
|
||||
numOfVisibleItems = $vlinks.children().length;
|
||||
requiredSpace = breakWidths[numOfVisibleItems - 1];
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ gem "github-pages", group: :jekyll_plugins
|
||||
|
||||
gem "tzinfo-data"
|
||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||
gem "jekyll-remote-theme"
|
||||
|
||||
# If you have any plugins, put them here!
|
||||
# group :jekyll_plugins do
|
||||
|
||||
@@ -273,7 +273,6 @@ plugins:
|
||||
- jekyll-gist
|
||||
- jekyll-feed
|
||||
- jemoji
|
||||
- jekyll-remote-theme
|
||||
|
||||
# mimic GitHub Pages with --safe
|
||||
whitelist:
|
||||
@@ -282,7 +281,6 @@ whitelist:
|
||||
- jekyll-gist
|
||||
- jekyll-feed
|
||||
- jemoji
|
||||
- jekyll-remote-theme
|
||||
|
||||
|
||||
# Archives
|
||||
|
||||
@@ -576,6 +576,8 @@ ru: &DEFAULT_RU
|
||||
comment_success_msg : "Спасибо за Ваш комментарий! Он будет опубликован на сайте после проверки."
|
||||
comment_error_msg : "К сожалению, произошла ошибка с отправкой комментария. Пожалуйста, убедитесь, что все обязательные поля заполнены и попытайтесь снова."
|
||||
loading_label : "Отправка..."
|
||||
search_placeholder_text : "Введите поисковый запрос..."
|
||||
results_found : "Найдено"
|
||||
ru-RU:
|
||||
<<: *DEFAULT_RU
|
||||
|
||||
@@ -883,6 +885,8 @@ da: &DEFAULT_DA
|
||||
comment_success_msg : "Tak for din kommentar! Den bliver vist på siden, så snart den er godkendt."
|
||||
comment_error_msg : "Desværre skete der en fejl. Prøv igen, mens du sørger for at alle obligatoriske felter er udfyldt."
|
||||
loading_label : "Indlæser..."
|
||||
search_placeholder_text : "Hvad leder du efter..."
|
||||
results_found : "Resultat(er) fundet"
|
||||
da-DK:
|
||||
<<: *DEFAULT_DA
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ Run `bundle update` and verify that all gems install properly.
|
||||
|
||||
Add `remote_theme: "mmistakes/minimal-mistakes"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||
|
||||
You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). If you don't specify a Git ref, the master branch will be used.
|
||||
|
||||
---
|
||||
|
||||
**Note:** Your Jekyll site should be viewable immediately at <http://USERNAME.github.io>. If it's not, you can force a rebuild by **Customizing Your Site** (see below for more details).
|
||||
|
||||
@@ -2,14 +2,49 @@
|
||||
title: "Upgrading"
|
||||
permalink: /docs/upgrading/
|
||||
excerpt: "Instructions and suggestions for upgrading the theme."
|
||||
last_modified_at: 2016-11-03T10:16:34-04:00
|
||||
last_modified_at: 2018-01-08T20:10:30-05:00
|
||||
toc: true
|
||||
---
|
||||
|
||||
If you're using the Ruby Gem version of the theme upgrading is fairly painless.
|
||||
If you're using the [Ruby Gem]({{ "/docs/quick-start-guide/#ruby-gem-method" | absolute_url }}) or [remote theme]({{ "/docs/quick-start-guide/#github-pages-method" | absolute_url }}) versions of Minimal Mistakes, upgrading is fairly painless.
|
||||
|
||||
To check which version you are currently using, view the source of your built site and you should see something similar to:
|
||||
|
||||
```
|
||||
<!--
|
||||
Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
|
||||
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||
Free for personal and commercial use under the MIT license
|
||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
||||
-->
|
||||
```
|
||||
|
||||
At the top of every `.html` file, `/assets/css/main.css`, and `/assets/js/main.min.js`.
|
||||
|
||||
## Ruby Gem
|
||||
|
||||
Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem update minimal-mistakes-jekyll` if you're not.
|
||||
|
||||
When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`:
|
||||
|
||||
```ruby
|
||||
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.9.0"
|
||||
```
|
||||
|
||||
For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.
|
||||
|
||||
## Remote Theme
|
||||
|
||||
When setting `remote_theme: "mmistakes/minimal-mistakes"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
|
||||
|
||||
For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`).
|
||||
|
||||
To update the theme on GitHub Pages you'll need to push up a commit to force a rebuild. An empty commit works well if you don't have anything to push at the moment:
|
||||
|
||||
```terminal
|
||||
git commit --allow-empty -m "Force rebuild of site"
|
||||
```
|
||||
|
||||
## Use Git
|
||||
|
||||
If you want to get the most out of the Jekyll + GitHub Pages workflow, then you'll need to utilize Git. To pull down theme updates you must first ensure there's an upstream remote. If you forked the theme's repo then you're likely good to go.
|
||||
@@ -18,16 +53,16 @@ To double check, run `git remote -v` and verify that you can fetch from `origin
|
||||
|
||||
To add it you can do the following:
|
||||
|
||||
```bash
|
||||
$ git remote add upstream https://github.com/{{ site.repository }}.git
|
||||
```terminal
|
||||
git remote add upstream https://github.com/{{ site.repository }}.git
|
||||
```
|
||||
|
||||
### Pull Down Updates
|
||||
|
||||
Now you can pull any commits made to theme's `master` branch with:
|
||||
|
||||
```bash
|
||||
$ git pull upstream master
|
||||
```terminal
|
||||
git pull upstream master
|
||||
```
|
||||
|
||||
Depending on the amount of customizations you've made after forking, there's likely to be merge conflicts. Work through any conflicting files Git flags, staging the changes you wish to keep, and then commit them.
|
||||
@@ -47,3 +82,8 @@ Here's a quick checklist of the important folders/files you'll want to be mindfu
|
||||
| `_data/navigation.yml` | Safe to keep. Verify that there were no major structural changes or additions. |
|
||||
| `_data/ui-text.yml` | Safe to keep. Verify that there were no major structural changes or additions. |
|
||||
| `_config.yml` | Safe to keep. Verify that there were no major structural changes or additions. |
|
||||
|
||||
---
|
||||
|
||||
**Note:** If you're not seeing the latest version, be sure to flush browser and CDN caches. Depending on your hosting environment older versions of `/assets/css/main.css`, `/assets/js/main.min.js`, or `*.html` may be cached.
|
||||
{: .notice--info}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: "Configuration"
|
||||
permalink: /docs/configuration/
|
||||
excerpt: "Settings for configuring and customizing the theme."
|
||||
last_modified_at: 2018-01-04T20:29:29-05:00
|
||||
last_modified_at: 2018-02-01T14:40:00-05:00
|
||||
toc: true
|
||||
---
|
||||
|
||||
@@ -482,7 +482,7 @@ To index the full content of your documents set `search_full_content` to `true`
|
||||
search_full_content: true
|
||||
```
|
||||
|
||||
**Note:** If you have length posts or a large amount of them the size of search index could impact page load performance. Setting `search_full_content` back to `false` (the default) restricts indexing the first 50 words of post's and collection documents.
|
||||
**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.
|
||||
{: .notice--warning}
|
||||
|
||||
### SEO, Social Sharing, and Analytics Settings
|
||||
|
||||
@@ -80,11 +80,23 @@ The layout you'll likely use the most --- sidebar and main content combo.
|
||||
* Optional social sharing links module
|
||||
* Optional comments module
|
||||
* Optional related posts module
|
||||
* Wide page variant
|
||||
|
||||
{% include gallery id="single_layout_gallery" caption="Image header and meta info examples for `single` layout" %}
|
||||
|
||||
Assign with `layout: single`, or better yet apply as a [Front Matter default]({{ "/docs/configuration/#front-matter-defaults" | absolute_url }}) in `_config.yml`.
|
||||
|
||||
### Wide Page
|
||||
|
||||
To expand the main content to the right, filling the space of what is normally occupied by the table of contents. Add the following to a post or page's YAML Front Matter:
|
||||
|
||||
```yaml
|
||||
classes: wide
|
||||
```
|
||||
|
||||
**Note:** If the page contains a table of contents, it will no longer appear to the right. Instead it will be forced into the main content container directly following the page's title.
|
||||
{: .notice--info}
|
||||
|
||||
### Table of Contents
|
||||
|
||||
Auto-generated table of contents list for your posts and pages can be enabled by adding `toc: true` to the YAML Front Matter.
|
||||
|
||||
@@ -30,10 +30,10 @@ feature_row:
|
||||
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||
title: "Placeholder 3"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
last_modified_at: 2018-01-03T11:30:42-05:00
|
||||
last_modified_at: 2018-01-09T14:26:13-05:00
|
||||
toc: true
|
||||
toc_label: "Helpers"
|
||||
toc_icon: "gears"
|
||||
toc_icon: "cogs"
|
||||
---
|
||||
|
||||
You can think of these Jekyll helpers as little shortcuts. Since GitHub Pages doesn't allow most plugins --- [custom tags](https://jekyllrb.com/docs/plugins/#tags) are out. Instead the theme leverages [**includes**](https://jekyllrb.com/docs/templates/#includes) to do something similar.
|
||||
@@ -220,20 +220,20 @@ header:
|
||||
|
||||
### Vimeo
|
||||
|
||||
To embed the following Vimeo video at url `https://vimeo.com/97649261` into a post or page's main content you'd use:
|
||||
To embed the following Vimeo video at url `https://vimeo.com/212731897` into a post or page's main content you'd use:
|
||||
|
||||
```liquid
|
||||
{% raw %}{% include video id="97649261" provider="vimeo" %}{% endraw %}
|
||||
{% raw %}{% include video id="212731897" provider="vimeo" %}{% endraw %}
|
||||
```
|
||||
|
||||
{% include video id="97649261" provider="vimeo" %}
|
||||
{% include video id="212731897" provider="vimeo" %}
|
||||
|
||||
To embed it as a video header you'd use the following YAML Front Matter
|
||||
|
||||
```yaml
|
||||
header:
|
||||
video:
|
||||
id: 97649261
|
||||
id: 212731897
|
||||
provider: vimeo
|
||||
```
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Stylesheets"
|
||||
permalink: /docs/stylesheets/
|
||||
excerpt: "Instructions for customizing and building the theme's stylesheets."
|
||||
last_modified_at: 2018-01-03T12:05:16-05:00
|
||||
last_modified_at: 2018-01-09T09:59:16-05:00
|
||||
toc: true
|
||||
---
|
||||
|
||||
The theme's `assets/css/main.css` file is built from several SCSS partials located in [`_sass/`](https://github.com/mmistakes/minimal-mistakes/tree/master/_sass) and is structured as follows:
|
||||
@@ -148,6 +149,204 @@ $type-size-8 : 0.625em; // ~10px
|
||||
|
||||
Change the mood of your site by altering a few color variables. `$body-color`, `$background-color`, `$text-color`, `$link-color`, and `$masthead-link-color` will have the most affect when changed.
|
||||
|
||||
#### Syntax Highlighting
|
||||
|
||||
To make customizing the colors used in code highlighted blocks, a base of sixteen colors ([Base16](http://chriskempson.com/projects/base16/)) have been used.
|
||||
|
||||
Code block colors can easily be changed by overriding any of the following color variables:
|
||||
|
||||
##### Default
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* default syntax highlighting (base16) */
|
||||
$base00: #263238;
|
||||
$base01: #2e3c43;
|
||||
$base02: #314549;
|
||||
$base03: #546e7a;
|
||||
$base04: #b2ccd6;
|
||||
$base05: #eeffff;
|
||||
$base06: #eeffff;
|
||||
$base07: #ffffff;
|
||||
$base08: #f07178;
|
||||
$base09: #f78c6c;
|
||||
$base0a: #ffcb6b;
|
||||
$base0b: #c3e88d;
|
||||
$base0c: #89ddff;
|
||||
$base0d: #82aaff;
|
||||
$base0e: #c792ea;
|
||||
$base0f: #ff5370;
|
||||
```
|
||||
|
||||
##### Solarized Light
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* solarized light syntax highlighting (base16) */
|
||||
$base00: #fafafa !default;
|
||||
$base01: #073642 !default;
|
||||
$base02: #586e75 !default;
|
||||
$base03: #657b83 !default;
|
||||
$base04: #839496 !default;
|
||||
$base05: #586e75 !default;
|
||||
$base06: #eee8d5 !default;
|
||||
$base07: #fdf6e3 !default;
|
||||
$base08: #dc322f !default;
|
||||
$base09: #cb4b16 !default;
|
||||
$base0a: #b58900 !default;
|
||||
$base0b: #859900 !default;
|
||||
$base0c: #2aa198 !default;
|
||||
$base0d: #268bd2 !default;
|
||||
$base0e: #6c71c4 !default;
|
||||
$base0f: #d33682 !default;
|
||||
```
|
||||
|
||||
##### Contrast
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* contrast syntax highlighting (base16) */
|
||||
$base00: #000000;
|
||||
$base01: #242422;
|
||||
$base02: #484844;
|
||||
$base03: #6c6c66;
|
||||
$base04: #918f88;
|
||||
$base05: #b5b3aa;
|
||||
$base06: #d9d7cc;
|
||||
$base07: #fdfbee;
|
||||
$base08: #ff6c60;
|
||||
$base09: #e9c062;
|
||||
$base0a: #ffffb6;
|
||||
$base0b: #a8ff60;
|
||||
$base0c: #c6c5fe;
|
||||
$base0d: #96cbfe;
|
||||
$base0e: #ff73fd;
|
||||
$base0f: #b18a3d;
|
||||
```
|
||||
|
||||
##### Dark
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* dark syntax highlighting (base16) */
|
||||
$base00: #ffffff;
|
||||
$base01: #e0e0e0;
|
||||
$base02: #d0d0d0;
|
||||
$base03: #b0b0b0;
|
||||
$base04: #000000;
|
||||
$base05: #101010;
|
||||
$base06: #151515;
|
||||
$base07: #202020;
|
||||
$base08: #ff0086;
|
||||
$base09: #fd8900;
|
||||
$base0a: #aba800;
|
||||
$base0b: #00c918;
|
||||
$base0c: #1faaaa;
|
||||
$base0d: #3777e6;
|
||||
$base0e: #ad00a1;
|
||||
$base0f: #cc6633;
|
||||
```
|
||||
|
||||
##### Dirt
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* dirt syntax highlighting (base16) */
|
||||
$base00: #231e18;
|
||||
$base01: #302b25;
|
||||
$base02: #48413a;
|
||||
$base03: #9d8b70;
|
||||
$base04: #b4a490;
|
||||
$base05: #cabcb1;
|
||||
$base06: #d7c8bc;
|
||||
$base07: #e4d4c8;
|
||||
$base08: #d35c5c;
|
||||
$base09: #ca7f32;
|
||||
$base0a: #e0ac16;
|
||||
$base0b: #b7ba53;
|
||||
$base0c: #6eb958;
|
||||
$base0d: #88a4d3;
|
||||
$base0e: #bb90e2;
|
||||
$base0f: #b49368;
|
||||
```
|
||||
|
||||
##### Neon
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* neon syntax highlighting (base16) */
|
||||
$base00: #ffffff;
|
||||
$base01: #e0e0e0;
|
||||
$base02: #d0d0d0;
|
||||
$base03: #b0b0b0;
|
||||
$base04: #000000;
|
||||
$base05: #101010;
|
||||
$base06: #151515;
|
||||
$base07: #202020;
|
||||
$base08: #ff0086;
|
||||
$base09: #fd8900;
|
||||
$base0a: #aba800;
|
||||
$base0b: #00c918;
|
||||
$base0c: #1faaaa;
|
||||
$base0d: #3777e6;
|
||||
$base0e: #ad00a1;
|
||||
$base0f: #cc6633;
|
||||
```
|
||||
|
||||
##### Plum
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* plum syntax highlighting (base16) */
|
||||
$base00: #ffffff;
|
||||
$base01: #e0e0e0;
|
||||
$base02: #d0d0d0;
|
||||
$base03: #b0b0b0;
|
||||
$base04: #000000;
|
||||
$base05: #101010;
|
||||
$base06: #151515;
|
||||
$base07: #202020;
|
||||
$base08: #ff0086;
|
||||
$base09: #fd8900;
|
||||
$base0a: #aba800;
|
||||
$base0b: #00c918;
|
||||
$base0c: #1faaaa;
|
||||
$base0d: #3777e6;
|
||||
$base0e: #ad00a1;
|
||||
$base0f: #cc6633;
|
||||
```
|
||||
|
||||
##### Sunrise
|
||||
|
||||

|
||||
|
||||
```scss
|
||||
/* sunrise syntax highlighting (base16) */
|
||||
$base00: #1d1f21;
|
||||
$base01: #282a2e;
|
||||
$base02: #373b41;
|
||||
$base03: #969896;
|
||||
$base04: #b4b7b4;
|
||||
$base05: #c5c8c6;
|
||||
$base06: #e0e0e0;
|
||||
$base07: #ffffff;
|
||||
$base08: #cc6666;
|
||||
$base09: #de935f;
|
||||
$base0a: #f0c674;
|
||||
$base0b: #b5bd68;
|
||||
$base0c: #8abeb7;
|
||||
$base0d: #81a2be;
|
||||
$base0e: #b294bb;
|
||||
$base0f: #a3685a;
|
||||
```
|
||||
|
||||
### Breakpoints and Grid Stuff
|
||||
|
||||
Probably won't need to touch these, but they're there if you need to. Width variables are used with the [`@include breakpoint()`](http://breakpoint-sass.com/) mixin to adapt the design of certain elements.
|
||||
|
||||
@@ -4,10 +4,40 @@ permalink: /docs/history/
|
||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||
sidebar:
|
||||
nav: docs
|
||||
last_modified_at: 2018-01-04T22:50:34-05:00
|
||||
last_modified_at: 2018-02-05T14:38:43-05:00
|
||||
toc: true
|
||||
---
|
||||
|
||||
## [4.9.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1)
|
||||
|
||||
### Enhancements
|
||||
|
||||
* Simplify year archive Liquid.
|
||||
* Add documentation on how to downgrade theme.
|
||||
* Improve greedy navigation's layout when JavaScript is disabled.
|
||||
* Improve SEO include by grouping similar tags, reducing white-space, and adding `article:modified_time`. [#1456](https://github.com/mmistakes/minimal-mistakes/pull/1456)
|
||||
* Minify `assets/js/lunr/lunr.js`.
|
||||
* Improve calculation of Greedy navigation's `availableSpace`.
|
||||
* Add Danish and Russian translations for new search strings. [#1472](https://github.com/mmistakes/minimal-mistakes/pull/1472) [#1477](https://github.com/mmistakes/minimal-mistakes/pull/1477)
|
||||
* Indicate that archive title's are links with an underline.
|
||||
* Remove `base_path` include from `/test` pages.
|
||||
* Reduce font-size of page meta in list/grid items.
|
||||
* Improve feature row styling when used with `archive` layout. [#1484](https://github.com/mmistakes/minimal-mistakes/issues/1484)
|
||||
* Improve German translations. [#1511](https://github.com/mmistakes/minimal-mistakes/pull/1511)
|
||||
* Update Font Awesome to `5.0.6`. [#1513](https://github.com/mmistakes/minimal-mistakes/pull/1513)
|
||||
* Add `wide` variant to single layout. [#1516](https://github.com/mmistakes/minimal-mistakes/pull/1516)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Allow `author` to accept an object or string. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
|
||||
* Fix syntax highlighting line number styling inconsistency. [#1467](https://github.com/mmistakes/minimal-mistakes/issues/1467)
|
||||
* Fix author sidebar icon colors for dark skins. [#1482](https://github.com/mmistakes/minimal-mistakes/issues/1482)
|
||||
* Remove misleading underline hover state on feature row items.
|
||||
* Properly escape quotes in `site.social.name` and `site.name`. [#1485](https://github.com/mmistakes/minimal-mistakes/pull/1485)
|
||||
* Fix typo in upgrading documentation. [#1487](https://github.com/mmistakes/minimal-mistakes/pull/1487)
|
||||
* Fix `border-bottom` for Gist line numbers.
|
||||
* Replace `|` with HTML entity when used as title separator. [#760](https://github.com/mmistakes/minimal-mistakes/issues/760)
|
||||
|
||||
## [4.9.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.0)
|
||||
|
||||
### Enhancements
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: "License"
|
||||
permalink: /docs/license/
|
||||
excerpt: "License for Minimal Mistakes Jekyll Theme."
|
||||
last_modified_at: 2017-12-11T09:25:55-05:00
|
||||
last_modified_at: 2018-01-10T11:22:01-05:00
|
||||
---
|
||||
|
||||
The MIT License (MIT)
|
||||
@@ -67,4 +67,8 @@ Jekyll Group-By-Array is distributed under the terms of the [MIT License](http:/
|
||||
|
||||
Minimal Mistakes incorporates [@allejo's Pure Liquid Jekyll Table of Contents](https://allejo.io/blog/a-jekyll-toc-in-liquid-only/),
|
||||
Copyright (c) 2017 Vladimir Jimenez.
|
||||
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
||||
Copyright (c) 2017 Oliver Nightingale.
|
||||
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<!doctype html>
|
||||
<!--
|
||||
Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
|
||||
Minimal Mistakes Jekyll Theme 4.9.1 by Michael Rose
|
||||
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
||||
Free for personal and commercial use under the MIT license
|
||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
||||
|
||||
@@ -12,7 +12,7 @@ layouts_gallery:
|
||||
- url: /assets/images/mm-layout-archive.png
|
||||
image_path: /assets/images/mm-layout-archive.png
|
||||
alt: "archive layout example"
|
||||
last_modified_at: 2017-12-28T13:52:20-05:00
|
||||
last_modified_at: 2018-01-10T11:22:24-05:00
|
||||
toc: true
|
||||
---
|
||||
|
||||
@@ -78,6 +78,7 @@ For even more demo pages check the [posts archive][year-archive].
|
||||
- [FitVids.JS](http://fitvidsjs.com/)
|
||||
- Greedy Navigation - [lukejacksonn](https://codepen.io/lukejacksonn/pen/PwmwWV)
|
||||
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
||||
- [Lunr](http://lunrjs.com)
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -207,7 +207,7 @@ Getting our science styling on with H<sub>2</sub>O, which should push the "2" do
|
||||
|
||||
### Superscript Tag
|
||||
|
||||
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
Still sticking with science and Albert Einstein's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
|
||||
### Variable Tag
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ header:
|
||||
cta_label: "<i class='fas fa-download'></i> Install Now"
|
||||
cta_url: "/docs/quick-start-guide/"
|
||||
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.0">Latest release v4.9.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}'
|
||||
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}'
|
||||
feature_row:
|
||||
- image_path: /assets/images/mm-customizable-feature.png
|
||||
alt: "customizable"
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
layout: archive
|
||||
title: "Post Archive with Feature Rows"
|
||||
permalink: /post-archive-feature-rows/
|
||||
author_profile: true
|
||||
feature_row:
|
||||
- image_path: assets/images/unsplash-gallery-image-1-th.jpg
|
||||
alt: "placeholder image 1"
|
||||
title: "Placeholder 1"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder 2"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||
title: "Placeholder 3"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
feature_row2:
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder Image Left Aligned"
|
||||
excerpt: 'This is some sample content that goes here with **Markdown** formatting. Left aligned with `type="left"`'
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
feature_row3:
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder Image Right Aligned"
|
||||
excerpt: 'This is some sample content that goes here with **Markdown** formatting. Right aligned with `type="right"`'
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
feature_row4:
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder Image Center Aligned"
|
||||
excerpt: 'This is some sample content that goes here with **Markdown** formatting. Centered with `type="center"`'
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
---
|
||||
|
||||
{% for post in site.posts limit: 5 %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
|
||||
{% include feature_row id="intro" type="center" %}
|
||||
|
||||
{% include feature_row %}
|
||||
|
||||
{% include feature_row id="feature_row2" type="left" %}
|
||||
|
||||
{% include feature_row id="feature_row3" type="right" %}
|
||||
|
||||
{% include feature_row id="feature_row4" type="center" %}
|
||||
@@ -5,12 +5,10 @@ title: "Posts by Year"
|
||||
author_profile: true
|
||||
---
|
||||
|
||||
{% capture written_year %}'None'{% endcapture %}
|
||||
{% for post in site.posts %}
|
||||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||
{% if year != written_year %}
|
||||
<h2 id="{{ year | slugify }}" class="archive__subtitle">{{ year }}</h2>
|
||||
{% capture written_year %}{{ year }}{% endcapture %}
|
||||
{% endif %}
|
||||
{% include archive-single.html %}
|
||||
{% assign postsByYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
|
||||
{% for year in postsByYear %}
|
||||
<h2 id="{{ year.name | slugify }}" class="archive__subtitle">{{ year.name }}</h2>
|
||||
{% for post in year.items %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: "Wide Single Layout Page"
|
||||
classes: wide
|
||||
excerpt: "A page with `classes: wide` set to expand the main content's width."
|
||||
tags:
|
||||
- sample post
|
||||
- readability
|
||||
- test
|
||||
---
|
||||
|
||||
When using `layout: single` add the following front matter to a page or post to widen the main content:
|
||||
|
||||
```yaml
|
||||
classes: wide
|
||||
```
|
||||
|
||||
Portland in shoreditch Vice, labore typewriter pariatur hoodie fap sartorial Austin. Pinterest literally occupy Schlitz forage. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
|
||||
|
||||
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.
|
||||
|
||||
## Cupidatat 90's lo-fi authentic try-hard
|
||||
|
||||
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
|
||||
|
||||
* Sartorial hoodie
|
||||
* Labore viral forage
|
||||
* Tote bag selvage
|
||||
* DIY exercitation et id ugh tumblr church-key
|
||||
|
||||
Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.
|
||||
|
||||
Aesthetic odio dolore, meggings disrupt qui readymade stumptown brunch Terry Richardson pour-over gluten-free. Banksy american apparel in selfies, biodiesel flexitarian organic meh wolf quinoa gentrify banjo kogi. Readymade tofu ex, scenester dolor umami fingerstache occaecat fashion axe Carles jean shorts minim. Keffiyeh fashion axe nisi Godard mlkshk dolore. Lomo you probably haven't heard of them eu non, Odd Future Truffaut pug keytar meggings McSweeney's Pinterest cred. Etsy literally aute esse, eu bicycle rights qui meggings fanny pack. Gentrify leggings pug flannel duis.
|
||||
|
||||
## Forage occaecat cardigan qui
|
||||
|
||||
Fashion axe hella gastropub lo-fi kogi 90's aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.
|
||||
|
||||
> Whatever velit occaecat quis deserunt gastropub, leggings elit tousled roof party 3 wolf moon kogi pug blue bottle ea. Fashion axe shabby chic Austin quinoa pickled laborum bitters next level, disrupt deep v accusamus non fingerstache.
|
||||
|
||||
Tote bag asymmetrical elit sunt. Occaecat authentic Marfa, hella McSweeney's next level irure veniam master cleanse. Sed hoodie letterpress artisan wolf leggings, 3 wolf moon commodo ullamco. Anim occupy ea labore Terry Richardson. Tofu ex master cleanse in whatever pitchfork banh mi, occupy fugiat fanny pack Austin authentic. Magna fugiat 3 wolf moon, labore McSweeney's sustainable vero consectetur. Gluten-free disrupt enim, aesthetic fugiat jean shorts trust fund keffiyeh magna try-hard.
|
||||
|
||||
## Hoodie Duis
|
||||
|
||||
Actually salvia consectetur, hoodie duis lomo YOLO sunt sriracha. Aute pop-up brunch farm-to-table odio, salvia irure occaecat. Sriracha small batch literally skateboard. Echo Park nihil hoodie, aliquip forage artisan laboris. Trust fund reprehenderit nulla locavore. Stumptown raw denim kitsch, keffiyeh nulla twee dreamcatcher fanny pack ullamco 90's pop-up est culpa farm-to-table. Selfies 8-bit do pug odio.
|
||||
|
||||
### Thundercats Ho!
|
||||
|
||||
Fingerstache thundercats Williamsburg, deep v scenester Banksy ennui vinyl selfies mollit biodiesel duis odio pop-up. Banksy 3 wolf moon try-hard, sapiente enim stumptown deep v ad letterpress. Squid beard brunch, exercitation raw denim yr sint direct trade. Raw denim narwhal id, flannel DIY McSweeney's seitan. Letterpress artisan bespoke accusamus, meggings laboris consequat Truffaut qui in seitan. Sustainable cornhole Schlitz, twee Cosby sweater banh mi deep v forage letterpress flannel whatever keffiyeh. Sartorial cred irure, semiotics ethical sed blue bottle nihil letterpress.
|
||||
|
||||
Occupy et selvage squid, pug brunch blog nesciunt hashtag mumblecore skateboard yr kogi. Ugh small batch swag four loko. Fap post-ironic qui tote bag farm-to-table american apparel scenester keffiyeh vero, swag non pour-over gentrify authentic pitchfork. Schlitz scenester lo-fi voluptate, tote bag irony bicycle rights pariatur vero Vice freegan wayfarers exercitation nisi shoreditch. Chambray tofu vero sed. Street art swag literally leggings, Cosby sweater mixtape PBR lomo Banksy non in pitchfork ennui McSweeney's selfies. Odd Future Banksy non authentic.
|
||||
|
||||
Aliquip enim artisan dolor post-ironic. Pug tote bag Marfa, deserunt pour-over Portland wolf eu odio intelligentsia american apparel ugh ea. Sunt viral et, 3 wolf moon gastropub pug id. Id fashion axe est typewriter, mlkshk Portland art party aute brunch. Sint pork belly Cosby sweater, deep v mumblecore kitsch american apparel. Try-hard direct trade tumblr sint skateboard. Adipisicing bitters excepteur biodiesel, pickled gastropub aute veniam.
|
||||
@@ -242,7 +242,7 @@ Getting our science styling on with H<sub>2</sub>O, which should push the "2" do
|
||||
|
||||
### Superscript Tag
|
||||
|
||||
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
Still sticking with science and Albert Einstein's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
|
||||
### Variable Tag
|
||||
|
||||
|
||||
@@ -42,19 +42,19 @@ header:
|
||||
|
||||
### Vimeo
|
||||
|
||||
To embed the following Vimeo video at url `https://vimeo.com/97649261` into a post or page's main content you'd use:
|
||||
To embed the following Vimeo video at url `https://vimeo.com/212731897` into a post or page's main content you'd use:
|
||||
|
||||
```liquid
|
||||
{% raw %}{% include video id="97649261" provider="vimeo" %}{% endraw %}
|
||||
{% raw %}{% include video id="212731897" provider="vimeo" %}{% endraw %}
|
||||
```
|
||||
|
||||
{% include video id="97649261" provider="vimeo" %}
|
||||
{% include video id="212731897" provider="vimeo" %}
|
||||
|
||||
To embed it as a video header you'd use the following YAML Front Matter
|
||||
|
||||
```yaml
|
||||
header:
|
||||
video:
|
||||
id: 97649261
|
||||
id: 212731897
|
||||
provider: vimeo
|
||||
```
|
||||
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 67 KiB |
@@ -2,7 +2,7 @@
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "minimal-mistakes-jekyll"
|
||||
spec.version = "4.9.0"
|
||||
spec.version = "4.9.1"
|
||||
spec.authors = ["Michael Rose"]
|
||||
|
||||
spec.summary = %q{A flexible two-column Jekyll theme.}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "minimal-mistakes",
|
||||
"version": "4.9.0",
|
||||
"version": "4.9.1",
|
||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
# main links links
|
||||
main:
|
||||
- title: "Quick-Start Guide"
|
||||
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
||||
- title: "About"
|
||||
url: https://mmistakes.github.io/minimal-mistakes/about/
|
||||
- title: "Sample Posts"
|
||||
- title: "Posts"
|
||||
url: /year-archive/
|
||||
- title: "Sample Collections"
|
||||
- title: "Collections"
|
||||
url: /collection-archive/
|
||||
- title: "Sitemap"
|
||||
url: /sitemap/
|
||||
|
||||
@@ -207,7 +207,7 @@ Getting our science styling on with H<sub>2</sub>O, which should push the "2" do
|
||||
|
||||
### Superscript Tag
|
||||
|
||||
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
Still sticking with science and Albert Einstein's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
|
||||
### Variable Tag
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ title: "Posts by Category"
|
||||
author_profile: true
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
{% include group-by-array collection=site.posts field="categories" %}
|
||||
|
||||
{% for category in group_names %}
|
||||
|
||||
@@ -5,7 +5,6 @@ permalink: /collection-archive/
|
||||
author_profile: true
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
{% capture written_label %}'None'{% endcapture %}
|
||||
|
||||
{% for collection in site.collections %}
|
||||
|
||||
@@ -5,7 +5,6 @@ permalink: /page-archive/
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
{% for post in site.pages %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
@@ -5,8 +5,6 @@ permalink: /portfolio/
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
|
||||
<div class="grid__wrapper">
|
||||
{% for post in site.portfolio %}
|
||||
{% include archive-single.html type="grid" %}
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
layout: archive
|
||||
title: "Post Archive with Feature Rows"
|
||||
permalink: /post-archive-feature-rows/
|
||||
author_profile: true
|
||||
feature_row:
|
||||
- image_path: assets/images/unsplash-gallery-image-1-th.jpg
|
||||
alt: "placeholder image 1"
|
||||
title: "Placeholder 1"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder 2"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||
title: "Placeholder 3"
|
||||
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||
feature_row2:
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder Image Left Aligned"
|
||||
excerpt: 'This is some sample content that goes here with **Markdown** formatting. Left aligned with `type="left"`'
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
feature_row3:
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder Image Right Aligned"
|
||||
excerpt: 'This is some sample content that goes here with **Markdown** formatting. Right aligned with `type="right"`'
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
feature_row4:
|
||||
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||
alt: "placeholder image 2"
|
||||
title: "Placeholder Image Center Aligned"
|
||||
excerpt: 'This is some sample content that goes here with **Markdown** formatting. Centered with `type="center"`'
|
||||
url: "#test-link"
|
||||
btn_label: "Read More"
|
||||
btn_class: "btn--primary"
|
||||
---
|
||||
|
||||
{% for post in site.posts limit: 5 %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
|
||||
{% include feature_row id="intro" type="center" %}
|
||||
|
||||
{% include feature_row %}
|
||||
|
||||
{% include feature_row id="feature_row2" type="left" %}
|
||||
|
||||
{% include feature_row id="feature_row3" type="right" %}
|
||||
|
||||
{% include feature_row id="feature_row4" type="center" %}
|
||||
@@ -5,8 +5,6 @@ permalink: /recipes/
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
|
||||
{% for post in site.recipes %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
@@ -5,8 +5,6 @@ permalink: /sitemap/
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
|
||||
A list of all the posts and pages found on the site. For you robots out there is an [XML version]({{ base_path }}/sitemap.xml) available for digesting as well.
|
||||
|
||||
<h2>Pages</h2>
|
||||
|
||||
@@ -5,7 +5,6 @@ title: "Posts by Tag"
|
||||
author_profile: true
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
{% include group-by-array collection=site.posts field="tags" %}
|
||||
|
||||
{% for tag in group_names %}
|
||||
|
||||
@@ -2,11 +2,9 @@
|
||||
permalink: /terms/
|
||||
title: "Terms and Privacy Policy"
|
||||
last_modified_at: 2016-06-06
|
||||
toc: true
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
{% include toc %}
|
||||
|
||||
## Privacy Policy
|
||||
|
||||
The privacy of my visitors is extremely important. This Privacy Policy outlines the types of personal information that is received and collected and how it is used.
|
||||
|
||||
@@ -5,13 +5,10 @@ title: "Posts by Year"
|
||||
author_profile: true
|
||||
---
|
||||
|
||||
{% include base_path %}
|
||||
{% capture written_year %}'None'{% endcapture %}
|
||||
{% for post in site.posts %}
|
||||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||
{% if year != written_year %}
|
||||
<h2 id="{{ year | slugify }}" class="archive__subtitle">{{ year }}</h2>
|
||||
{% capture written_year %}{{ year }}{% endcapture %}
|
||||
{% endif %}
|
||||
{% include archive-single.html %}
|
||||
{% assign postsByYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
|
||||
{% for year in postsByYear %}
|
||||
<h2 id="{{ year.name | slugify }}" class="archive__subtitle">{{ year.name }}</h2>
|
||||
{% for post in year.items %}
|
||||
{% include archive-single.html %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: "Wide Single Layout Page"
|
||||
classes: wide
|
||||
excerpt: "A page with `classes: wide` set to expand the main content's width."
|
||||
tags:
|
||||
- sample post
|
||||
- readability
|
||||
- test
|
||||
---
|
||||
|
||||
When using `layout: single` add the following front matter to a page or post to widen the main content:
|
||||
|
||||
```yaml
|
||||
classes: wide
|
||||
```
|
||||
|
||||
Portland in shoreditch Vice, labore typewriter pariatur hoodie fap sartorial Austin. Pinterest literally occupy Schlitz forage. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
|
||||
|
||||
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.
|
||||
|
||||
## Cupidatat 90's lo-fi authentic try-hard
|
||||
|
||||
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
|
||||
|
||||
* Sartorial hoodie
|
||||
* Labore viral forage
|
||||
* Tote bag selvage
|
||||
* DIY exercitation et id ugh tumblr church-key
|
||||
|
||||
Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.
|
||||
|
||||
Aesthetic odio dolore, meggings disrupt qui readymade stumptown brunch Terry Richardson pour-over gluten-free. Banksy american apparel in selfies, biodiesel flexitarian organic meh wolf quinoa gentrify banjo kogi. Readymade tofu ex, scenester dolor umami fingerstache occaecat fashion axe Carles jean shorts minim. Keffiyeh fashion axe nisi Godard mlkshk dolore. Lomo you probably haven't heard of them eu non, Odd Future Truffaut pug keytar meggings McSweeney's Pinterest cred. Etsy literally aute esse, eu bicycle rights qui meggings fanny pack. Gentrify leggings pug flannel duis.
|
||||
|
||||
## Forage occaecat cardigan qui
|
||||
|
||||
Fashion axe hella gastropub lo-fi kogi 90's aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.
|
||||
|
||||
> Whatever velit occaecat quis deserunt gastropub, leggings elit tousled roof party 3 wolf moon kogi pug blue bottle ea. Fashion axe shabby chic Austin quinoa pickled laborum bitters next level, disrupt deep v accusamus non fingerstache.
|
||||
|
||||
Tote bag asymmetrical elit sunt. Occaecat authentic Marfa, hella McSweeney's next level irure veniam master cleanse. Sed hoodie letterpress artisan wolf leggings, 3 wolf moon commodo ullamco. Anim occupy ea labore Terry Richardson. Tofu ex master cleanse in whatever pitchfork banh mi, occupy fugiat fanny pack Austin authentic. Magna fugiat 3 wolf moon, labore McSweeney's sustainable vero consectetur. Gluten-free disrupt enim, aesthetic fugiat jean shorts trust fund keffiyeh magna try-hard.
|
||||
|
||||
## Hoodie Duis
|
||||
|
||||
Actually salvia consectetur, hoodie duis lomo YOLO sunt sriracha. Aute pop-up brunch farm-to-table odio, salvia irure occaecat. Sriracha small batch literally skateboard. Echo Park nihil hoodie, aliquip forage artisan laboris. Trust fund reprehenderit nulla locavore. Stumptown raw denim kitsch, keffiyeh nulla twee dreamcatcher fanny pack ullamco 90's pop-up est culpa farm-to-table. Selfies 8-bit do pug odio.
|
||||
|
||||
### Thundercats Ho!
|
||||
|
||||
Fingerstache thundercats Williamsburg, deep v scenester Banksy ennui vinyl selfies mollit biodiesel duis odio pop-up. Banksy 3 wolf moon try-hard, sapiente enim stumptown deep v ad letterpress. Squid beard brunch, exercitation raw denim yr sint direct trade. Raw denim narwhal id, flannel DIY McSweeney's seitan. Letterpress artisan bespoke accusamus, meggings laboris consequat Truffaut qui in seitan. Sustainable cornhole Schlitz, twee Cosby sweater banh mi deep v forage letterpress flannel whatever keffiyeh. Sartorial cred irure, semiotics ethical sed blue bottle nihil letterpress.
|
||||
|
||||
Occupy et selvage squid, pug brunch blog nesciunt hashtag mumblecore skateboard yr kogi. Ugh small batch swag four loko. Fap post-ironic qui tote bag farm-to-table american apparel scenester keffiyeh vero, swag non pour-over gentrify authentic pitchfork. Schlitz scenester lo-fi voluptate, tote bag irony bicycle rights pariatur vero Vice freegan wayfarers exercitation nisi shoreditch. Chambray tofu vero sed. Street art swag literally leggings, Cosby sweater mixtape PBR lomo Banksy non in pitchfork ennui McSweeney's selfies. Odd Future Banksy non authentic.
|
||||
|
||||
Aliquip enim artisan dolor post-ironic. Pug tote bag Marfa, deserunt pour-over Portland wolf eu odio intelligentsia american apparel ugh ea. Sunt viral et, 3 wolf moon gastropub pug id. Id fashion axe est typewriter, mlkshk Portland art party aute brunch. Sint pork belly Cosby sweater, deep v mumblecore kitsch american apparel. Try-hard direct trade tumblr sint skateboard. Adipisicing bitters excepteur biodiesel, pickled gastropub aute veniam.
|
||||
@@ -242,7 +242,7 @@ Getting our science styling on with H<sub>2</sub>O, which should push the "2" do
|
||||
|
||||
### Superscript Tag
|
||||
|
||||
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
Still sticking with science and Albert Einstein's E = MC<sup>2</sup>, which should lift the 2 up.
|
||||
|
||||
### Variable Tag
|
||||
|
||||
|
||||
@@ -42,19 +42,19 @@ header:
|
||||
|
||||
### Vimeo
|
||||
|
||||
To embed the following Vimeo video at url `https://vimeo.com/97649261` into a post or page's main content you'd use:
|
||||
To embed the following Vimeo video at url `https://vimeo.com/212731897` into a post or page's main content you'd use:
|
||||
|
||||
```liquid
|
||||
{% raw %}{% include video id="97649261" provider="vimeo" %}{% endraw %}
|
||||
{% raw %}{% include video id="212731897" provider="vimeo" %}{% endraw %}
|
||||
```
|
||||
|
||||
{% include video id="97649261" provider="vimeo" %}
|
||||
{% include video id="212731897" provider="vimeo" %}
|
||||
|
||||
To embed it as a video header you'd use the following YAML Front Matter
|
||||
|
||||
```yaml
|
||||
header:
|
||||
video:
|
||||
id: 97649261
|
||||
id: 212731897
|
||||
provider: vimeo
|
||||
```
|
||||