{% endif %}
+
+ {% include author-profile-custom-links.html %}
diff --git a/_includes/comments-providers/discourse.html b/_includes/comments-providers/discourse.html
index 1d7723815000..aca62cc84892 100644
--- a/_includes/comments-providers/discourse.html
+++ b/_includes/comments-providers/discourse.html
@@ -9,5 +9,5 @@
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})();
-
-{% endif %}
\ No newline at end of file
+
+{% endif %}
diff --git a/_sass/_navigation.scss b/_sass/_navigation.scss
index a5b301443a22..a5da695dd877 100644
--- a/_sass/_navigation.scss
+++ b/_sass/_navigation.scss
@@ -75,6 +75,7 @@
margin-left: -1px;
a {
+ display: block;
margin-bottom: 0.25em;
padding: 0.5em 1em;
font-family: $sans-serif;
diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md
index 7e4b789b7451..2409d61b0d0b 100644
--- a/docs/_docs/10-layouts.md
+++ b/docs/_docs/10-layouts.md
@@ -7,7 +7,7 @@ single_layout_gallery:
alt: "single layout with header example"
- image_path: /assets/images/mm-layout-single-meta.png
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" %}
@@ -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 }}).
-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 `
` markup shown below.
-Inside of `
` you'll find `
` 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
-{% raw %}{% if author.twitter %}
-
```
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)
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:
@@ -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:
```html
-
{% endif %}
+
+ {% include author-profile-custom-links.html %}
diff --git a/docs/_pages/home.md b/docs/_pages/home.md
index af38ea1bca24..c42a032bf8c2 100644
--- a/docs/_pages/home.md
+++ b/docs/_pages/home.md
@@ -7,7 +7,7 @@ header:
cta_label: " Install Now"
cta_url: "/docs/quick-start-guide/"
caption:
-excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server. Latest release v4.0.10
{::nomarkdown} {:/nomarkdown}'
+excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server. Latest release v4.1.0