Merge branch 'release/3.1.3'
This commit is contained in:
commit
b0e9c10ecb
5 changed files with 36 additions and 21 deletions
15
CHANGELOG.md
15
CHANGELOG.md
|
@ -1,3 +1,18 @@
|
||||||
|
## [3.1.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.3)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Improve `site.locale` documentation [#284](https://github.com/mmistakes/minimal-mistakes/issues/284)
|
||||||
|
- Remove ProTip note about protocol-less `site.url` as it is an anti-pattern [#288](https://github.com/mmistakes/minimal-mistakes/issues/288)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix `og_image` URL in seo.html [#277](https://github.com/mmistakes/minimal-mistakes/issues/277)
|
||||||
|
- Fix `author_profile` toggle when assigned in a `_layout` [#285](https://github.com/mmistakes/minimal-mistakes/issues/285)
|
||||||
|
- Fix typo in `build:all` npm script [#283](https://github.com/mmistakes/minimal-mistakes/pull/283)
|
||||||
|
- Fix URL typo documentation [#287](https://github.com/mmistakes/minimal-mistakes/issues/287)
|
||||||
|
- SEO author bug. If `twitter.username` is set and `author.twitter` is `nil` bad things happen. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
|
||||||
|
|
||||||
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
|
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancement
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
|
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% assign seo_author = page.author | default: page.authors[0] | default: site.author %}
|
{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %}
|
||||||
{% if seo_author %}
|
{% if seo_author %}
|
||||||
{% if seo_author.twitter %}
|
{% if seo_author.twitter %}
|
||||||
{% assign seo_author_twitter = seo_author.twitter %}
|
{% assign seo_author_twitter = seo_author.twitter %}
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
"@context": "http://schema.org",
|
"@context": "http://schema.org",
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
"url": {{ seo_url | jsonify }},
|
"url": {{ seo_url | jsonify }},
|
||||||
"logo": {{ site.og_image | prepend: "/" | prepend: seo_url | jsonify }}
|
"logo": {{ site.og_image | prepend: "/images/" | prepend: base_path | jsonify }}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
{% if page.author_profile or page.sidebar %}
|
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
||||||
<div class="sidebar sticky">
|
<div class="sidebar sticky">
|
||||||
{% if page.author_profile %}{% include author-profile.html %}{% endif %}
|
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
||||||
{% if page.sidebar %}
|
{% if page.sidebar %}
|
||||||
{% for s in page.sidebar %}
|
{% for s in page.sidebar %}
|
||||||
{% if s.image %}
|
{% if s.image %}
|
||||||
|
|
|
@ -37,6 +37,6 @@
|
||||||
"watch:all": "npm-run-all --parallel watch:css watch:js",
|
"watch:all": "npm-run-all --parallel watch:css watch:js",
|
||||||
"build:css": "npm run scss && npm run autoprefixer",
|
"build:css": "npm run scss && npm run autoprefixer",
|
||||||
"build:js": "npm run uglify",
|
"build:js": "npm run uglify",
|
||||||
"build:all": "npm run build:css && build:js"
|
"build:all": "npm run build:css && npm run build:js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue