minimal-mistakes-jekyll 4.0.2 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f80418c095d767c9b35d2d53442ccdf70dd8e4c2
4
- data.tar.gz: 8540ed824b2a0535f26284f9ad6efae1648549de
3
+ metadata.gz: a51a32ed24fcceef4d302dd4baa0269722dd690b
4
+ data.tar.gz: a706d8bbfedbd8e08c37219c4992268373bfccba
5
5
  SHA512:
6
- metadata.gz: 1711be638cd11fbecd1e4d85d0b332ac9120af35e81f1d576c2a019d4cbfca55981df9932e44f6aa3612c8cb465b58e91027b44d6354ee4f88f144c1bbd99aa9
7
- data.tar.gz: 7a7c655792a09f730cc7e5bf2d388e43118e3518d8b67551e9fee2fb0c85a7079704fd91df0ca6c6c4f4d1725bcacb641a94374d0288629af3c27a7f6f5aab81
6
+ metadata.gz: 5645f456f7e58243a4de58615c18ea427b459826fed90781cd64b9498b9608c0d1fb74289740296663a02451887a5cb34de90c452795a33a7a9523627ff96b69
7
+ data.tar.gz: 2a39b349e670668ed8e94f2b84bb5c124e43012c13dd6ca05bb26b93250941db8c346f30255394135d7fc2841d0e253a937c5dfa3049197fe3a95fc4005ba966
File without changes
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
2
2
 
3
- [![GitHub release](https://img.shields.io/github/release/mmistakes/minimal-mistakes.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
3
+ [![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
4
4
 
5
5
  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:.
6
6
 
@@ -9,26 +9,22 @@ See what's new in the [CHANGELOG](CHANGELOG.md).
9
9
  [![Minimal Mistakes live preview][2]][1]
10
10
 
11
11
  [1]: https://mmistakes.github.io/minimal-mistakes/
12
- [2]: images/mm-browser-mockups.png (live preview)
12
+ [2]: screenshot.png (live preview)
13
13
 
14
- The theme includes responsive layouts (`single`, `archive`, and `splash` pages) that look great on mobile and desktop browsers.
14
+ ![layout examples](screenshot-layouts.png)
15
15
 
16
- ![layout examples](images/mm-layout-examples.png)
17
-
18
- ## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
19
-
20
- ### Notable Features
16
+ ## Notable Features
21
17
 
22
18
  - Compatible with Jekyll 3.x and GitHub Pages
23
19
  - Support for Jekyll's built-in Sass/SCSS preprocessor
24
- - Several layout options (single, archive, splash pages)
20
+ - Several responsive layout options (single, archive index, splash, and paginated home page)
25
21
  - SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
26
- - Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
27
- - Optional comments ([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).
28
- - Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
29
- - UI localized text: English (default), Spanish, French, and Turkish.
22
+ - 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.
23
+ - 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).
24
+ - [Google Analytics](https://www.google.com/analytics/) support.
25
+ - UI localized text in English (default), Brazilian Portguese, Chinese, French, German, Italian, Spanish, and Turkish
30
26
 
31
- #### Demo Pages
27
+ ## Demo Pages
32
28
 
33
29
  | Name | Description |
34
30
  | ------------------------------------------- | ----------------------------------------------------- |
@@ -40,7 +36,7 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
40
36
  | [Categories Archive][categories-archive] | Posts grouped by category. |
41
37
  | [Tags Archive][tags-archive] | Posts grouped by tags. |
42
38
 
43
- For even more demo pages check the [posts archive][year-archive].
39
+ For even more demo pages check the [posts archive][year-archive] on the demo site. Looking for the source code to peep the YAML Front Matter and Markdown used? Check the [`gh-pages`](https://github.com/mmistakes/minimal-mistakes/tree/gh-pages) branch.
44
40
 
45
41
  [header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
46
42
  [gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
@@ -51,6 +47,32 @@ For even more demo pages check the [posts archive][year-archive].
51
47
  [tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
52
48
  [year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
53
49
 
50
+ ## Quick Start
51
+
52
+ Add this line to your Jekyll site's `Gemfile`:
53
+
54
+ ```ruby
55
+ gem "minimal-mistakes-jekyll"
56
+ ```
57
+
58
+ Add this line to your Jekyll site's `_config.yml` file:
59
+
60
+ ```yaml
61
+ theme: minimal-mistakes-jekyll
62
+ ```
63
+
64
+ Run Bundler:
65
+
66
+ ```bash
67
+ bundle install
68
+ ```
69
+
70
+ ## Usage
71
+
72
+ For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
73
+
74
+ **Note:** Gem version of the theme requires Jekyll v3.3+ and is not supported with sites hosted with [GitHub Pages](https://pages.github.com/). You can still use the theme on GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
75
+
54
76
  ---
55
77
 
56
78
  ## Contributing
@@ -65,6 +87,8 @@ This goes for author sidebar links and "share button" additions -- I have no int
65
87
 
66
88
  To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
67
89
 
90
+ Theme documentation and demo pages can be found in the `gh-pages` branch, please submit pull requests against that branch.
91
+
68
92
  ---
69
93
 
70
94
  ## Credits
@@ -119,4 +143,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
119
143
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
120
144
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
121
145
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
122
- SOFTWARE.
146
+ SOFTWARE.
@@ -1,38 +1,38 @@
1
- {% if post.header.teaser %}
2
- {% capture teaser %}{{ post.header.teaser }}{% endcapture %}
3
- {% else %}
4
- {% assign teaser = site.teaser %}
5
- {% endif %}
6
-
7
- {% if post.id %}
8
- {% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
9
- {% else %}
10
- {% assign title = post.title %}
11
- {% endif %}
12
-
13
- <div class="{{ include.type | default: "list" }}__item">
14
- <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
15
- {% if include.type == "grid" and teaser %}
16
- <div class="archive__item-teaser">
17
- <img src=
18
- {% if teaser contains "://" %}
19
- "{{ teaser }}"
20
- {% else %}
21
- "{{ teaser | prepend: "/" | absolute_url }}"
22
- {% endif %}
23
- alt="">
24
- </div>
25
- {% endif %}
26
- <h2 class="archive__item-title" itemprop="headline">
27
- {% if post.link %}
28
- <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
29
- {% else %}
30
- <a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
31
- {% endif %}
32
- </h2>
33
- {% if post.read_time %}
34
- <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
35
- {% endif %}
36
- {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
37
- </article>
1
+ {% if post.header.teaser %}
2
+ {% capture teaser %}{{ post.header.teaser }}{% endcapture %}
3
+ {% else %}
4
+ {% assign teaser = site.teaser %}
5
+ {% endif %}
6
+
7
+ {% if post.id %}
8
+ {% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
9
+ {% else %}
10
+ {% assign title = post.title %}
11
+ {% endif %}
12
+
13
+ <div class="{{ include.type | default: "list" }}__item">
14
+ <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
15
+ {% if include.type == "grid" and teaser %}
16
+ <div class="archive__item-teaser">
17
+ <img src=
18
+ {% if teaser contains "://" %}
19
+ "{{ teaser }}"
20
+ {% else %}
21
+ "{{ teaser | prepend: "/" | absolute_url }}"
22
+ {% endif %}
23
+ alt="">
24
+ </div>
25
+ {% endif %}
26
+ <h2 class="archive__item-title" itemprop="headline">
27
+ {% if post.link %}
28
+ <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
29
+ {% else %}
30
+ <a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
31
+ {% endif %}
32
+ </h2>
33
+ {% if post.read_time %}
34
+ <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
35
+ {% endif %}
36
+ {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
37
+ </article>
38
38
  </div>
@@ -1,100 +1,102 @@
1
- {% if page.author and site.data.authors[page.author] %}
2
- {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
3
- {% endif %}
4
-
5
- <div itemscope itemtype="http://schema.org/Person">
6
-
7
- <div class="author__avatar">
8
- {% if author.avatar contains "://" %}
9
- <img src="{{ author.avatar }}" alt="{{ author.name }}">
10
- {% else %}
11
- <img src="{{ author.avatar | prepend: "/" | absolute_url }}" class="author__avatar" alt="{{ author.name }}">
12
- {% endif %}
13
- </div>
14
-
15
- <div class="author__content">
16
- <h3 class="author__name">{{ author.name }}</h3>
17
- {% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %}
18
- </div>
19
-
20
- <div class="author__urls-wrapper">
21
- <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
22
- <ul class="author__urls social-icons">
23
- {% if author.location %}
24
- <li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
25
- {% endif %}
26
- {% if author.uri %}
27
- <li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
28
- {% endif %}
29
- {% if author.email %}
30
- <li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li>
31
- {% endif %}
32
- {% if author.keybase %}
33
- <li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
34
- {% endif %}
35
- {% if author.twitter %}
36
- <li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
37
- {% endif %}
38
- {% if author.facebook %}
39
- <li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
40
- {% endif %}
41
- {% if author.google_plus %}
42
- <li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li>
43
- {% endif %}
44
- {% if author.linkedin %}
45
- <li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li>
46
- {% endif %}
47
- {% if author.xing %}
48
- <li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li>
49
- {% endif %}
50
- {% if author.instagram %}
51
- <li><a href="https://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
52
- {% endif %}
53
- {% if author.tumblr %}
54
- <li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li>
55
- {% endif %}
56
- {% if author.bitbucket %}
57
- <li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
58
- {% endif %}
59
- {% if author.github %}
60
- <li><a href="https://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li>
61
- {% endif %}
62
- {% if author.stackoverflow %}
63
- <li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
64
- {% endif %}
65
- {% if author.lastfm %}
66
- <li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
67
- {% endif %}
68
- {% if author.dribbble %}
69
- <li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li>
70
- {% endif %}
71
- {% if author.pinterest %}
72
- <li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
73
- {% endif %}
74
- {% if author.foursquare %}
75
- <li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li>
76
- {% endif %}
77
- {% if author.steam %}
78
- <li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li>
79
- {% endif %}
80
- {% if author.youtube %}
81
- <li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube</a></li>
82
- {% endif %}
83
- {% if author.soundcloud %}
84
- <li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li>
85
- {% endif %}
86
- {% if author.weibo %}
87
- <li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
88
- {% endif %}
89
- {% if author.flickr %}
90
- <li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
91
- {% endif %}
92
- {% if author.codepen %}
93
- <li><a href="https://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
94
- {% endif %}
95
- {% if author.vine %}
96
- <li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li>
97
- {% endif %}
98
- </ul>
99
- </div>
100
- </div>
1
+ {% if page.author and site.data.authors[page.author] %}
2
+ {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
3
+ {% endif %}
4
+
5
+ <div itemscope itemtype="http://schema.org/Person">
6
+
7
+ {% if author.avatar %}
8
+ <div class="author__avatar">
9
+ {% if author.avatar contains "://" %}
10
+ <img src="{{ author.avatar }}" alt="{{ author.name }}">
11
+ {% else %}
12
+ <img src="{{ author.avatar | prepend: "/" | absolute_url }}" class="author__avatar" alt="{{ author.name }}">
13
+ {% endif %}
14
+ </div>
15
+ {% endif %}
16
+
17
+ <div class="author__content">
18
+ <h3 class="author__name">{{ author.name }}</h3>
19
+ {% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %}
20
+ </div>
21
+
22
+ <div class="author__urls-wrapper">
23
+ <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
24
+ <ul class="author__urls social-icons">
25
+ {% if author.location %}
26
+ <li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
27
+ {% endif %}
28
+ {% if author.uri %}
29
+ <li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
30
+ {% endif %}
31
+ {% if author.email %}
32
+ <li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li>
33
+ {% endif %}
34
+ {% if author.keybase %}
35
+ <li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
36
+ {% endif %}
37
+ {% if author.twitter %}
38
+ <li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
39
+ {% endif %}
40
+ {% if author.facebook %}
41
+ <li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
42
+ {% endif %}
43
+ {% if author.google_plus %}
44
+ <li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li>
45
+ {% endif %}
46
+ {% if author.linkedin %}
47
+ <li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li>
48
+ {% endif %}
49
+ {% if author.xing %}
50
+ <li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li>
51
+ {% endif %}
52
+ {% if author.instagram %}
53
+ <li><a href="https://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
54
+ {% endif %}
55
+ {% if author.tumblr %}
56
+ <li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li>
57
+ {% endif %}
58
+ {% if author.bitbucket %}
59
+ <li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
60
+ {% endif %}
61
+ {% if author.github %}
62
+ <li><a href="https://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li>
63
+ {% endif %}
64
+ {% if author.stackoverflow %}
65
+ <li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
66
+ {% endif %}
67
+ {% if author.lastfm %}
68
+ <li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
69
+ {% endif %}
70
+ {% if author.dribbble %}
71
+ <li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li>
72
+ {% endif %}
73
+ {% if author.pinterest %}
74
+ <li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
75
+ {% endif %}
76
+ {% if author.foursquare %}
77
+ <li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li>
78
+ {% endif %}
79
+ {% if author.steam %}
80
+ <li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li>
81
+ {% endif %}
82
+ {% if author.youtube %}
83
+ <li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube</a></li>
84
+ {% endif %}
85
+ {% if author.soundcloud %}
86
+ <li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li>
87
+ {% endif %}
88
+ {% if author.weibo %}
89
+ <li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
90
+ {% endif %}
91
+ {% if author.flickr %}
92
+ <li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
93
+ {% endif %}
94
+ {% if author.codepen %}
95
+ <li><a href="https://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
96
+ {% endif %}
97
+ {% if author.vine %}
98
+ <li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li>
99
+ {% endif %}
100
+ </ul>
101
+ </div>
102
+ </div>
@@ -1,39 +1,39 @@
1
- {% case site.categories.type %}
2
- {% when "liquid" %}
3
- {% assign path_type = "#" %}
4
- {% when "jekyll-archives" %}
5
- {% assign path_type = nil %}
6
- {% endcase %}
7
-
8
- {% if page.collection != 'posts' %}
9
- {% assign path_type = nil %}
10
- {% assign crumb_path = '/' %}
11
- {% else %}
12
- {% assign crumb_path = site.categories.path %}
13
- {% endif %}
14
-
15
- <nav class="breadcrumbs">
16
- <ol itemscope itemtype="http://schema.org/BreadcrumbList">
17
- {% assign crumbs = page.url | split: '/' %}
18
- {% assign i = 1 %}
19
- {% for crumb in crumbs offset: 1 %}
20
- {% if forloop.first %}
21
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
22
- <a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
23
- <meta itemprop="position" content="{{ i }}" />
24
- </li>
25
- <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
26
- {% endif %}
27
- {% if forloop.last %}
28
- <li class="current">{{ page.title }}</li>
29
- {% else %}
30
- {% assign i = i | plus: 1 %}
31
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
32
- <a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
33
- <meta itemprop="position" content="{{ i }}" />
34
- </li>
35
- <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
36
- {% endif %}
37
- {% endfor %}
38
- </ol>
1
+ {% case site.categories.type %}
2
+ {% when "liquid" %}
3
+ {% assign path_type = "#" %}
4
+ {% when "jekyll-archives" %}
5
+ {% assign path_type = nil %}
6
+ {% endcase %}
7
+
8
+ {% if page.collection != 'posts' %}
9
+ {% assign path_type = nil %}
10
+ {% assign crumb_path = '/' %}
11
+ {% else %}
12
+ {% assign crumb_path = site.categories.path %}
13
+ {% endif %}
14
+
15
+ <nav class="breadcrumbs">
16
+ <ol itemscope itemtype="http://schema.org/BreadcrumbList">
17
+ {% assign crumbs = page.url | split: '/' %}
18
+ {% assign i = 1 %}
19
+ {% for crumb in crumbs offset: 1 %}
20
+ {% if forloop.first %}
21
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
22
+ <a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
23
+ <meta itemprop="position" content="{{ i }}" />
24
+ </li>
25
+ <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
26
+ {% endif %}
27
+ {% if forloop.last %}
28
+ <li class="current">{{ page.title }}</li>
29
+ {% else %}
30
+ {% assign i = i | plus: 1 %}
31
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
32
+ <a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
33
+ <meta itemprop="position" content="{{ i }}" />
34
+ </li>
35
+ <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
36
+ {% endif %}
37
+ {% endfor %}
38
+ </ol>
39
39
  </nav>