This commit is contained in:
Michael Rose 2017-12-11 12:37:42 -05:00
commit 979ef26ac6
8 changed files with 59 additions and 20 deletions

View file

@ -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) * 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) * 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) * 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 ### Bug Fixes
@ -19,6 +18,7 @@
* Rename Naver verification `naver_site_verification` to be consistent with other site variables. * 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 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 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) ## [4.7.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.1)

View file

@ -117,8 +117,6 @@ To update the theme run `bundle update`.
- jekyll-remote-theme - 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 ## 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/). 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/).

View file

@ -9,15 +9,32 @@
{% if author.avatar %} {% if author.avatar %}
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "://" %} {% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image"> {% assign author_src = author.avatar %}
{% else %} {% 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 %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<div class="author__content"> <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 %} {% if author.bio %}
<p class="author__bio" itemprop="description"> <p class="author__bio" itemprop="description">
{{ author.bio }} {{ author.bio }}

View file

@ -128,6 +128,11 @@
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
a {
color: inherit;
text-decoration: none;
}
} }
.author__name { .author__name {

View file

@ -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'

View file

@ -646,6 +646,7 @@ author:
bio : "My awesome biography constrained to a sentence or two goes here." bio : "My awesome biography constrained to a sentence or two goes here."
email : # optional email : # optional
uri : "http://your-site.com" 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. 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.

View file

@ -4,7 +4,7 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme." excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar: sidebar:
nav: docs nav: docs
last_modified_at: 2017-12-07T10:28:26-05:00 last_modified_at: 2017-12-07T19:10:10-05:00
toc: true 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) * 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) * 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) * 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 ### Bug Fixes
@ -29,6 +28,7 @@ toc: true
* Rename Naver verification `naver_site_verification` to be consistent with other site variables. * 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 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 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) ## [4.7.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.1)

View file

@ -3,7 +3,7 @@
<!doctype html> <!doctype html>
<!-- <!--
Minimal Mistakes Jekyll Theme 4.7.0 by Michael Rose Minimal Mistakes Jekyll Theme 4.8.0 by Michael Rose
Copyright 2017 Michael Rose - mademistakes.com | @mmistakes Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
@ -19,19 +19,27 @@
{% include browser-upgrade.html %} {% include browser-upgrade.html %}
{% include masthead.html %} {% include masthead.html %}
{{ content }} <div class="initial-content">
{{ content }}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<div align="center" style="margin: 1em 0;"> <div align="center" style="margin: 1em 0;">
<ins class="adsbygoogle" <ins class="adsbygoogle"
style="display:block; border-bottom: initial;" style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257" data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934" data-ad-slot="3049671934"
data-ad-format="auto"></ins> data-ad-format="auto"></ins>
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> </div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({}); {% if site.search == true %}
</script> <div class="search-content">
{% include search_form.html %}
</div>
{% endif %}
<div class="page__footer"> <div class="page__footer">
<footer> <footer>