From 86c2fb49dc44155969ddaef3aa943756dc346bae Mon Sep 17 00:00:00 2001 From: Tom Richards Date: Sun, 4 Dec 2016 23:25:52 -0500 Subject: [PATCH 01/20] Fix link to Discourse.org homepage in noscript section (#699) --- _includes/comments-providers/discourse.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %} From cc1f09c54c19946a705157e07abf85f4c2a4e2ac Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 12 Dec 2016 14:49:53 -0500 Subject: [PATCH 02/20] Fix padding issue with pagination buttons - Close #694 --- _sass/_navigation.scss | 1 + docs/_sass/_navigation.scss | 1 + 2 files changed, 2 insertions(+) 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/_sass/_navigation.scss b/docs/_sass/_navigation.scss index a5b301443a22..a5da695dd877 100644 --- a/docs/_sass/_navigation.scss +++ b/docs/_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; From 2215ee5c0624087a010229a35eae44b2d9b76598 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 12 Dec 2016 15:21:10 -0500 Subject: [PATCH 03/20] Add include for adding custom author profile links to sidebar --- _includes/author-profile-custom-links.html | 7 + _includes/author-profile.html | 236 +++++++++++------- docs/_docs/10-layouts.md | 31 ++- .../author-profile-custom-links.html | 7 + docs/_includes/author-profile.html | 230 ++++++++++------- 5 files changed, 310 insertions(+), 201 deletions(-) create mode 100644 _includes/author-profile-custom-links.html create mode 100644 docs/_includes/author-profile-custom-links.html diff --git a/_includes/author-profile-custom-links.html b/_includes/author-profile-custom-links.html new file mode 100644 index 000000000000..3560e2588542 --- /dev/null +++ b/_includes/author-profile-custom-links.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 6b849a3fb46c..bb822345a866 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -30,162 +30,204 @@

{{ author.name }}

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 `