diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a27afd9..6a663983 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,6 @@ * Add optional `description` key to masthead links for clarifying their purpose with the `title` attribute. [#1380](https://github.com/mmistakes/minimal-mistakes/pull/1380) * Incorporate site search into masthead. [#1383](https://github.com/mmistakes/minimal-mistakes/pull/1383) * Update gem dependencies. [#1388](https://github.com/mmistakes/minimal-mistakes/pull/1388) -* Fix zh-HK UI text to point to Traditional Chinese. [#1374](https://github.com/mmistakes/minimal-mistakes/issues/1374) [#1389](https://github.com/mmistakes/minimal-mistakes/pull/1389) ### Bug Fixes @@ -19,6 +18,7 @@ * Rename Naver verification `naver_site_verification` to be consistent with other site variables. * Fix button class in "Post with Table Of Contents" demo content. [#1368](https://github.com/mmistakes/minimal-mistakes/pull/1368) * Fix capitalization of WordPress in documentation. [#1381](https://github.com/mmistakes/minimal-mistakes/pull/1381) +* Fix zh-HK UI text to point to Traditional Chinese. [#1374](https://github.com/mmistakes/minimal-mistakes/issues/1374) [#1389](https://github.com/mmistakes/minimal-mistakes/pull/1389) ## [4.7.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.1) diff --git a/README.md b/README.md index 146b2d11..c03c4a83 100644 --- a/README.md +++ b/README.md @@ -117,8 +117,6 @@ To update the theme run `bundle update`. - jekyll-remote-theme ``` -**Note:** [jekyll-remote-theme](https://github.com/benbalter/jekyll-remote-theme) is currently in beta on GitHub Pages. In my tests it works as advertised, with the occasional failure due to missing `_includes` and `_layouts` --- your results may vary. - ## Usage For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/). diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 55ddae20..99191b6b 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -9,15 +9,32 @@ {% if author.avatar %}
{% if author.avatar contains "://" %} - {{ author.name }} + {% assign author_src = author.avatar %} {% else %} - {{ author.name }} + {% assign author_src = author.avatar | absolute_url %} + {% endif %} + + {% if author.home %} + {% if author.home contains "://" %} + {% assign author_link = author.home %} + {% else %} + {% assign author_link = author.home | absolute_url %} + {% endif %} + + {{ author.name }} + + {% else %} + {{ author.name }} {% endif %}
{% endif %}
-

{{ author.name }}

+ {% if author.home %} +

{{ author.name }}

+ {% else %} +

{{ author.name }}

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

{{ author.bio }} diff --git a/_sass/minimal-mistakes/_sidebar.scss b/_sass/minimal-mistakes/_sidebar.scss index 8e7d70b5..1b389bd3 100644 --- a/_sass/minimal-mistakes/_sidebar.scss +++ b/_sass/minimal-mistakes/_sidebar.scss @@ -128,6 +128,11 @@ padding-left: 0; padding-right: 0; } + + a { + color: inherit; + text-decoration: none; + } } .author__name { diff --git a/docs/_data/comments/layout-header-overlay-image/comment-1512840683260.yml b/docs/_data/comments/layout-header-overlay-image/comment-1512840683260.yml new file mode 100644 index 00000000..7a2e2f5b --- /dev/null +++ b/docs/_data/comments/layout-header-overlay-image/comment-1512840683260.yml @@ -0,0 +1,10 @@ +_id: c6489fc0-dd06-11e7-be15-a3469e549c00 +message: >- + Have you think about adding an "height"-limit feature to the tos, allowing + users to use very heigh images, and not struggling with custom CSS and + classes?:-) +name: Tobias Nordahl Kristensen +email: 86a84379052b26c55c912dc27ddd8647 +url: '' +hidden: '' +date: '2017-12-09T17:31:23.259Z' diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index c59bb836..3e071924 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -646,6 +646,7 @@ author: bio : "My awesome biography constrained to a sentence or two goes here." email : # optional uri : "http://your-site.com" + home : # null (default), "absolute or relative url to link to author home" ``` 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. diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 731e6c64..a650f0b1 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -4,7 +4,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2017-12-07T10:28:26-05:00 +last_modified_at: 2017-12-07T19:10:10-05:00 toc: true --- @@ -20,7 +20,6 @@ toc: true * Add optional `description` key to masthead links for clarifying their purpose with the `title` attribute. [#1380](https://github.com/mmistakes/minimal-mistakes/pull/1380) * Incorporate site search into masthead. [#1383](https://github.com/mmistakes/minimal-mistakes/pull/1383) * Update gem dependencies. [#1388](https://github.com/mmistakes/minimal-mistakes/pull/1388) -* Fix zh-HK UI text to point to Traditional Chinese. [#1374](https://github.com/mmistakes/minimal-mistakes/issues/1374) [#1389](https://github.com/mmistakes/minimal-mistakes/pull/1389) ### Bug Fixes @@ -29,6 +28,7 @@ toc: true * Rename Naver verification `naver_site_verification` to be consistent with other site variables. * Fix button class in "Post with Table Of Contents" demo content. [#1368](https://github.com/mmistakes/minimal-mistakes/pull/1368) * Fix capitalization of WordPress in documentation. [#1381](https://github.com/mmistakes/minimal-mistakes/pull/1381) +* Fix zh-HK UI text to point to Traditional Chinese. [#1374](https://github.com/mmistakes/minimal-mistakes/issues/1374) [#1389](https://github.com/mmistakes/minimal-mistakes/pull/1389) ## [4.7.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.1) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 396dcb9f..ff5ad647 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -3,7 +3,7 @@