Merge branch 'release/4.1.0'
This commit is contained in:
commit
f4df3d459b
13 changed files with 340 additions and 207 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,3 +1,14 @@
|
||||||
|
## [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)
|
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
7
_includes/author-profile-custom-links.html
Normal file
7
_includes/author-profile-custom-links.html
Normal file
|
@ -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>
|
||||||
|
-->
|
|
@ -30,162 +30,204 @@
|
||||||
<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">
|
<li>
|
||||||
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i>
|
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
||||||
YouTube
|
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
|
||||||
</a></li>
|
</a>
|
||||||
|
</li>
|
||||||
{% 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>
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 }})
|
||||||
|
|
|
@ -4,9 +4,20 @@ 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-12-01T15:44:03-05:00
|
modified: 2016-12-12T15:26:47-05:00
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## [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)
|
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
7
docs/_includes/author-profile-custom-links.html
Normal file
7
docs/_includes/author-profile-custom-links.html
Normal file
|
@ -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>
|
||||||
|
-->
|
|
@ -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,189 @@
|
||||||
{% 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">
|
<li>
|
||||||
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i>
|
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
||||||
YouTube
|
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
|
||||||
</a></li>
|
</a>
|
||||||
|
</li>
|
||||||
{% 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>
|
||||||
|
|
|
@ -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.10">Latest release v4.0.10</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.1.0">Latest release v4.1.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"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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.10"
|
spec.version = "4.1.0"
|
||||||
spec.authors = ["Michael Rose"]
|
spec.authors = ["Michael Rose"]
|
||||||
|
|
||||||
spec.summary = %q{A flexible two-column Jekyll theme.}
|
spec.summary = %q{A flexible two-column Jekyll theme.}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.0.10",
|
"version": "4.1.0",
|
||||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue