From 2215ee5c0624087a010229a35eae44b2d9b76598 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 12 Dec 2016 15:21:10 -0500 Subject: [PATCH] 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 00000000..3560e258 --- /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 6b849a3f..bb822345 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -30,162 +30,204 @@ diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 7e4b789b..2409d61b 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 `