diff --git a/_config.yml b/_config.yml index 27f9286680e71..1cc1eeec46109 100644 --- a/_config.yml +++ b/_config.yml @@ -83,6 +83,7 @@ author: name : "Your Sidebar Name" avatar : "profile.png" bio : "Your biography for the left-hand sidebar" + pronouns : # example: "she/her" location : "Location" employer : pubmed : "https://www.ncbi.nlm.nih.gov/pubmed/?term=john+snow" diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 55449165574f6..14ac280ec2f50 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -16,6 +16,7 @@

{{ author.name }}

+ {% if author.pronouns %}

{{ author.pronouns }}

{% endif %} {% if author.bio %}

{{ author.bio }}

{% endif %}
diff --git a/_sass/_sidebar.scss b/_sass/_sidebar.scss index 892613568e1c7..734b041d40263 100644 --- a/_sass/_sidebar.scss +++ b/_sass/_sidebar.scss @@ -121,6 +121,15 @@ font-size: $type-size-5; } +.author__pronouns { + margin: 0; + + @include breakpoint($large) { + margin-top: 10px; + margin-bottom: 10px; + } +} + .author__bio { margin: 0;