M CHANGELOG.md => CHANGELOG.md +1 -1
@@ 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)
M README.md => README.md +0 -2
@@ 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/).
M _includes/author-profile.html => _includes/author-profile.html +20 -3
@@ 9,15 9,32 @@
{% if author.avatar %}
<div class="author__avatar">
{% if author.avatar contains "://" %}
- <img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
+ {% assign author_src = author.avatar %}
{% else %}
- <img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
+ {% 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 %}
+ <a href="{{ author_link }}">
+ <img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
+ </a>
+ {% else %}
+ <img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
{% endif %}
</div>
{% endif %}
<div class="author__content">
- <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
+ {% if author.home %}
+ <a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
+ {% else %}
+ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
+ {% endif %}
{% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
M => +5 -0
@@ 128,6 128,11 @@
padding-left: 0;
padding-right: 0;
}
a {
color: inherit;
text-decoration: none;
}
}
.author__name {