From f9d277096c986d83465b7a1dd3675f7c724f68a9 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 16 Jun 2016 22:27:30 -0400 Subject: [PATCH] Document how to add new links to author profile - Close #299, close #332, close #360, close #365 --- _docs/05-configuration.md | 4 +- _docs/09-layouts.md | 65 ++++++++++++++++++++++ images/mm-author-profile-reddit-color.png | Bin 0 -> 16893 bytes images/mm-author-profile-reddit-gs.png | Bin 0 -> 24002 bytes 4 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 images/mm-author-profile-reddit-color.png create mode 100644 images/mm-author-profile-reddit-gs.png diff --git a/_docs/05-configuration.md b/_docs/05-configuration.md index 34c9c50e..5c418e76 100644 --- a/_docs/05-configuration.md +++ b/_docs/05-configuration.md @@ -2,7 +2,7 @@ title: "Configuration" permalink: /docs/configuration/ excerpt: "Settings for configuring and customizing the theme." -modified: 2016-06-03T15:13:17-04:00 +modified: 2016-06-16 --- {% include base_path %} @@ -362,6 +362,8 @@ author: Social media links are all optional, include the ones you want visible. In most cases you just need to add the username. If you're unsure double check `_includes/author-profile.html` to see how the URL is constructed. +To add social media links not included with the theme or customize the author sidebar further, read the full [layout documentation]({{ base_path }}/docs/layouts/#author-profile). + ## Reading Files Nothing out of the ordinary here. `include` and `exclude` may be the only things you need to alter. diff --git a/_docs/09-layouts.md b/_docs/09-layouts.md index c23a87ce..e9ebb9b2 100644 --- a/_docs/09-layouts.md +++ b/_docs/09-layouts.md @@ -305,6 +305,71 @@ defaults: **Note:** To disable the author sidebar profile for a specific post or page, add `author_profile: false` to the YAML Front Matter instead. {: .notice--warning} +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`]({{ base_path }}/docs/configuration/). + +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. + +Inside of `