Compare commits

...
51 Commits
Author SHA1 Message Date
Michael Rose 7cbf67ca2a Merge branch 'release/4.2.0' 2017-01-24 10:18:45 -05:00
Michael Rose d061a950c2 Bump version to 4.2.0 2017-01-24 10:17:39 -05:00
Michael Rose 73e6a25ea9 Bump jekyll-sitemap to (1.0) 2017-01-24 10:17:21 -05:00
Michael Rose 3acaa4dd29 Update CHANGELOG and history 2017-01-24 10:10:43 -05:00
Michael Rose 638c11b773 Improve video helper documentation 2017-01-24 10:09:38 -05:00
Michael Rose 66c154e37f Add video header support to archive and splash layouts 2017-01-24 10:09:22 -05:00
Michael Rose 5fc884eb84 Rename responsive_video helper to video 2017-01-24 10:05:57 -05:00
Michael Rose cb7fbb90dc Add some white-space below video embeds 2017-01-24 09:56:05 -05:00
Michael Rose aeedd52864 Add Nepali (Nepalese) text 2017-01-24 09:42:49 -05:00
Justin Too 65a6654582 Add page hero video for vimeo/youtube using embedresponsively.com code (#788) 2017-01-24 09:29:34 -05:00
Mahesh Kr. Yadav 22a4b3d0b7 Nepalese Language (#785)
Added Nepalese Language
2017-01-22 20:56:18 -05:00
HyeonGyu Lee ff4647245d invalid analytics example fix (#783) 2017-01-21 12:57:19 -05:00
Michael Rose 010409acb1 Remove borders from table elements found in Google Custom Search Engine widget
- Close #759
2017-01-09 22:02:45 -05:00
Michael Rose f46cc734a4 Complete Simplified Chinese Translation of Theme UI (#747) 2017-01-09 21:52:44 -05:00
Vej ba797085fc Complete Simplified Chinese Translation of Theme UI (#747) 2017-01-09 21:51:27 -05:00
Michael Rose 55843c5dca Remove position: sticky JavaScript polyfill
- Fallback to default positioning for browser that don't support it IE, Chrome < 56, etc.
- Issue #752
2017-01-05 11:48:37 -05:00
Staticman 77db91ad4f New comment. (#751) 2017-01-03 10:26:32 -05:00
Staticman 5b49aaa10c New comment. (#750) 2017-01-03 10:22:38 -05:00
Michael Rose cbe2938103 Fix typo 2016-12-30 15:08:40 -05:00
Staticman 61b62f0be1 New comment. (#745) 2016-12-30 15:06:51 -05:00
Staticman eec7b891e5 New comment. (#743) 2016-12-30 15:02:03 -05:00
Staticman 2a5a0020b6 New comment. (#729) 2016-12-23 17:31:49 -05:00
Michael Rose 88933c4e08 Merge branch 'release/4.1.1' into develop 2016-12-21 23:15:27 -05:00
Michael Rose 0c992ca4d7 Merge branch 'release/4.1.1' 2016-12-21 23:15:27 -05:00
Michael Rose 990af789f4 Bump version to 4.1.1 2016-12-21 23:13:56 -05:00
Michael Rose 7ffe6d4c5e Update CHANGELOG.md and history 2016-12-21 23:12:56 -05:00
Michael Rose 1cfce57cfb Remove hardcoded read time values and make “minute read” values dynamic based off of site.words_per_minute
- Close #703
2016-12-21 22:52:18 -05:00
Michael Rose 7ad8d79f93 Fix author.youtube conditional in author sidebar 2016-12-21 22:43:21 -05:00
Michael Rose 9fa1764d3e Change Jekyll to a runtime dependency 2016-12-21 22:35:07 -05:00
Michael Rose c49041270c Merge branch 'feature/youtube-channel' into develop 2016-12-21 22:30:09 -05:00
Michael Rose 7e1f1539e3 Add support for YouTube channel URLs in /docs author sidebar 2016-12-21 22:30:01 -05:00
Michael Rose a41eee9516 Add support for YouTube channel URLs in author sidebar
- Close #716
2016-12-21 22:29:26 -05:00
Michael Rose d54b94fbac Update Font Awesome to v4.7.0 in /docs 2016-12-21 22:07:17 -05:00
Michael Rose 1e661eb10f Update Font Awesome to v4.7.0
- Close #723
2016-12-21 21:44:24 -05:00
Michael Rose b7bb95f916 Merge branch 'release/4.1.0' into develop 2016-12-12 15:28:56 -05:00
Michael Rose f4df3d459b Merge branch 'release/4.1.0' 2016-12-12 15:28:49 -05:00
Michael Rose 89d602c3f3 Bump version to 4.1.0 2016-12-12 15:28:30 -05:00
Michael Rose 66a07a67f8 Update CHANGELOG and history 2016-12-12 15:27:00 -05:00
Michael Rose 2215ee5c06 Add include for adding custom author profile links to sidebar 2016-12-12 15:21:10 -05:00
Michael Rose cc1f09c54c Fix padding issue with pagination buttons
- Close #694
2016-12-12 14:49:53 -05:00
Tom Richards 86c2fb49dc Fix link to Discourse.org homepage in noscript section (#699) 2016-12-04 23:25:52 -05:00
Michael Rose 9e5f459800 Merge branch 'release/4.0.10' into develop 2016-12-01 15:46:34 -05:00
Michael Rose 0c9f8cdae8 Merge branch 'release/4.0.10' 2016-12-01 15:46:27 -05:00
Michael Rose 9b65e8e0d7 Bump version to 4.0.10 2016-12-01 15:46:07 -05:00
Michael Rose 208299a139 Update CHANGELOG and history 2016-12-01 15:44:16 -05:00
Michael Rose 19badee452 Slight correction/improvements to French 2016-12-01 15:43:41 -05:00
Staticman 6dcbafddd1 New comment. (#689) 2016-12-01 07:02:29 -05:00
DEL+R b0d1386945 Slight corrections/improvments with French (#685)
- `comment_success_msg` : Just corrected a missing `m` in *commentaire*
- `related_label` : Added `aussi` (*as well*) in the end of the sentence to make it more "natural" French
-`less_than` : `plus petit que` wasn't right, in this precise context, this form is more about the mathematical character `<`. `moins de` is one of the exact use in this particular case (talking about duration) --- *Less than one minute* == `Moins de 1 minute`
- `follow_label` : Using `Contact` in place of `Suivez moi` make it less personal, and so, better suited for most cases (`Suivez moi` is more like `Follow me`)
2016-11-29 11:30:44 -05:00
Michael Rose 4e44f3c5db Add Staticman default path
- Close #683
2016-11-29 08:44:43 -05:00
Michael Rose 0e6d5326ed Merge branch 'hotfix/4.0.9' into develop 2016-11-21 16:06:19 -05:00
Michael Rose 656bcda033 Merge branch 'release/4.0.8' into develop 2016-11-21 09:56:36 -05:00
70 changed files with 6547 additions and 1748 deletions
+51
View File
@@ -1,3 +1,54 @@
## [4.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.0)
### Enhancements
- Add `video` helper (for YouTube/Vimeo) and video headers to `single`, `archive`, and `splash` layouts. [#788](https://github.com/mmistakes/minimal-mistakes/pull/788)
- Add missing simplified Chinese localized UI text strings. [#747](https://github.com/mmistakes/minimal-mistakes/pull/747)
- Add Nepali (Nepalese) localized UI text strings. [#785](https://github.com/mmistakes/minimal-mistakes/pull/785)
- Remove borders from table elements found in Google Custom Search Engine widget. [#759](https://github.com/mmistakes/minimal-mistakes/issues/759)
### Bug Fixes
- Remove `position: sticky` JavaScript polyfill and fallback to default positioning for browsers that don't support it. [#752](https://github.com/mmistakes/minimal-mistakes/issues/752)
### Maintenance
- Fix invalid Google Universal Analytics example in documentation. [#783](https://github.com/mmistakes/minimal-mistakes/pull/783)
- Bump `jekyll-sitemap` gem dependency to (1.0).
## [4.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.1)
### Enhancements
- Remove hardcoded `words_per_minute` "less than" and "minute read" values and make dynamic. [#703](https://github.com/mmistakes/minimal-mistakes/issues/703)
- Update Font Awesome to `v4.7.0`. [#723](https://github.com/mmistakes/minimal-mistakes/issues/723), [#722](https://github.com/mmistakes/minimal-mistakes/issues/722)
- Add support for YouTube channel URLs in author profile. [#716](https://github.com/mmistakes/minimal-mistakes/issues/716)
### Bug Fixes
- Add Jekyll as `spec.add_runtime_dependency` in `.gemspec`.
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
### Enhancements
- Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
### Bug Fixes
- Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
- Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
### Bug Fixes
- Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
### Maintenance
- Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9) ## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
### Bug Fixes ### Bug Fixes
+1 -2
View File
@@ -25,7 +25,7 @@ See what's new in the [CHANGELOG](CHANGELOG.md).
- 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](https://staticman.net/), and custom). - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and 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, Chinese, French, German, Italian, Spanish, and Turkish - UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Nepali (Nepalese), Spanish, and Turkish
## Demo Pages ## Demo Pages
@@ -128,7 +128,6 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
- [FitVids.JS](http://fitvidsjs.com/) - [FitVids.JS](http://fitvidsjs.com/)
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV) - Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV)
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll) - [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
- [Stickyfill](https://github.com/wilddeer/stickyfill)
--- ---
+2 -2
View File
@@ -35,7 +35,7 @@ staticman:
filename : comment-{@timestamp} filename : comment-{@timestamp}
format : "yml" format : "yml"
moderation : true moderation : true
path : "docs/_data/comments/{options.slug}" path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default)
requiredFields : ['name', 'email', 'message'] requiredFields : ['name', 'email', 'message']
transforms: transforms:
email : "md5" email : "md5"
@@ -104,7 +104,7 @@ author:
vine : vine :
weibo : weibo :
xing : xing :
youtube : youtube : # "https://youtube.com/c/MichaelRoseDesign"
# Reading Files # Reading Files
+61 -20
View File
@@ -105,7 +105,7 @@ fr: &DEFAULT_FR
menu_label : menu_label :
toc_label : "Sur cette page" toc_label : "Sur cette page"
ext_link_label : "Lien direct" ext_link_label : "Lien direct"
less_than : "plus petit que" less_than : "moins de"
minute_read : "minute de lecture" minute_read : "minute de lecture"
share_on_label : "Partager sur" share_on_label : "Partager sur"
meta_label : meta_label :
@@ -115,8 +115,8 @@ fr: &DEFAULT_FR
comments_label : "Laisser un commentaire" comments_label : "Laisser un commentaire"
comments_title : comments_title :
more_label : "Lire plus" more_label : "Lire plus"
related_label : "Vous pourriez aimer" related_label : "Vous pourriez aimer aussi"
follow_label : "Suivez moi" follow_label : "Contact"
feed_label : "Flux" feed_label : "Flux"
powered_by : "Propulsé par" powered_by : "Propulsé par"
website_label : "Site" website_label : "Site"
@@ -132,7 +132,7 @@ fr: &DEFAULT_FR
comment_form_website_label : "Site web (optionnel)" comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer" comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé" comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé." comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez." comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..." loading_label : "Chargement..."
fr-FR: fr-FR:
@@ -318,7 +318,7 @@ zh: &DEFAULT_ZH
pagination_next : "向后" pagination_next : "向后"
breadcrumb_home_label : "首页" breadcrumb_home_label : "首页"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : menu_label : "切换菜单"
toc_label : "在本页上" toc_label : "在本页上"
ext_link_label : "直接链接" ext_link_label : "直接链接"
less_than : "少于" less_than : "少于"
@@ -334,22 +334,22 @@ zh: &DEFAULT_ZH
related_label : "猜您还喜欢" related_label : "猜您还喜欢"
follow_label : "关注:" follow_label : "关注:"
feed_label : "Feed" feed_label : "Feed"
powered_by : "Powered by" powered_by : "技术来自于"
website_label : "网站" website_label : "网站"
email_label : "Email" email_label : "电子邮箱"
recent_posts : "最新文章" recent_posts : "最新文章"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml" undefined_wpm : "_config.yml配置中words_per_minute字段未定义"
comment_form_info : "Your email address will not be published. Required fields are marked" comment_form_info : "您的电子邮箱地址并不会被展示。请填写标记为必须的字段。"
comment_form_comment_label : "Comment" comment_form_comment_label : "评论"
comment_form_md_info : "Markdown is supported." comment_form_md_info : "Markdown语法已支持。"
comment_form_name_label : "Name" comment_form_name_label : "姓名"
comment_form_email_label : "Email address" comment_form_email_label : "电子邮箱"
comment_form_website_label : "Website (optional)" comment_form_website_label : "网站(可选)"
comment_btn_submit : "Submit Comment" comment_btn_submit : "提交评论"
comment_btn_submitted : "Submitted" comment_btn_submitted : "已提交"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved." comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "Loading..." loading_label : "正在加载..."
zh-CN: zh-CN:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-HK: zh-HK:
@@ -411,6 +411,47 @@ de-LI:
<<: *DEFAULT_DE <<: *DEFAULT_DE
de-LU: de-LU:
<<: *DEFAULT_DE <<: *DEFAULT_DE
# Nepali (Nepal)
# -----------------
ne: &DEFAULT_NE
page : "पृष्‍ठ"
pagination_previous : "अघिल्लो"
pagination_next : "अर्को"
breadcrumb_home_label : "गृह"
breadcrumb_separator : "/"
menu_label : "टगल मेनु"
toc_label : "यो पृष्‍ठमा"
ext_link_label : "सिधा सम्पर्क"
less_than : "कम्तिमा"
minute_read : "मिनेट पढ्नुहोस्"
share_on_label : "शेयर गर्नुहोस्"
meta_label :
tags_label : "ट्यागहरू:"
categories_label : "वर्गहरु:"
date_label : "अद्यावधिक:"
comments_label : "टिप्पणी दिनुहोस्"
comments_title : "टिप्पणीहरू"
more_label : "अझै सिक्नुहोस्"
related_label : "तपाईं रुचाउन सक्नुहुन्छ "
follow_label : "पछ्याउनुहोस्:"
feed_label : "फिड"
powered_by : "Powered by"
website_label : "वेबसाइट"
email_label : "इमेल"
recent_posts : "ताजा लेखहरु"
undefined_wpm : "अपरिभाषित प्यारामिटर शब्दहरू_प्रति_मिनेट at _config.yml"
comment_form_info : "तपाइँको इमेल ठेगाना प्रकाशित गरिने छैन।आवश्यक जानकारीहरुमा चिन्ह लगाइको छ"
comment_form_comment_label : "टिप्पणी"
comment_form_md_info : "मार्कडाउन समर्थित छ।"
comment_form_name_label : "नाम"
comment_form_email_label : "इमेल ठेगाना"
comment_form_website_label : "वेबसाइट (वैकल्पिक)"
comment_btn_submit : "टिप्पणी दिनुहोस् "
comment_btn_submitted : "टिप्पणी भयो"
comment_success_msg : "तपाईंको टिप्पणीको लागि धन्यवाद! एक पटक यो अनुमोदन गरेपछी यो साइटमा देखाउनेछ।"
comment_error_msg : "माफ गर्नुहोस्, तपाईंको टिप्पणी त्रुटि थियो।सबै आवश्यक जानकारीहरु पूरा गरिएको छ भने निश्चित गर्नुहोस् र फेरि प्रयास गर्नुहोस्।"
loading_label : "लोड हुँदैछ ..."
ne-NP:
<<: *DEFAULT_NE
# Another locale # Another locale
# -------------- # --------------
@@ -0,0 +1,7 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
-->
+147 -97
View File
@@ -30,162 +30,212 @@
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place"> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
<span itemprop="name"> {{ author.location }} </span>
</li> </li>
{% endif %} {% endif %}
{% if author.uri %} {% if author.uri %}
<li> <li>
<a href="{{ author.uri }}" itemprop="url"> <a href="{{ author.uri }}" itemprop="url">
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> <i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
{{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if author.email %} {% if author.email %}
<li> <li>
<a href="mailto:{{ author.email }}"> <a href="mailto:{{ author.email }}">
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i>
<meta itemprop="email" content="{{ author.email }}" /> <meta itemprop="email" content="{{ author.email }}" />
{{ site.data.ui-text[site.locale].email_label | default: "Email" }} <i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if author.keybase %} {% if author.keybase %}
<li><a href="https://keybase.io/{{ author.keybase }} " itemprop="sameAs"> <li>
<i class="fa fa-fw fa-key" aria-hidden="true"></i> <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
Keybase <i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.twitter %} {% if author.twitter %}
<li><a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
Twitter <i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.facebook %} {% if author.facebook %}
<li><a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
Facebook <i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.google_plus %} {% if author.google_plus %}
<li><a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> <a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
Google+ <i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.linkedin %} {% if author.linkedin %}
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
LinkedIn <i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.xing %} {% if author.xing %}
<li><a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
XING <i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.instagram %} {% if author.instagram %}
<li><a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
Instagram <i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.tumblr %} {% if author.tumblr %}
<li><a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
Tumblr <i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.bitbucket %} {% if author.bitbucket %}
<li><a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
Bitbucket <i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.github %} {% if author.github %}
<li><a href="https://github.com/{{ author.github }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-github" aria-hidden="true"></i> <a href="https://github.com/{{ author.github }}" itemprop="sameAs">
Github <i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> <a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
Stackoverflow <i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.lastfm %} {% if author.lastfm %}
<li><a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
Last.fm <i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.dribbble %} {% if author.dribbble %}
<li><a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
Dribbble <i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.pinterest %} {% if author.pinterest %}
<li><a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
Pinterest <i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.foursquare %} {% if author.foursquare %}
<li><a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
Foursquare <i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.steam %} {% if author.steam %}
<li><a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
Steam <i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.youtube %} {% if author.youtube %}
<li><a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs"> {% if author.youtube contains "://" %}
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> <li>
YouTube <a href="{{ author.youtube }}" itemprop="sameAs">
</a></li> <i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% else author.youtube %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% endif %}
{% endif %} {% endif %}
{% if author.soundcloud %} {% if author.soundcloud %}
<li><a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
Soundcloud <i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.weibo %} {% if author.weibo %}
<li><a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
Weibo <i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.flickr %} {% if author.flickr %}
<li><a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
Flickr <i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.codepen %} {% if author.codepen %}
<li><a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
CodePen <i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.vine %} {% if author.vine %}
<li><a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
Vine <i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine
</a></li> </a>
</li>
{% endif %} {% endif %}
{% include author-profile-custom-links.html %}
</ul> </ul>
</div> </div>
</div> </div>
+2 -2
View File
@@ -9,5 +9,5 @@
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})(); })();
</script> </script>
<noscript>Please enable JavaScript to view the comments powered by [Discourse](http://forum.beta-europe.org/c/beta/website).</a></noscript> <noscript>Please enable JavaScript to view the comments powered by <a href="https://www.discourse.org/">Discourse.</a></noscript>
{% endif %} {% endif %}
+4
View File
@@ -0,0 +1,4 @@
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
{% include video id=video_id provider=video_provider %}
+2 -2
View File
@@ -6,9 +6,9 @@
{% assign words = page.content | strip_html | number_of_words %} {% assign words = page.content | strip_html | number_of_words %}
{% endif %} {% endif %}
{% if words < 180 %} {% if words < words_per_minute %}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }} {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words < 360 %} {% elsif words == words_per_minute %}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %} {% else %}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }} {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
+11
View File
@@ -0,0 +1,11 @@
{% capture video_id %}{{ include.id }}{% endcapture %}
{% capture video_provider %}{{ include.provider }}{% endcapture %}
<!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container">
{% if video_provider == "vimeo" %}
<iframe src="http://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
{% elsif video_provider == "youtube" %}
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div>
+2
View File
@@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
+3 -1
View File
@@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
@@ -71,4 +73,4 @@ layout: default
</div> </div>
</div> </div>
{% endif %} {% endif %}
</div> </div>
+2
View File
@@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
<div id="main" role="main"> <div id="main" role="main">
+1
View File
@@ -75,6 +75,7 @@
margin-left: -1px; margin-left: -1px;
a { a {
display: block;
margin-bottom: 0.25em; margin-bottom: 0.25em;
padding: 0.5em 1em; padding: 0.5em 1em;
font-family: $sans-serif; font-family: $sans-serif;
+37 -1
View File
@@ -467,4 +467,40 @@ a.reversefootnote {
.required { .required {
color: $danger-color; color: $danger-color;
font-weight: bold; font-weight: bold;
} }
/*
Google Custom Search Engine
========================================================================== */
.gsc-control-cse {
table, tr, td {
border: 0; /* remove table borders widget */
}
}
/*
Responsive Video Embed
========================================================================== */
.responsive-video-container {
position: relative;
margin-bottom: 1em;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
iframe,
object,
embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
/*! /*!
* Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/ */
+56
View File
@@ -605,6 +605,7 @@
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; } .#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; } .#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
.#{$fa-css-prefix}-battery-4:before, .#{$fa-css-prefix}-battery-4:before,
.#{$fa-css-prefix}-battery:before,
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; } .#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
.#{$fa-css-prefix}-battery-3:before, .#{$fa-css-prefix}-battery-3:before,
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; } .#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
@@ -731,3 +732,58 @@
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; } .#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
.#{$fa-css-prefix}-fa:before, .#{$fa-css-prefix}-fa:before,
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; } .#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; }
.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; }
.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; }
.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; }
.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; }
.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; }
.#{$fa-css-prefix}-vcard:before,
.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; }
.#{$fa-css-prefix}-vcard-o:before,
.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; }
.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; }
.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; }
.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; }
.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; }
.#{$fa-css-prefix}-drivers-license:before,
.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; }
.#{$fa-css-prefix}-drivers-license-o:before,
.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; }
.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; }
.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; }
.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; }
.#{$fa-css-prefix}-thermometer-4:before,
.#{$fa-css-prefix}-thermometer:before,
.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; }
.#{$fa-css-prefix}-thermometer-3:before,
.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; }
.#{$fa-css-prefix}-thermometer-2:before,
.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; }
.#{$fa-css-prefix}-thermometer-1:before,
.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; }
.#{$fa-css-prefix}-thermometer-0:before,
.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; }
.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; }
.#{$fa-css-prefix}-bathtub:before,
.#{$fa-css-prefix}-s15:before,
.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; }
.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; }
.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; }
.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; }
.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; }
.#{$fa-css-prefix}-times-rectangle:before,
.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; }
.#{$fa-css-prefix}-times-rectangle-o:before,
.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; }
.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; }
.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; }
.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; }
.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; }
.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; }
.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; }
.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; }
.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; }
.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; }
.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; }
.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; }
+58 -2
View File
@@ -4,14 +4,18 @@
$fa-font-path: "../fonts" !default; $fa-font-path: "../fonts" !default;
$fa-font-size-base: 14px !default; $fa-font-size-base: 14px !default;
$fa-line-height-base: 1 !default; $fa-line-height-base: 1 !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.6.3/fonts" !default; // for referencing Bootstrap CDN font files directly //$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix: fa !default; $fa-css-prefix: fa !default;
$fa-version: "4.6.3" !default; $fa-version: "4.7.0" !default;
$fa-border-color: #eee !default; $fa-border-color: #eee !default;
$fa-inverse: #fff !default; $fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default; $fa-li-width: (30em / 14) !default;
$fa-var-500px: "\f26e"; $fa-var-500px: "\f26e";
$fa-var-address-book: "\f2b9";
$fa-var-address-book-o: "\f2ba";
$fa-var-address-card: "\f2bb";
$fa-var-address-card-o: "\f2bc";
$fa-var-adjust: "\f042"; $fa-var-adjust: "\f042";
$fa-var-adn: "\f170"; $fa-var-adn: "\f170";
$fa-var-align-center: "\f037"; $fa-var-align-center: "\f037";
@@ -60,11 +64,15 @@ $fa-var-automobile: "\f1b9";
$fa-var-backward: "\f04a"; $fa-var-backward: "\f04a";
$fa-var-balance-scale: "\f24e"; $fa-var-balance-scale: "\f24e";
$fa-var-ban: "\f05e"; $fa-var-ban: "\f05e";
$fa-var-bandcamp: "\f2d5";
$fa-var-bank: "\f19c"; $fa-var-bank: "\f19c";
$fa-var-bar-chart: "\f080"; $fa-var-bar-chart: "\f080";
$fa-var-bar-chart-o: "\f080"; $fa-var-bar-chart-o: "\f080";
$fa-var-barcode: "\f02a"; $fa-var-barcode: "\f02a";
$fa-var-bars: "\f0c9"; $fa-var-bars: "\f0c9";
$fa-var-bath: "\f2cd";
$fa-var-bathtub: "\f2cd";
$fa-var-battery: "\f240";
$fa-var-battery-0: "\f244"; $fa-var-battery-0: "\f244";
$fa-var-battery-1: "\f243"; $fa-var-battery-1: "\f243";
$fa-var-battery-2: "\f242"; $fa-var-battery-2: "\f242";
@@ -214,19 +222,25 @@ $fa-var-dollar: "\f155";
$fa-var-dot-circle-o: "\f192"; $fa-var-dot-circle-o: "\f192";
$fa-var-download: "\f019"; $fa-var-download: "\f019";
$fa-var-dribbble: "\f17d"; $fa-var-dribbble: "\f17d";
$fa-var-drivers-license: "\f2c2";
$fa-var-drivers-license-o: "\f2c3";
$fa-var-dropbox: "\f16b"; $fa-var-dropbox: "\f16b";
$fa-var-drupal: "\f1a9"; $fa-var-drupal: "\f1a9";
$fa-var-edge: "\f282"; $fa-var-edge: "\f282";
$fa-var-edit: "\f044"; $fa-var-edit: "\f044";
$fa-var-eercast: "\f2da";
$fa-var-eject: "\f052"; $fa-var-eject: "\f052";
$fa-var-ellipsis-h: "\f141"; $fa-var-ellipsis-h: "\f141";
$fa-var-ellipsis-v: "\f142"; $fa-var-ellipsis-v: "\f142";
$fa-var-empire: "\f1d1"; $fa-var-empire: "\f1d1";
$fa-var-envelope: "\f0e0"; $fa-var-envelope: "\f0e0";
$fa-var-envelope-o: "\f003"; $fa-var-envelope-o: "\f003";
$fa-var-envelope-open: "\f2b6";
$fa-var-envelope-open-o: "\f2b7";
$fa-var-envelope-square: "\f199"; $fa-var-envelope-square: "\f199";
$fa-var-envira: "\f299"; $fa-var-envira: "\f299";
$fa-var-eraser: "\f12d"; $fa-var-eraser: "\f12d";
$fa-var-etsy: "\f2d7";
$fa-var-eur: "\f153"; $fa-var-eur: "\f153";
$fa-var-euro: "\f153"; $fa-var-euro: "\f153";
$fa-var-exchange: "\f0ec"; $fa-var-exchange: "\f0ec";
@@ -294,6 +308,7 @@ $fa-var-fort-awesome: "\f286";
$fa-var-forumbee: "\f211"; $fa-var-forumbee: "\f211";
$fa-var-forward: "\f04e"; $fa-var-forward: "\f04e";
$fa-var-foursquare: "\f180"; $fa-var-foursquare: "\f180";
$fa-var-free-code-camp: "\f2c5";
$fa-var-frown-o: "\f119"; $fa-var-frown-o: "\f119";
$fa-var-futbol-o: "\f1e3"; $fa-var-futbol-o: "\f1e3";
$fa-var-gamepad: "\f11b"; $fa-var-gamepad: "\f11b";
@@ -326,6 +341,7 @@ $fa-var-google-plus-square: "\f0d4";
$fa-var-google-wallet: "\f1ee"; $fa-var-google-wallet: "\f1ee";
$fa-var-graduation-cap: "\f19d"; $fa-var-graduation-cap: "\f19d";
$fa-var-gratipay: "\f184"; $fa-var-gratipay: "\f184";
$fa-var-grav: "\f2d6";
$fa-var-group: "\f0c0"; $fa-var-group: "\f0c0";
$fa-var-h-square: "\f0fd"; $fa-var-h-square: "\f0fd";
$fa-var-hacker-news: "\f1d4"; $fa-var-hacker-news: "\f1d4";
@@ -342,6 +358,7 @@ $fa-var-hand-rock-o: "\f255";
$fa-var-hand-scissors-o: "\f257"; $fa-var-hand-scissors-o: "\f257";
$fa-var-hand-spock-o: "\f259"; $fa-var-hand-spock-o: "\f259";
$fa-var-hand-stop-o: "\f256"; $fa-var-hand-stop-o: "\f256";
$fa-var-handshake-o: "\f2b5";
$fa-var-hard-of-hearing: "\f2a4"; $fa-var-hard-of-hearing: "\f2a4";
$fa-var-hashtag: "\f292"; $fa-var-hashtag: "\f292";
$fa-var-hdd-o: "\f0a0"; $fa-var-hdd-o: "\f0a0";
@@ -365,8 +382,12 @@ $fa-var-hourglass-start: "\f251";
$fa-var-houzz: "\f27c"; $fa-var-houzz: "\f27c";
$fa-var-html5: "\f13b"; $fa-var-html5: "\f13b";
$fa-var-i-cursor: "\f246"; $fa-var-i-cursor: "\f246";
$fa-var-id-badge: "\f2c1";
$fa-var-id-card: "\f2c2";
$fa-var-id-card-o: "\f2c3";
$fa-var-ils: "\f20b"; $fa-var-ils: "\f20b";
$fa-var-image: "\f03e"; $fa-var-image: "\f03e";
$fa-var-imdb: "\f2d8";
$fa-var-inbox: "\f01c"; $fa-var-inbox: "\f01c";
$fa-var-indent: "\f03c"; $fa-var-indent: "\f03c";
$fa-var-industry: "\f275"; $fa-var-industry: "\f275";
@@ -404,6 +425,7 @@ $fa-var-line-chart: "\f201";
$fa-var-link: "\f0c1"; $fa-var-link: "\f0c1";
$fa-var-linkedin: "\f0e1"; $fa-var-linkedin: "\f0e1";
$fa-var-linkedin-square: "\f08c"; $fa-var-linkedin-square: "\f08c";
$fa-var-linode: "\f2b8";
$fa-var-linux: "\f17c"; $fa-var-linux: "\f17c";
$fa-var-list: "\f03a"; $fa-var-list: "\f03a";
$fa-var-list-alt: "\f022"; $fa-var-list-alt: "\f022";
@@ -436,8 +458,10 @@ $fa-var-maxcdn: "\f136";
$fa-var-meanpath: "\f20c"; $fa-var-meanpath: "\f20c";
$fa-var-medium: "\f23a"; $fa-var-medium: "\f23a";
$fa-var-medkit: "\f0fa"; $fa-var-medkit: "\f0fa";
$fa-var-meetup: "\f2e0";
$fa-var-meh-o: "\f11a"; $fa-var-meh-o: "\f11a";
$fa-var-mercury: "\f223"; $fa-var-mercury: "\f223";
$fa-var-microchip: "\f2db";
$fa-var-microphone: "\f130"; $fa-var-microphone: "\f130";
$fa-var-microphone-slash: "\f131"; $fa-var-microphone-slash: "\f131";
$fa-var-minus: "\f068"; $fa-var-minus: "\f068";
@@ -502,6 +526,7 @@ $fa-var-plus: "\f067";
$fa-var-plus-circle: "\f055"; $fa-var-plus-circle: "\f055";
$fa-var-plus-square: "\f0fe"; $fa-var-plus-square: "\f0fe";
$fa-var-plus-square-o: "\f196"; $fa-var-plus-square-o: "\f196";
$fa-var-podcast: "\f2ce";
$fa-var-power-off: "\f011"; $fa-var-power-off: "\f011";
$fa-var-print: "\f02f"; $fa-var-print: "\f02f";
$fa-var-product-hunt: "\f288"; $fa-var-product-hunt: "\f288";
@@ -511,10 +536,12 @@ $fa-var-qrcode: "\f029";
$fa-var-question: "\f128"; $fa-var-question: "\f128";
$fa-var-question-circle: "\f059"; $fa-var-question-circle: "\f059";
$fa-var-question-circle-o: "\f29c"; $fa-var-question-circle-o: "\f29c";
$fa-var-quora: "\f2c4";
$fa-var-quote-left: "\f10d"; $fa-var-quote-left: "\f10d";
$fa-var-quote-right: "\f10e"; $fa-var-quote-right: "\f10e";
$fa-var-ra: "\f1d0"; $fa-var-ra: "\f1d0";
$fa-var-random: "\f074"; $fa-var-random: "\f074";
$fa-var-ravelry: "\f2d9";
$fa-var-rebel: "\f1d0"; $fa-var-rebel: "\f1d0";
$fa-var-recycle: "\f1b8"; $fa-var-recycle: "\f1b8";
$fa-var-reddit: "\f1a1"; $fa-var-reddit: "\f1a1";
@@ -541,6 +568,7 @@ $fa-var-rss-square: "\f143";
$fa-var-rub: "\f158"; $fa-var-rub: "\f158";
$fa-var-ruble: "\f158"; $fa-var-ruble: "\f158";
$fa-var-rupee: "\f156"; $fa-var-rupee: "\f156";
$fa-var-s15: "\f2cd";
$fa-var-safari: "\f267"; $fa-var-safari: "\f267";
$fa-var-save: "\f0c7"; $fa-var-save: "\f0c7";
$fa-var-scissors: "\f0c4"; $fa-var-scissors: "\f0c4";
@@ -565,6 +593,7 @@ $fa-var-shirtsinbulk: "\f214";
$fa-var-shopping-bag: "\f290"; $fa-var-shopping-bag: "\f290";
$fa-var-shopping-basket: "\f291"; $fa-var-shopping-basket: "\f291";
$fa-var-shopping-cart: "\f07a"; $fa-var-shopping-cart: "\f07a";
$fa-var-shower: "\f2cc";
$fa-var-sign-in: "\f090"; $fa-var-sign-in: "\f090";
$fa-var-sign-language: "\f2a7"; $fa-var-sign-language: "\f2a7";
$fa-var-sign-out: "\f08b"; $fa-var-sign-out: "\f08b";
@@ -581,6 +610,7 @@ $fa-var-smile-o: "\f118";
$fa-var-snapchat: "\f2ab"; $fa-var-snapchat: "\f2ab";
$fa-var-snapchat-ghost: "\f2ac"; $fa-var-snapchat-ghost: "\f2ac";
$fa-var-snapchat-square: "\f2ad"; $fa-var-snapchat-square: "\f2ad";
$fa-var-snowflake-o: "\f2dc";
$fa-var-soccer-ball-o: "\f1e3"; $fa-var-soccer-ball-o: "\f1e3";
$fa-var-sort: "\f0dc"; $fa-var-sort: "\f0dc";
$fa-var-sort-alpha-asc: "\f15d"; $fa-var-sort-alpha-asc: "\f15d";
@@ -626,6 +656,7 @@ $fa-var-subscript: "\f12c";
$fa-var-subway: "\f239"; $fa-var-subway: "\f239";
$fa-var-suitcase: "\f0f2"; $fa-var-suitcase: "\f0f2";
$fa-var-sun-o: "\f185"; $fa-var-sun-o: "\f185";
$fa-var-superpowers: "\f2dd";
$fa-var-superscript: "\f12b"; $fa-var-superscript: "\f12b";
$fa-var-support: "\f1cd"; $fa-var-support: "\f1cd";
$fa-var-table: "\f0ce"; $fa-var-table: "\f0ce";
@@ -635,6 +666,7 @@ $fa-var-tag: "\f02b";
$fa-var-tags: "\f02c"; $fa-var-tags: "\f02c";
$fa-var-tasks: "\f0ae"; $fa-var-tasks: "\f0ae";
$fa-var-taxi: "\f1ba"; $fa-var-taxi: "\f1ba";
$fa-var-telegram: "\f2c6";
$fa-var-television: "\f26c"; $fa-var-television: "\f26c";
$fa-var-tencent-weibo: "\f1d5"; $fa-var-tencent-weibo: "\f1d5";
$fa-var-terminal: "\f120"; $fa-var-terminal: "\f120";
@@ -644,6 +676,17 @@ $fa-var-th: "\f00a";
$fa-var-th-large: "\f009"; $fa-var-th-large: "\f009";
$fa-var-th-list: "\f00b"; $fa-var-th-list: "\f00b";
$fa-var-themeisle: "\f2b2"; $fa-var-themeisle: "\f2b2";
$fa-var-thermometer: "\f2c7";
$fa-var-thermometer-0: "\f2cb";
$fa-var-thermometer-1: "\f2ca";
$fa-var-thermometer-2: "\f2c9";
$fa-var-thermometer-3: "\f2c8";
$fa-var-thermometer-4: "\f2c7";
$fa-var-thermometer-empty: "\f2cb";
$fa-var-thermometer-full: "\f2c7";
$fa-var-thermometer-half: "\f2c9";
$fa-var-thermometer-quarter: "\f2ca";
$fa-var-thermometer-three-quarters: "\f2c8";
$fa-var-thumb-tack: "\f08d"; $fa-var-thumb-tack: "\f08d";
$fa-var-thumbs-down: "\f165"; $fa-var-thumbs-down: "\f165";
$fa-var-thumbs-o-down: "\f088"; $fa-var-thumbs-o-down: "\f088";
@@ -653,6 +696,8 @@ $fa-var-ticket: "\f145";
$fa-var-times: "\f00d"; $fa-var-times: "\f00d";
$fa-var-times-circle: "\f057"; $fa-var-times-circle: "\f057";
$fa-var-times-circle-o: "\f05c"; $fa-var-times-circle-o: "\f05c";
$fa-var-times-rectangle: "\f2d3";
$fa-var-times-rectangle-o: "\f2d4";
$fa-var-tint: "\f043"; $fa-var-tint: "\f043";
$fa-var-toggle-down: "\f150"; $fa-var-toggle-down: "\f150";
$fa-var-toggle-left: "\f191"; $fa-var-toggle-left: "\f191";
@@ -693,11 +738,16 @@ $fa-var-upload: "\f093";
$fa-var-usb: "\f287"; $fa-var-usb: "\f287";
$fa-var-usd: "\f155"; $fa-var-usd: "\f155";
$fa-var-user: "\f007"; $fa-var-user: "\f007";
$fa-var-user-circle: "\f2bd";
$fa-var-user-circle-o: "\f2be";
$fa-var-user-md: "\f0f0"; $fa-var-user-md: "\f0f0";
$fa-var-user-o: "\f2c0";
$fa-var-user-plus: "\f234"; $fa-var-user-plus: "\f234";
$fa-var-user-secret: "\f21b"; $fa-var-user-secret: "\f21b";
$fa-var-user-times: "\f235"; $fa-var-user-times: "\f235";
$fa-var-users: "\f0c0"; $fa-var-users: "\f0c0";
$fa-var-vcard: "\f2bb";
$fa-var-vcard-o: "\f2bc";
$fa-var-venus: "\f221"; $fa-var-venus: "\f221";
$fa-var-venus-double: "\f226"; $fa-var-venus-double: "\f226";
$fa-var-venus-mars: "\f228"; $fa-var-venus-mars: "\f228";
@@ -722,10 +772,16 @@ $fa-var-wheelchair: "\f193";
$fa-var-wheelchair-alt: "\f29b"; $fa-var-wheelchair-alt: "\f29b";
$fa-var-wifi: "\f1eb"; $fa-var-wifi: "\f1eb";
$fa-var-wikipedia-w: "\f266"; $fa-var-wikipedia-w: "\f266";
$fa-var-window-close: "\f2d3";
$fa-var-window-close-o: "\f2d4";
$fa-var-window-maximize: "\f2d0";
$fa-var-window-minimize: "\f2d1";
$fa-var-window-restore: "\f2d2";
$fa-var-windows: "\f17a"; $fa-var-windows: "\f17a";
$fa-var-won: "\f159"; $fa-var-won: "\f159";
$fa-var-wordpress: "\f19a"; $fa-var-wordpress: "\f19a";
$fa-var-wpbeginner: "\f297"; $fa-var-wpbeginner: "\f297";
$fa-var-wpexplorer: "\f2de";
$fa-var-wpforms: "\f298"; $fa-var-wpforms: "\f298";
$fa-var-wrench: "\f0ad"; $fa-var-wrench: "\f0ad";
$fa-var-xing: "\f168"; $fa-var-xing: "\f168";
BIN
View File
Binary file not shown.
Binary file not shown.
+2668 -682
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 382 KiB

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
-28
View File
@@ -25,35 +25,7 @@ $(document).ready(function(){
// FitVids init // FitVids init
$("#main").fitVids(); $("#main").fitVids();
// init sticky sidebar
$(".sticky").Stickyfill();
var stickySideBar = function(){
var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper button").is(":visible");
// console.log("has button: " + $(".author__urls-wrapper button").length === 0);
// console.log("Window Width: " + windowWidth);
// console.log("show: " + show);
//old code was if($(window).width() > 1024)
if (show) {
// fix
Stickyfill.rebuild();
Stickyfill.init();
$(".author__urls").show();
} else {
// unfix
Stickyfill.stop();
$(".author__urls").hide();
}
};
stickySideBar();
$(window).resize(function(){
stickySideBar();
});
// Follow menu drop down // Follow menu drop down
$(".author__urls-wrapper button").on("click", function() { $(".author__urls-wrapper button").on("click", function() {
$(".author__urls").fadeToggle("fast", function() {}); $(".author__urls").fadeToggle("fast", function() {});
$(".author__urls-wrapper button").toggleClass("open"); $(".author__urls-wrapper button").toggleClass("open");
+4 -5
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
_id: b3f80ef0-b7b9-11e6-9b81-0bc3350a75b6
message: Awesome....
name: Joko
email: e173d909aa244a3fbf81908da947ff94
url: ''
hidden: ''
date: '2016-12-01T11:31:30.231Z'
@@ -0,0 +1,8 @@
_id: 4218daa0-c95f-11e6-b347-77ada084d3be
message: Agreed
name: Bob
email: d73914c0f3c7350b9fbc0790e1fc0412
url: ''
hidden: ''
date: '2016-12-23T22:29:25.380Z'
data: '2016-12-23T22:29:25.380Z'
@@ -0,0 +1,7 @@
_id: 0ef265d0-d1c8-11e6-b0a9-efc179b06d97
message: "Got a little problem here,\r\n\r\nIf I'm using Github pages, should I delete those Theme files?\r\n\r\nbecause after I `bundle update`, they didn't generated as expected, or I've misunderstanding.\r\n\r\nOr, I should follow the instruction in Installation:\r\n> To maintain a local Jekyll environment in sync with GitHub Pages replace the gem \"jekyll\" line with gem \"github-pages\", group: :jekyll_plugins and run the following:\r\n\r\nThanks : )"
name: Specialvict
email: e568a82db250c5130842f4fa42d5cacf
url: 'https://oaleeapp.info'
hidden: ''
date: '2017-01-03T15:19:46.590Z'
@@ -0,0 +1,7 @@
_id: e91c28e0-d1c8-11e6-b0a9-efc179b06d97
message: "@Specialvict - follow [these instructions](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#github-pages-compatible-method) in the docs. The theme gem install instructions don't apply to you since GitHub Pages doesn't support 3rd party gem themes yet.\r\n\r\nYou need to install the old way of forking the theme files."
name: Michael Rose
email: 1ce71bc10b86565464b612093d89707e
url: 'https://mademistakes.com'
hidden: ''
date: '2017-01-03T15:25:52.037Z'
@@ -0,0 +1,7 @@
_id: edfee0e0-cec2-11e6-9fec-f15f86beaa6c
message: "How do I add a header image to the minimal mistakes theme? It's given in documentation to add a YAML front matter. But it's not given where to add it? \r\n<a href = \"https://mmistakes.github.io/minimal-mistakes/docs/layouts/\">Header documentation</a>"
name: shivam mitra
email: 38e378dc28daa978e5e7296723b3a65c
url: 'https://codophobia.github.io/'
hidden: ''
date: '2016-12-30T19:05:29.755Z'
@@ -0,0 +1,11 @@
_id: 73977ed0-cecb-11e6-9fec-f15f86beaa6c
message: >-
You add it to the YAML Front Matter of the post or page you want the header
on. It's not globally assigned. If you want the same header on every page you
could set it with [front matter
defaults](https://jekyllrb.com/docs/configuration/#front-matter-defaults).
name: Michael Rose
email: 1ce71bc10b86565464b612093d89707e
url: 'https://mademistakes.com'
hidden: ''
date: '2016-12-30T20:06:29.940Z'
+61 -20
View File
@@ -105,7 +105,7 @@ fr: &DEFAULT_FR
menu_label : menu_label :
toc_label : "Sur cette page" toc_label : "Sur cette page"
ext_link_label : "Lien direct" ext_link_label : "Lien direct"
less_than : "plus petit que" less_than : "moins de"
minute_read : "minute de lecture" minute_read : "minute de lecture"
share_on_label : "Partager sur" share_on_label : "Partager sur"
meta_label : meta_label :
@@ -115,8 +115,8 @@ fr: &DEFAULT_FR
comments_label : "Laisser un commentaire" comments_label : "Laisser un commentaire"
comments_title : comments_title :
more_label : "Lire plus" more_label : "Lire plus"
related_label : "Vous pourriez aimer" related_label : "Vous pourriez aimer aussi"
follow_label : "Suivez moi" follow_label : "Contact"
feed_label : "Flux" feed_label : "Flux"
powered_by : "Propulsé par" powered_by : "Propulsé par"
website_label : "Site" website_label : "Site"
@@ -132,7 +132,7 @@ fr: &DEFAULT_FR
comment_form_website_label : "Site web (optionnel)" comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer" comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé" comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé." comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez." comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..." loading_label : "Chargement..."
fr-FR: fr-FR:
@@ -318,7 +318,7 @@ zh: &DEFAULT_ZH
pagination_next : "向后" pagination_next : "向后"
breadcrumb_home_label : "首页" breadcrumb_home_label : "首页"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : menu_label : "切换菜单"
toc_label : "在本页上" toc_label : "在本页上"
ext_link_label : "直接链接" ext_link_label : "直接链接"
less_than : "少于" less_than : "少于"
@@ -334,22 +334,22 @@ zh: &DEFAULT_ZH
related_label : "猜您还喜欢" related_label : "猜您还喜欢"
follow_label : "关注:" follow_label : "关注:"
feed_label : "Feed" feed_label : "Feed"
powered_by : "Powered by" powered_by : "技术来自于"
website_label : "网站" website_label : "网站"
email_label : "Email" email_label : "电子邮箱"
recent_posts : "最新文章" recent_posts : "最新文章"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml" undefined_wpm : "_config.yml配置中words_per_minute字段未定义"
comment_form_info : "Your email address will not be published. Required fields are marked" comment_form_info : "您的电子邮箱地址并不会被展示。请填写标记为必须的字段。"
comment_form_comment_label : "Comment" comment_form_comment_label : "评论"
comment_form_md_info : "Markdown is supported." comment_form_md_info : "Markdown语法已支持。"
comment_form_name_label : "Name" comment_form_name_label : "姓名"
comment_form_email_label : "Email address" comment_form_email_label : "电子邮箱"
comment_form_website_label : "Website (optional)" comment_form_website_label : "网站(可选)"
comment_btn_submit : "Submit Comment" comment_btn_submit : "提交评论"
comment_btn_submitted : "Submitted" comment_btn_submitted : "已提交"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved." comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "Loading..." loading_label : "正在加载..."
zh-CN: zh-CN:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-HK: zh-HK:
@@ -411,6 +411,47 @@ de-LI:
<<: *DEFAULT_DE <<: *DEFAULT_DE
de-LU: de-LU:
<<: *DEFAULT_DE <<: *DEFAULT_DE
# Nepali (Nepal)
# -----------------
ne: &DEFAULT_NE
page : "पृष्‍ठ"
pagination_previous : "अघिल्लो"
pagination_next : "अर्को"
breadcrumb_home_label : "गृह"
breadcrumb_separator : "/"
menu_label : "टगल मेनु"
toc_label : "यो पृष्‍ठमा"
ext_link_label : "सिधा सम्पर्क"
less_than : "कम्तिमा"
minute_read : "मिनेट पढ्नुहोस्"
share_on_label : "शेयर गर्नुहोस्"
meta_label :
tags_label : "ट्यागहरू:"
categories_label : "वर्गहरु:"
date_label : "अद्यावधिक:"
comments_label : "टिप्पणी दिनुहोस्"
comments_title : "टिप्पणीहरू"
more_label : "अझै सिक्नुहोस्"
related_label : "तपाईं रुचाउन सक्नुहुन्छ "
follow_label : "पछ्याउनुहोस्:"
feed_label : "फिड"
powered_by : "Powered by"
website_label : "वेबसाइट"
email_label : "इमेल"
recent_posts : "ताजा लेखहरु"
undefined_wpm : "अपरिभाषित प्यारामिटर शब्दहरू_प्रति_मिनेट at _config.yml"
comment_form_info : "तपाइँको इमेल ठेगाना प्रकाशित गरिने छैन।आवश्यक जानकारीहरुमा चिन्ह लगाइको छ"
comment_form_comment_label : "टिप्पणी"
comment_form_md_info : "मार्कडाउन समर्थित छ।"
comment_form_name_label : "नाम"
comment_form_email_label : "इमेल ठेगाना"
comment_form_website_label : "वेबसाइट (वैकल्पिक)"
comment_btn_submit : "टिप्पणी दिनुहोस् "
comment_btn_submitted : "टिप्पणी भयो"
comment_success_msg : "तपाईंको टिप्पणीको लागि धन्यवाद! एक पटक यो अनुमोदन गरेपछी यो साइटमा देखाउनेछ।"
comment_error_msg : "माफ गर्नुहोस्, तपाईंको टिप्पणी त्रुटि थियो।सबै आवश्यक जानकारीहरु पूरा गरिएको छ भने निश्चित गर्नुहोस् र फेरि प्रयास गर्नुहोस्।"
loading_label : "लोड हुँदैछ ..."
ne-NP:
<<: *DEFAULT_NE
# Another locale # Another locale
# -------------- # --------------
+3 -3
View File
@@ -2,7 +2,7 @@
title: "Configuration" title: "Configuration"
permalink: /docs/configuration/ permalink: /docs/configuration/
excerpt: "Settings for configuring and customizing the theme." excerpt: "Settings for configuring and customizing the theme."
modified: 2016-11-03T10:42:01-04:00 modified: 2016-11-29T08:44:22-05:00
--- ---
Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base. Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base.
@@ -206,7 +206,6 @@ comments:
server : # meta.discourse.org server : # meta.discourse.org
``` ```
##### Facebook Comments ##### Facebook Comments
To enable Facebook Comments choose how many comments you'd like visible per post and the color scheme of the widget. To enable Facebook Comments choose how many comments you'd like visible per post and the color scheme of the widget.
@@ -231,7 +230,7 @@ Transform user comments into `_data` files that live inside of your GitHub repos
###### Configure Staticman ###### Configure Staticman
Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"` and `branch`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration). Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"`, `branch`, and `path`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration).
**Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case. **Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case.
{: .notice--info} {: .notice--info}
@@ -425,6 +424,7 @@ For Google Analytics add your Tracking Code:
```yaml ```yaml
analytics: analytics:
provider: "google-universal" provider: "google-universal"
google:
tracking_id: "UA-1234567-8" tracking_id: "UA-1234567-8"
``` ```
+1
View File
@@ -14,6 +14,7 @@ Currently the English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://
- French (Français) - French (Français)
- German (Deutsch) - German (Deutsch)
- Italian (Italiano) - Italian (Italiano)
- Nepali (Nepalese)
- Spanish (Español) - Spanish (Español)
- Turkish (Türkçe) - Turkish (Türkçe)
+21 -10
View File
@@ -7,7 +7,7 @@ single_layout_gallery:
alt: "single layout with header example" alt: "single layout with header example"
- image_path: /assets/images/mm-layout-single-meta.png - image_path: /assets/images/mm-layout-single-meta.png
alt: "single layout with comments and related posts" alt: "single layout with comments and related posts"
modified: 2016-10-06T23:02:37-04:00 modified: 2016-12-12T15:20:20-05:00
--- ---
{% include toc icon="columns" title="Included Layouts" %} {% include toc icon="columns" title="Included Layouts" %}
@@ -333,16 +333,19 @@ defaults:
The theme comes pre-built with a selection of links for the most common social media networks. These are all optional and can be [assigned in `_config.yml`]({{ "/docs/configuration/" | absolute_url }}). The theme comes pre-built with a selection of links for the most common social media networks. These are all optional and can be [assigned in `_config.yml`]({{ "/docs/configuration/" | absolute_url }}).
To add more links you'll need to crack open [`_includes/author-profile.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile.html) and make some edits. To add more links you'll need to crack open [`_includes/author-profile-custom-links.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) and add the appropriate `<li>` markup shown below.
Inside of `<ul class="author__urls">` you'll find `<li>` elements wrapped in Liquid conditionals. These represent each of the possible links you can currently add to the sidebar. **Please note:** Links added here will appear after the ones in [`_includes/author-profile.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile.html). If you'd like to change the order of appearance you'll need to edit that file directly.
{: .notice--info}
#### Example of Twitter link #### Social network link example
```html ```html
{% raw %}{% if author.twitter %} <li>
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <a href="https://whatever-social-network.com/username">
{% endif %}{% endraw %} <i class="fa fa-fw" aria-hidden="true"></i> Awesome Social Network
</a>
</li>
``` ```
To add a new link you'll need three things: To add a new link you'll need three things:
@@ -351,7 +354,7 @@ To add a new link you'll need three things:
2. [Font Awesome icon](http://fontawesome.io/icons/) (`fa-` class) 2. [Font Awesome icon](http://fontawesome.io/icons/) (`fa-` class)
3. Label for the link 3. Label for the link
It's up to you if you want to wrap it in a `{% raw %}{% if %} ... {% endif %}{% endraw %}`conditional and add variables to `_config.yml`. If you don't plan to change it then hard-coding the strings is perfectly acceptable. It's up to you if you want to wrap it in a `{% raw %}{% if %} ... {% endif %}{% endraw %}`conditional and add a variable to `_config.yml`. If you don't plan to change it then hard-coding the string is perfectly acceptable.
Let's run through how you'd add a new link that points to a Reddit profile. Starting with the three things from above: Let's run through how you'd add a new link that points to a Reddit profile. Starting with the three things from above:
@@ -362,13 +365,21 @@ Let's run through how you'd add a new link that points to a Reddit profile. Star
And plug them into the appropriate locations: And plug them into the appropriate locations:
```html ```html
<li><a href="[1]"><i class="fa fa-fw [2]" aria-hidden="true"></i> [3]</a></li> <li>
<a href="[1]">
<i class="fa fa-fw [2]" aria-hidden="true"></i> [3]
</a>
</li>
``` ```
To end up with: To end up with:
```html ```html
<li><a href="https://www.reddit.com/user/username"><i class="fa fa-fw fa-reddit" aria-hidden="true"></i> Reddit</a></li> <li>
<a href="https://www.reddit.com/user/username">
<i class="fa fa-fw fa-reddit" aria-hidden="true"></i> Reddit
</a>
</li>
``` ```
![Reddit link in author profile]({{ "/assets/images/mm-author-profile-reddit-gs.png" | absolute_url }}) ![Reddit link in author profile]({{ "/assets/images/mm-author-profile-reddit-gs.png" | absolute_url }})
+48 -1
View File
@@ -189,6 +189,53 @@ And then drop-in the feature row include in the body where you'd like it to appe
**More Feature Row Goodness:** A [few more examples]({{ "/splash-page/" | absolute_url }}) and [source code](https://github.com/{{ site.repository }}/blob/master/docs/_pages/splash-page.md) can be seen in the demo site. **More Feature Row Goodness:** A [few more examples]({{ "/splash-page/" | absolute_url }}) and [source code](https://github.com/{{ site.repository }}/blob/master/docs/_pages/splash-page.md) can be seen in the demo site.
{: .notice--info} {: .notice--info}
## Responsive Video Embed
Embed a video from YouTube or Vimeo that responsively sizes to fit the width of its parent.
| Parameter | Required | Description |
|---------- |--------- | ----------- |
| `id` | **Required** | ID of the video |
| `provider` | **Required** | Hosting provider of the video, either `youtube` or `vimeo` |
### YouTube
To embed the following YouTube video at url `https://www.youtube.com/watch?v=XsxDH4HcOWA` (long version) or `https://youtu.be/XsxDH4HcOWA` (short version) into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="XsxDH4HcOWA" provider="youtube" %}{% endraw %}
```
{% include video id="XsxDH4HcOWA" provider="youtube" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: XsxDH4HcOWA
provider: youtube
```
### Vimeo
To embed the following Vimeo video at url `https://vimeo.com/97649261` into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="97649261" provider="vimeo" %}{% endraw %}
```
{% include video id="97649261" provider="vimeo" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: 97649261
provider: vimeo
```
## Table of Contents ## Table of Contents
To include an [auto-generated table of contents](http://kramdown.rubyforge.org/converter/html.html#toc) for posts and pages, add the following helper before any actual content in your post or page. To include an [auto-generated table of contents](http://kramdown.rubyforge.org/converter/html.html#toc) for posts and pages, add the following helper before any actual content in your post or page.
@@ -280,4 +327,4 @@ To add a navigation list to a post or page's main content instead of the sidebar
| Parameter | Required | Description | | Parameter | Required | Description |
| --------- | -------- | ----------- | | --------- | -------- | ----------- |
| items | **Required** | Name of the links array found in `_data/navigation.yml`. | | items | **Required** | Name of the links array found in `_data/navigation.yml`. |
+1 -2
View File
@@ -15,8 +15,7 @@ minimal mistakes
| | | ├── jquery.fitvids.js # fluid width video embeds | | | ├── jquery.fitvids.js # fluid width video embeds
| | | ├── jquery.greedy-navigation.js # priority plus navigation | | | ├── jquery.greedy-navigation.js # priority plus navigation
| | | ├── jquery.magnific-popup.js # responsive lightbox | | | ├── jquery.magnific-popup.js # responsive lightbox
| | | ├── jquery.smooth-scroll.min.js # make same-page links scroll smoothly | | | └── jquery.smooth-scroll.min.js # make same-page links scroll smoothly
| | | └── stickyfill.min.js # `position: sticky` polyfill
| | ├── vendor | | ├── vendor
| | | └── jquery | | | └── jquery
| | | └── jquery-1.12.1.min.js | | | └── jquery-1.12.1.min.js
+52 -1
View File
@@ -4,9 +4,60 @@ 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
modified: 2016-11-21T16:04:45-05:00 modified: 2017-01-24T10:10:17-05:00
--- ---
## [4.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.0)
### Enhancements
- Add `video` helper (for YouTube/Vimeo) and video headers to `single`, `archive`, and `splash` layouts. [#788](https://github.com/mmistakes/minimal-mistakes/pull/788)
- Add missing simplified Chinese localized UI text strings. [#747](https://github.com/mmistakes/minimal-mistakes/pull/747)
- Add Nepali (Nepalese) localized UI text strings. [#785](https://github.com/mmistakes/minimal-mistakes/pull/785)
- Remove borders from table elements found in Google Custom Search Engine widget. [#759](https://github.com/mmistakes/minimal-mistakes/issues/759)
### Bug Fixes
- Remove `position: sticky` JavaScript polyfill and fallback to default positioning for browsers that don't support it. [#752](https://github.com/mmistakes/minimal-mistakes/issues/752)
### Maintenance
- Fix invalid Google Universal Analytics example in documentation. [#783](https://github.com/mmistakes/minimal-mistakes/pull/783)
- Bump `jekyll-sitemap` gem dependency to (1.0).
## [4.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.1)
### Enhancements
- Remove hardcoded `words_per_minute` "less than" and "minute read" values and make dynamic. [#703](https://github.com/mmistakes/minimal-mistakes/issues/703)
- Update Font Awesome to `v4.7.0`. [#723](https://github.com/mmistakes/minimal-mistakes/issues/723), [#722](https://github.com/mmistakes/minimal-mistakes/issues/722)
- Add support for YouTube channel URLs in author profile. [#716](https://github.com/mmistakes/minimal-mistakes/issues/716)
### Bug Fixes
- Add Jekyll as `spec.add_runtime_dependency` in `.gemspec`.
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
### Enhancements
- Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
### Bug Fixes
- Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
- Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
### Bug Fixes
- Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
### Maintenance
- Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9) ## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
### Bug Fixes ### Bug Fixes
@@ -0,0 +1,7 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
-->
+144 -94
View File
@@ -30,16 +30,14 @@
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place"> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
<span itemprop="name"> {{ author.location }} </span>
</li> </li>
{% endif %} {% endif %}
{% if author.uri %} {% if author.uri %}
<li> <li>
<a href="{{ author.uri }}" itemprop="url"> <a href="{{ author.uri }}" itemprop="url">
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> <i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
{{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -47,145 +45,197 @@
{% if author.email %} {% if author.email %}
<li> <li>
<a href="mailto:{{ author.email }}"> <a href="mailto:{{ author.email }}">
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i>
<meta itemprop="email" content="{{ author.email }}" /> <meta itemprop="email" content="{{ author.email }}" />
{{ site.data.ui-text[site.locale].email_label | default: "Email" }} <i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if author.keybase %} {% if author.keybase %}
<li><a href="https://keybase.io/{{ author.keybase }} " itemprop="sameAs"> <li>
<i class="fa fa-fw fa-key" aria-hidden="true"></i> <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
Keybase <i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.twitter %} {% if author.twitter %}
<li><a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
Twitter <i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.facebook %} {% if author.facebook %}
<li><a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
Facebook <i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.google_plus %} {% if author.google_plus %}
<li><a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> <a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
Google+ <i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.linkedin %} {% if author.linkedin %}
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
LinkedIn <i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.xing %} {% if author.xing %}
<li><a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
XING <i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.instagram %} {% if author.instagram %}
<li><a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
Instagram <i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.tumblr %} {% if author.tumblr %}
<li><a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
Tumblr <i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.bitbucket %} {% if author.bitbucket %}
<li><a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
Bitbucket <i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.github %} {% if author.github %}
<li><a href="https://github.com/{{ author.github }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-github" aria-hidden="true"></i> <a href="https://github.com/{{ author.github }}" itemprop="sameAs">
Github <i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> <a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
Stackoverflow <i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.lastfm %} {% if author.lastfm %}
<li><a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
Last.fm <i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.dribbble %} {% if author.dribbble %}
<li><a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
Dribbble <i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.pinterest %} {% if author.pinterest %}
<li><a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
Pinterest <i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.foursquare %} {% if author.foursquare %}
<li><a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
Foursquare <i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.steam %} {% if author.steam %}
<li><a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
Steam <i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.youtube %} {% if author.youtube %}
<li><a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs"> {% if author.youtube contains "://" %}
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> <li>
YouTube <a href="{{ author.youtube }}" itemprop="sameAs">
</a></li> <i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% else author.youtube %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% endif %}
{% endif %} {% endif %}
{% if author.soundcloud %} {% if author.soundcloud %}
<li><a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
Soundcloud <i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.weibo %} {% if author.weibo %}
<li><a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
Weibo <i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.flickr %} {% if author.flickr %}
<li><a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
Flickr <i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.codepen %} {% if author.codepen %}
<li><a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
CodePen <i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen
</a></li> </a>
</li>
{% endif %} {% endif %}
{% if author.vine %} {% if author.vine %}
<li><a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs"> <li>
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
Vine <i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine
</a></li> </a>
</li>
{% endif %} {% endif %}
{% include author-profile-custom-links.html %}
</ul> </ul>
</div> </div>
</div> </div>
+4
View File
@@ -0,0 +1,4 @@
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
{% include video id=video_id provider=video_provider %}
+2 -2
View File
@@ -6,9 +6,9 @@
{% assign words = page.content | strip_html | number_of_words %} {% assign words = page.content | strip_html | number_of_words %}
{% endif %} {% endif %}
{% if words < 180 %} {% if words < words_per_minute %}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }} {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words < 360 %} {% elsif words == words_per_minute %}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %} {% else %}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }} {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
+11
View File
@@ -0,0 +1,11 @@
{% capture video_id %}{{ include.id }}{% endcapture %}
{% capture video_provider %}{{ include.provider }}{% endcapture %}
<!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container">
{% if video_provider == "vimeo" %}
<iframe src="http://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
{% elsif video_provider == "youtube" %}
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div>
+2
View File
@@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
+3 -1
View File
@@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
@@ -71,4 +73,4 @@ layout: default
</div> </div>
</div> </div>
{% endif %} {% endif %}
</div> </div>
+2
View File
@@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
<div id="main" role="main"> <div id="main" role="main">
+2 -3
View File
@@ -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"
modified: 2016-11-03T11:55:22-04:00 modified: 2017-01-24T09:40:33-05:00
--- ---
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:. Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
@@ -30,7 +30,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](https://staticman.net/), and custom). - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom).
- [Google Analytics](https://www.google.com/analytics/) support. - [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portguese, Chinese, French, German, Italian, Spanish, and Turkish - UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Nepali (Nepalese), Spanish, and Turkish
## Demo Pages ## Demo Pages
@@ -75,7 +75,6 @@ For even more demo pages check the [posts archive][year-archive].
- [FitVids.JS](http://fitvidsjs.com/) - [FitVids.JS](http://fitvidsjs.com/)
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV) - Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV)
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll) - [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
- [Stickyfill](https://github.com/wilddeer/stickyfill)
--- ---
+1 -1
View File
@@ -7,7 +7,7 @@ header:
cta_label: "<i class='fa fa-download'></i> Install Now" cta_label: "<i class='fa 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.0.9">Latest release v4.0.9</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.2.0">Latest release v4.2.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,60 @@
---
title: "Layout: Header Video"
header:
video:
id: XsxDH4HcOWA
provider: youtube
categories:
- Layout
- Uncategorized
tags:
- video
- layout
---
This post should display a **header with a responsive video**, if the theme supports it.
## Settings
| Parameter | Required | Description |
|---------- |--------- | ----------- |
| `id` | **Required** | ID of the video |
| `provider` | **Required** | Hosting provider of the video, either `youtube` or `vimeo` |
### YouTube
To embed the following YouTube video at url `https://www.youtube.com/watch?v=XsxDH4HcOWA` (long version) or `https://youtu.be/XsxDH4HcOWA` (short version) into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="XsxDH4HcOWA" provider="youtube" %}{% endraw %}
```
{% include video id="XsxDH4HcOWA" provider="youtube" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: XsxDH4HcOWA
provider: youtube
```
### Vimeo
To embed the following Vimeo video at url `https://vimeo.com/97649261` into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="97649261" provider="vimeo" %}{% endraw %}
```
{% include video id="97649261" provider="vimeo" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: 97649261
provider: vimeo
```
+1
View File
@@ -75,6 +75,7 @@
margin-left: -1px; margin-left: -1px;
a { a {
display: block;
margin-bottom: 0.25em; margin-bottom: 0.25em;
padding: 0.5em 1em; padding: 0.5em 1em;
font-family: $sans-serif; font-family: $sans-serif;
+37 -1
View File
@@ -467,4 +467,40 @@ a.reversefootnote {
.required { .required {
color: $danger-color; color: $danger-color;
font-weight: bold; font-weight: bold;
} }
/*
Google Custom Search Engine
========================================================================== */
.gsc-control-cse {
table, tr, td {
border: 0; /* remove table borders widget */
}
}
/*
Responsive Video Embed
========================================================================== */
.responsive-video-container {
position: relative;
margin-bottom: 1em;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
iframe,
object,
embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
/*! /*!
* Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/ */
+56
View File
@@ -605,6 +605,7 @@
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; } .#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; } .#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
.#{$fa-css-prefix}-battery-4:before, .#{$fa-css-prefix}-battery-4:before,
.#{$fa-css-prefix}-battery:before,
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; } .#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
.#{$fa-css-prefix}-battery-3:before, .#{$fa-css-prefix}-battery-3:before,
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; } .#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
@@ -731,3 +732,58 @@
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; } .#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
.#{$fa-css-prefix}-fa:before, .#{$fa-css-prefix}-fa:before,
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; } .#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; }
.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; }
.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; }
.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; }
.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; }
.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; }
.#{$fa-css-prefix}-vcard:before,
.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; }
.#{$fa-css-prefix}-vcard-o:before,
.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; }
.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; }
.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; }
.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; }
.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; }
.#{$fa-css-prefix}-drivers-license:before,
.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; }
.#{$fa-css-prefix}-drivers-license-o:before,
.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; }
.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; }
.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; }
.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; }
.#{$fa-css-prefix}-thermometer-4:before,
.#{$fa-css-prefix}-thermometer:before,
.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; }
.#{$fa-css-prefix}-thermometer-3:before,
.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; }
.#{$fa-css-prefix}-thermometer-2:before,
.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; }
.#{$fa-css-prefix}-thermometer-1:before,
.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; }
.#{$fa-css-prefix}-thermometer-0:before,
.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; }
.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; }
.#{$fa-css-prefix}-bathtub:before,
.#{$fa-css-prefix}-s15:before,
.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; }
.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; }
.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; }
.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; }
.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; }
.#{$fa-css-prefix}-times-rectangle:before,
.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; }
.#{$fa-css-prefix}-times-rectangle-o:before,
.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; }
.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; }
.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; }
.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; }
.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; }
.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; }
.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; }
.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; }
.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; }
.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; }
.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; }
.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; }
+58 -2
View File
@@ -4,14 +4,18 @@
$fa-font-path: "../fonts" !default; $fa-font-path: "../fonts" !default;
$fa-font-size-base: 14px !default; $fa-font-size-base: 14px !default;
$fa-line-height-base: 1 !default; $fa-line-height-base: 1 !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.6.3/fonts" !default; // for referencing Bootstrap CDN font files directly //$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix: fa !default; $fa-css-prefix: fa !default;
$fa-version: "4.6.3" !default; $fa-version: "4.7.0" !default;
$fa-border-color: #eee !default; $fa-border-color: #eee !default;
$fa-inverse: #fff !default; $fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default; $fa-li-width: (30em / 14) !default;
$fa-var-500px: "\f26e"; $fa-var-500px: "\f26e";
$fa-var-address-book: "\f2b9";
$fa-var-address-book-o: "\f2ba";
$fa-var-address-card: "\f2bb";
$fa-var-address-card-o: "\f2bc";
$fa-var-adjust: "\f042"; $fa-var-adjust: "\f042";
$fa-var-adn: "\f170"; $fa-var-adn: "\f170";
$fa-var-align-center: "\f037"; $fa-var-align-center: "\f037";
@@ -60,11 +64,15 @@ $fa-var-automobile: "\f1b9";
$fa-var-backward: "\f04a"; $fa-var-backward: "\f04a";
$fa-var-balance-scale: "\f24e"; $fa-var-balance-scale: "\f24e";
$fa-var-ban: "\f05e"; $fa-var-ban: "\f05e";
$fa-var-bandcamp: "\f2d5";
$fa-var-bank: "\f19c"; $fa-var-bank: "\f19c";
$fa-var-bar-chart: "\f080"; $fa-var-bar-chart: "\f080";
$fa-var-bar-chart-o: "\f080"; $fa-var-bar-chart-o: "\f080";
$fa-var-barcode: "\f02a"; $fa-var-barcode: "\f02a";
$fa-var-bars: "\f0c9"; $fa-var-bars: "\f0c9";
$fa-var-bath: "\f2cd";
$fa-var-bathtub: "\f2cd";
$fa-var-battery: "\f240";
$fa-var-battery-0: "\f244"; $fa-var-battery-0: "\f244";
$fa-var-battery-1: "\f243"; $fa-var-battery-1: "\f243";
$fa-var-battery-2: "\f242"; $fa-var-battery-2: "\f242";
@@ -214,19 +222,25 @@ $fa-var-dollar: "\f155";
$fa-var-dot-circle-o: "\f192"; $fa-var-dot-circle-o: "\f192";
$fa-var-download: "\f019"; $fa-var-download: "\f019";
$fa-var-dribbble: "\f17d"; $fa-var-dribbble: "\f17d";
$fa-var-drivers-license: "\f2c2";
$fa-var-drivers-license-o: "\f2c3";
$fa-var-dropbox: "\f16b"; $fa-var-dropbox: "\f16b";
$fa-var-drupal: "\f1a9"; $fa-var-drupal: "\f1a9";
$fa-var-edge: "\f282"; $fa-var-edge: "\f282";
$fa-var-edit: "\f044"; $fa-var-edit: "\f044";
$fa-var-eercast: "\f2da";
$fa-var-eject: "\f052"; $fa-var-eject: "\f052";
$fa-var-ellipsis-h: "\f141"; $fa-var-ellipsis-h: "\f141";
$fa-var-ellipsis-v: "\f142"; $fa-var-ellipsis-v: "\f142";
$fa-var-empire: "\f1d1"; $fa-var-empire: "\f1d1";
$fa-var-envelope: "\f0e0"; $fa-var-envelope: "\f0e0";
$fa-var-envelope-o: "\f003"; $fa-var-envelope-o: "\f003";
$fa-var-envelope-open: "\f2b6";
$fa-var-envelope-open-o: "\f2b7";
$fa-var-envelope-square: "\f199"; $fa-var-envelope-square: "\f199";
$fa-var-envira: "\f299"; $fa-var-envira: "\f299";
$fa-var-eraser: "\f12d"; $fa-var-eraser: "\f12d";
$fa-var-etsy: "\f2d7";
$fa-var-eur: "\f153"; $fa-var-eur: "\f153";
$fa-var-euro: "\f153"; $fa-var-euro: "\f153";
$fa-var-exchange: "\f0ec"; $fa-var-exchange: "\f0ec";
@@ -294,6 +308,7 @@ $fa-var-fort-awesome: "\f286";
$fa-var-forumbee: "\f211"; $fa-var-forumbee: "\f211";
$fa-var-forward: "\f04e"; $fa-var-forward: "\f04e";
$fa-var-foursquare: "\f180"; $fa-var-foursquare: "\f180";
$fa-var-free-code-camp: "\f2c5";
$fa-var-frown-o: "\f119"; $fa-var-frown-o: "\f119";
$fa-var-futbol-o: "\f1e3"; $fa-var-futbol-o: "\f1e3";
$fa-var-gamepad: "\f11b"; $fa-var-gamepad: "\f11b";
@@ -326,6 +341,7 @@ $fa-var-google-plus-square: "\f0d4";
$fa-var-google-wallet: "\f1ee"; $fa-var-google-wallet: "\f1ee";
$fa-var-graduation-cap: "\f19d"; $fa-var-graduation-cap: "\f19d";
$fa-var-gratipay: "\f184"; $fa-var-gratipay: "\f184";
$fa-var-grav: "\f2d6";
$fa-var-group: "\f0c0"; $fa-var-group: "\f0c0";
$fa-var-h-square: "\f0fd"; $fa-var-h-square: "\f0fd";
$fa-var-hacker-news: "\f1d4"; $fa-var-hacker-news: "\f1d4";
@@ -342,6 +358,7 @@ $fa-var-hand-rock-o: "\f255";
$fa-var-hand-scissors-o: "\f257"; $fa-var-hand-scissors-o: "\f257";
$fa-var-hand-spock-o: "\f259"; $fa-var-hand-spock-o: "\f259";
$fa-var-hand-stop-o: "\f256"; $fa-var-hand-stop-o: "\f256";
$fa-var-handshake-o: "\f2b5";
$fa-var-hard-of-hearing: "\f2a4"; $fa-var-hard-of-hearing: "\f2a4";
$fa-var-hashtag: "\f292"; $fa-var-hashtag: "\f292";
$fa-var-hdd-o: "\f0a0"; $fa-var-hdd-o: "\f0a0";
@@ -365,8 +382,12 @@ $fa-var-hourglass-start: "\f251";
$fa-var-houzz: "\f27c"; $fa-var-houzz: "\f27c";
$fa-var-html5: "\f13b"; $fa-var-html5: "\f13b";
$fa-var-i-cursor: "\f246"; $fa-var-i-cursor: "\f246";
$fa-var-id-badge: "\f2c1";
$fa-var-id-card: "\f2c2";
$fa-var-id-card-o: "\f2c3";
$fa-var-ils: "\f20b"; $fa-var-ils: "\f20b";
$fa-var-image: "\f03e"; $fa-var-image: "\f03e";
$fa-var-imdb: "\f2d8";
$fa-var-inbox: "\f01c"; $fa-var-inbox: "\f01c";
$fa-var-indent: "\f03c"; $fa-var-indent: "\f03c";
$fa-var-industry: "\f275"; $fa-var-industry: "\f275";
@@ -404,6 +425,7 @@ $fa-var-line-chart: "\f201";
$fa-var-link: "\f0c1"; $fa-var-link: "\f0c1";
$fa-var-linkedin: "\f0e1"; $fa-var-linkedin: "\f0e1";
$fa-var-linkedin-square: "\f08c"; $fa-var-linkedin-square: "\f08c";
$fa-var-linode: "\f2b8";
$fa-var-linux: "\f17c"; $fa-var-linux: "\f17c";
$fa-var-list: "\f03a"; $fa-var-list: "\f03a";
$fa-var-list-alt: "\f022"; $fa-var-list-alt: "\f022";
@@ -436,8 +458,10 @@ $fa-var-maxcdn: "\f136";
$fa-var-meanpath: "\f20c"; $fa-var-meanpath: "\f20c";
$fa-var-medium: "\f23a"; $fa-var-medium: "\f23a";
$fa-var-medkit: "\f0fa"; $fa-var-medkit: "\f0fa";
$fa-var-meetup: "\f2e0";
$fa-var-meh-o: "\f11a"; $fa-var-meh-o: "\f11a";
$fa-var-mercury: "\f223"; $fa-var-mercury: "\f223";
$fa-var-microchip: "\f2db";
$fa-var-microphone: "\f130"; $fa-var-microphone: "\f130";
$fa-var-microphone-slash: "\f131"; $fa-var-microphone-slash: "\f131";
$fa-var-minus: "\f068"; $fa-var-minus: "\f068";
@@ -502,6 +526,7 @@ $fa-var-plus: "\f067";
$fa-var-plus-circle: "\f055"; $fa-var-plus-circle: "\f055";
$fa-var-plus-square: "\f0fe"; $fa-var-plus-square: "\f0fe";
$fa-var-plus-square-o: "\f196"; $fa-var-plus-square-o: "\f196";
$fa-var-podcast: "\f2ce";
$fa-var-power-off: "\f011"; $fa-var-power-off: "\f011";
$fa-var-print: "\f02f"; $fa-var-print: "\f02f";
$fa-var-product-hunt: "\f288"; $fa-var-product-hunt: "\f288";
@@ -511,10 +536,12 @@ $fa-var-qrcode: "\f029";
$fa-var-question: "\f128"; $fa-var-question: "\f128";
$fa-var-question-circle: "\f059"; $fa-var-question-circle: "\f059";
$fa-var-question-circle-o: "\f29c"; $fa-var-question-circle-o: "\f29c";
$fa-var-quora: "\f2c4";
$fa-var-quote-left: "\f10d"; $fa-var-quote-left: "\f10d";
$fa-var-quote-right: "\f10e"; $fa-var-quote-right: "\f10e";
$fa-var-ra: "\f1d0"; $fa-var-ra: "\f1d0";
$fa-var-random: "\f074"; $fa-var-random: "\f074";
$fa-var-ravelry: "\f2d9";
$fa-var-rebel: "\f1d0"; $fa-var-rebel: "\f1d0";
$fa-var-recycle: "\f1b8"; $fa-var-recycle: "\f1b8";
$fa-var-reddit: "\f1a1"; $fa-var-reddit: "\f1a1";
@@ -541,6 +568,7 @@ $fa-var-rss-square: "\f143";
$fa-var-rub: "\f158"; $fa-var-rub: "\f158";
$fa-var-ruble: "\f158"; $fa-var-ruble: "\f158";
$fa-var-rupee: "\f156"; $fa-var-rupee: "\f156";
$fa-var-s15: "\f2cd";
$fa-var-safari: "\f267"; $fa-var-safari: "\f267";
$fa-var-save: "\f0c7"; $fa-var-save: "\f0c7";
$fa-var-scissors: "\f0c4"; $fa-var-scissors: "\f0c4";
@@ -565,6 +593,7 @@ $fa-var-shirtsinbulk: "\f214";
$fa-var-shopping-bag: "\f290"; $fa-var-shopping-bag: "\f290";
$fa-var-shopping-basket: "\f291"; $fa-var-shopping-basket: "\f291";
$fa-var-shopping-cart: "\f07a"; $fa-var-shopping-cart: "\f07a";
$fa-var-shower: "\f2cc";
$fa-var-sign-in: "\f090"; $fa-var-sign-in: "\f090";
$fa-var-sign-language: "\f2a7"; $fa-var-sign-language: "\f2a7";
$fa-var-sign-out: "\f08b"; $fa-var-sign-out: "\f08b";
@@ -581,6 +610,7 @@ $fa-var-smile-o: "\f118";
$fa-var-snapchat: "\f2ab"; $fa-var-snapchat: "\f2ab";
$fa-var-snapchat-ghost: "\f2ac"; $fa-var-snapchat-ghost: "\f2ac";
$fa-var-snapchat-square: "\f2ad"; $fa-var-snapchat-square: "\f2ad";
$fa-var-snowflake-o: "\f2dc";
$fa-var-soccer-ball-o: "\f1e3"; $fa-var-soccer-ball-o: "\f1e3";
$fa-var-sort: "\f0dc"; $fa-var-sort: "\f0dc";
$fa-var-sort-alpha-asc: "\f15d"; $fa-var-sort-alpha-asc: "\f15d";
@@ -626,6 +656,7 @@ $fa-var-subscript: "\f12c";
$fa-var-subway: "\f239"; $fa-var-subway: "\f239";
$fa-var-suitcase: "\f0f2"; $fa-var-suitcase: "\f0f2";
$fa-var-sun-o: "\f185"; $fa-var-sun-o: "\f185";
$fa-var-superpowers: "\f2dd";
$fa-var-superscript: "\f12b"; $fa-var-superscript: "\f12b";
$fa-var-support: "\f1cd"; $fa-var-support: "\f1cd";
$fa-var-table: "\f0ce"; $fa-var-table: "\f0ce";
@@ -635,6 +666,7 @@ $fa-var-tag: "\f02b";
$fa-var-tags: "\f02c"; $fa-var-tags: "\f02c";
$fa-var-tasks: "\f0ae"; $fa-var-tasks: "\f0ae";
$fa-var-taxi: "\f1ba"; $fa-var-taxi: "\f1ba";
$fa-var-telegram: "\f2c6";
$fa-var-television: "\f26c"; $fa-var-television: "\f26c";
$fa-var-tencent-weibo: "\f1d5"; $fa-var-tencent-weibo: "\f1d5";
$fa-var-terminal: "\f120"; $fa-var-terminal: "\f120";
@@ -644,6 +676,17 @@ $fa-var-th: "\f00a";
$fa-var-th-large: "\f009"; $fa-var-th-large: "\f009";
$fa-var-th-list: "\f00b"; $fa-var-th-list: "\f00b";
$fa-var-themeisle: "\f2b2"; $fa-var-themeisle: "\f2b2";
$fa-var-thermometer: "\f2c7";
$fa-var-thermometer-0: "\f2cb";
$fa-var-thermometer-1: "\f2ca";
$fa-var-thermometer-2: "\f2c9";
$fa-var-thermometer-3: "\f2c8";
$fa-var-thermometer-4: "\f2c7";
$fa-var-thermometer-empty: "\f2cb";
$fa-var-thermometer-full: "\f2c7";
$fa-var-thermometer-half: "\f2c9";
$fa-var-thermometer-quarter: "\f2ca";
$fa-var-thermometer-three-quarters: "\f2c8";
$fa-var-thumb-tack: "\f08d"; $fa-var-thumb-tack: "\f08d";
$fa-var-thumbs-down: "\f165"; $fa-var-thumbs-down: "\f165";
$fa-var-thumbs-o-down: "\f088"; $fa-var-thumbs-o-down: "\f088";
@@ -653,6 +696,8 @@ $fa-var-ticket: "\f145";
$fa-var-times: "\f00d"; $fa-var-times: "\f00d";
$fa-var-times-circle: "\f057"; $fa-var-times-circle: "\f057";
$fa-var-times-circle-o: "\f05c"; $fa-var-times-circle-o: "\f05c";
$fa-var-times-rectangle: "\f2d3";
$fa-var-times-rectangle-o: "\f2d4";
$fa-var-tint: "\f043"; $fa-var-tint: "\f043";
$fa-var-toggle-down: "\f150"; $fa-var-toggle-down: "\f150";
$fa-var-toggle-left: "\f191"; $fa-var-toggle-left: "\f191";
@@ -693,11 +738,16 @@ $fa-var-upload: "\f093";
$fa-var-usb: "\f287"; $fa-var-usb: "\f287";
$fa-var-usd: "\f155"; $fa-var-usd: "\f155";
$fa-var-user: "\f007"; $fa-var-user: "\f007";
$fa-var-user-circle: "\f2bd";
$fa-var-user-circle-o: "\f2be";
$fa-var-user-md: "\f0f0"; $fa-var-user-md: "\f0f0";
$fa-var-user-o: "\f2c0";
$fa-var-user-plus: "\f234"; $fa-var-user-plus: "\f234";
$fa-var-user-secret: "\f21b"; $fa-var-user-secret: "\f21b";
$fa-var-user-times: "\f235"; $fa-var-user-times: "\f235";
$fa-var-users: "\f0c0"; $fa-var-users: "\f0c0";
$fa-var-vcard: "\f2bb";
$fa-var-vcard-o: "\f2bc";
$fa-var-venus: "\f221"; $fa-var-venus: "\f221";
$fa-var-venus-double: "\f226"; $fa-var-venus-double: "\f226";
$fa-var-venus-mars: "\f228"; $fa-var-venus-mars: "\f228";
@@ -722,10 +772,16 @@ $fa-var-wheelchair: "\f193";
$fa-var-wheelchair-alt: "\f29b"; $fa-var-wheelchair-alt: "\f29b";
$fa-var-wifi: "\f1eb"; $fa-var-wifi: "\f1eb";
$fa-var-wikipedia-w: "\f266"; $fa-var-wikipedia-w: "\f266";
$fa-var-window-close: "\f2d3";
$fa-var-window-close-o: "\f2d4";
$fa-var-window-maximize: "\f2d0";
$fa-var-window-minimize: "\f2d1";
$fa-var-window-restore: "\f2d2";
$fa-var-windows: "\f17a"; $fa-var-windows: "\f17a";
$fa-var-won: "\f159"; $fa-var-won: "\f159";
$fa-var-wordpress: "\f19a"; $fa-var-wordpress: "\f19a";
$fa-var-wpbeginner: "\f297"; $fa-var-wpbeginner: "\f297";
$fa-var-wpexplorer: "\f2de";
$fa-var-wpforms: "\f298"; $fa-var-wpforms: "\f298";
$fa-var-wrench: "\f0ad"; $fa-var-wrench: "\f0ad";
$fa-var-xing: "\f168"; $fa-var-xing: "\f168";
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 382 KiB

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
-28
View File
@@ -25,35 +25,7 @@ $(document).ready(function(){
// FitVids init // FitVids init
$("#main").fitVids(); $("#main").fitVids();
// init sticky sidebar
$(".sticky").Stickyfill();
var stickySideBar = function(){
var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper button").is(":visible");
// console.log("has button: " + $(".author__urls-wrapper button").length === 0);
// console.log("Window Width: " + windowWidth);
// console.log("show: " + show);
//old code was if($(window).width() > 1024)
if (show) {
// fix
Stickyfill.rebuild();
Stickyfill.init();
$(".author__urls").show();
} else {
// unfix
Stickyfill.stop();
$(".author__urls").hide();
}
};
stickySideBar();
$(window).resize(function(){
stickySideBar();
});
// Follow menu drop down // Follow menu drop down
$(".author__urls-wrapper button").on("click", function() { $(".author__urls-wrapper button").on("click", function() {
$(".author__urls").fadeToggle("fast", function() {}); $(".author__urls").fadeToggle("fast", function() {});
$(".author__urls-wrapper button").toggleClass("open"); $(".author__urls-wrapper button").toggleClass("open");
+4 -5
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+6 -7
View File
@@ -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.0.9" spec.version = "4.2.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.}
@@ -15,14 +15,13 @@ Gem::Specification.new do |spec|
f.match(%r{^(assets|_(includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) f.match(%r{^(assets|_(includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
end end
spec.add_dependency "jekyll", "~> 3.3" spec.add_runtime_dependency "jekyll", "~> 3.3"
spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-sitemap", "~> 0.12" spec.add_runtime_dependency "jekyll-sitemap", "~> 1.0"
spec.add_runtime_dependency "jekyll-gist", "~> 1.4" spec.add_runtime_dependency "jekyll-gist", "~> 1.4"
spec.add_runtime_dependency "jekyll-feed", "~> 0.8" spec.add_runtime_dependency "jekyll-feed", "~> 0.8"
spec.add_runtime_dependency "jemoji", "~> 0.7" spec.add_runtime_dependency "jemoji", "~> 0.7"
spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"
end end
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "4.0.9", "version": "4.2.0",
"description": "Minimal Mistakes Jekyll theme npm build scripts", "description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -26,7 +26,7 @@
"uglify-js": "^2.6.1" "uglify-js": "^2.6.1"
}, },
"scripts": { "scripts": {
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/plugins/stickyfill.min.js assets/js/_main.js -c -m -o assets/js/main.min.js", "uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js", "watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
"build:js": "npm run uglify" "build:js": "npm run uglify"
} }
+1 -1
View File
@@ -106,7 +106,7 @@ author:
vine : vine :
weibo : weibo :
xing : xing :
youtube : youtube : # "https://youtube.com/c/MichaelRoseDesign"
# Reading Files # Reading Files
+61 -20
View File
@@ -105,7 +105,7 @@ fr: &DEFAULT_FR
menu_label : menu_label :
toc_label : "Sur cette page" toc_label : "Sur cette page"
ext_link_label : "Lien direct" ext_link_label : "Lien direct"
less_than : "plus petit que" less_than : "moins de"
minute_read : "minute de lecture" minute_read : "minute de lecture"
share_on_label : "Partager sur" share_on_label : "Partager sur"
meta_label : meta_label :
@@ -115,8 +115,8 @@ fr: &DEFAULT_FR
comments_label : "Laisser un commentaire" comments_label : "Laisser un commentaire"
comments_title : comments_title :
more_label : "Lire plus" more_label : "Lire plus"
related_label : "Vous pourriez aimer" related_label : "Vous pourriez aimer aussi"
follow_label : "Suivez moi" follow_label : "Contact"
feed_label : "Flux" feed_label : "Flux"
powered_by : "Propulsé par" powered_by : "Propulsé par"
website_label : "Site" website_label : "Site"
@@ -132,7 +132,7 @@ fr: &DEFAULT_FR
comment_form_website_label : "Site web (optionnel)" comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer" comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé" comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé." comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez." comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..." loading_label : "Chargement..."
fr-FR: fr-FR:
@@ -318,7 +318,7 @@ zh: &DEFAULT_ZH
pagination_next : "向后" pagination_next : "向后"
breadcrumb_home_label : "首页" breadcrumb_home_label : "首页"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : menu_label : "切换菜单"
toc_label : "在本页上" toc_label : "在本页上"
ext_link_label : "直接链接" ext_link_label : "直接链接"
less_than : "少于" less_than : "少于"
@@ -334,22 +334,22 @@ zh: &DEFAULT_ZH
related_label : "猜您还喜欢" related_label : "猜您还喜欢"
follow_label : "关注:" follow_label : "关注:"
feed_label : "Feed" feed_label : "Feed"
powered_by : "Powered by" powered_by : "技术来自于"
website_label : "网站" website_label : "网站"
email_label : "Email" email_label : "电子邮箱"
recent_posts : "最新文章" recent_posts : "最新文章"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml" undefined_wpm : "_config.yml配置中words_per_minute字段未定义"
comment_form_info : "Your email address will not be published. Required fields are marked" comment_form_info : "您的电子邮箱地址并不会被展示。请填写标记为必须的字段。"
comment_form_comment_label : "Comment" comment_form_comment_label : "评论"
comment_form_md_info : "Markdown is supported." comment_form_md_info : "Markdown语法已支持。"
comment_form_name_label : "Name" comment_form_name_label : "姓名"
comment_form_email_label : "Email address" comment_form_email_label : "电子邮箱"
comment_form_website_label : "Website (optional)" comment_form_website_label : "网站(可选)"
comment_btn_submit : "Submit Comment" comment_btn_submit : "提交评论"
comment_btn_submitted : "Submitted" comment_btn_submitted : "已提交"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved." comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "Loading..." loading_label : "正在加载..."
zh-CN: zh-CN:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-HK: zh-HK:
@@ -411,6 +411,47 @@ de-LI:
<<: *DEFAULT_DE <<: *DEFAULT_DE
de-LU: de-LU:
<<: *DEFAULT_DE <<: *DEFAULT_DE
# Nepali (Nepal)
# -----------------
ne: &DEFAULT_NE
page : "पृष्‍ठ"
pagination_previous : "अघिल्लो"
pagination_next : "अर्को"
breadcrumb_home_label : "गृह"
breadcrumb_separator : "/"
menu_label : "टगल मेनु"
toc_label : "यो पृष्‍ठमा"
ext_link_label : "सिधा सम्पर्क"
less_than : "कम्तिमा"
minute_read : "मिनेट पढ्नुहोस्"
share_on_label : "शेयर गर्नुहोस्"
meta_label :
tags_label : "ट्यागहरू:"
categories_label : "वर्गहरु:"
date_label : "अद्यावधिक:"
comments_label : "टिप्पणी दिनुहोस्"
comments_title : "टिप्पणीहरू"
more_label : "अझै सिक्नुहोस्"
related_label : "तपाईं रुचाउन सक्नुहुन्छ "
follow_label : "पछ्याउनुहोस्:"
feed_label : "फिड"
powered_by : "Powered by"
website_label : "वेबसाइट"
email_label : "इमेल"
recent_posts : "ताजा लेखहरु"
undefined_wpm : "अपरिभाषित प्यारामिटर शब्दहरू_प्रति_मिनेट at _config.yml"
comment_form_info : "तपाइँको इमेल ठेगाना प्रकाशित गरिने छैन।आवश्यक जानकारीहरुमा चिन्ह लगाइको छ"
comment_form_comment_label : "टिप्पणी"
comment_form_md_info : "मार्कडाउन समर्थित छ।"
comment_form_name_label : "नाम"
comment_form_email_label : "इमेल ठेगाना"
comment_form_website_label : "वेबसाइट (वैकल्पिक)"
comment_btn_submit : "टिप्पणी दिनुहोस् "
comment_btn_submitted : "टिप्पणी भयो"
comment_success_msg : "तपाईंको टिप्पणीको लागि धन्यवाद! एक पटक यो अनुमोदन गरेपछी यो साइटमा देखाउनेछ।"
comment_error_msg : "माफ गर्नुहोस्, तपाईंको टिप्पणी त्रुटि थियो।सबै आवश्यक जानकारीहरु पूरा गरिएको छ भने निश्चित गर्नुहोस् र फेरि प्रयास गर्नुहोस्।"
loading_label : "लोड हुँदैछ ..."
ne-NP:
<<: *DEFAULT_NE
# Another locale # Another locale
# -------------- # --------------
@@ -0,0 +1,60 @@
---
title: "Layout: Header Video"
header:
video:
id: XsxDH4HcOWA
provider: youtube
categories:
- Layout
- Uncategorized
tags:
- video
- layout
---
This post should display a **header with a responsive video**, if the theme supports it.
## Settings
| Parameter | Required | Description |
|---------- |--------- | ----------- |
| `id` | **Required** | ID of the video |
| `provider` | **Required** | Hosting provider of the video, either `youtube` or `vimeo` |
### YouTube
To embed the following YouTube video at url `https://www.youtube.com/watch?v=XsxDH4HcOWA` (long version) or `https://youtu.be/XsxDH4HcOWA` (short version) into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="XsxDH4HcOWA" provider="youtube" %}{% endraw %}
```
{% include video id="XsxDH4HcOWA" provider="youtube" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: XsxDH4HcOWA
provider: youtube
```
### Vimeo
To embed the following Vimeo video at url `https://vimeo.com/97649261` into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="97649261" provider="vimeo" %}{% endraw %}
```
{% include video id="97649261" provider="vimeo" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: 97649261
provider: vimeo
```