Remove #disqus_thread duplicate

`<section id="disqus_thread"></section>` is set in `_includes/comments.html` and not needed in `_includes/comment-provider/disqus.html`.

Fixes #1199
This commit is contained in:
Michael Rose 2017-08-28 11:55:07 -04:00
parent 7c863f0094
commit 0d87190f36
4 changed files with 3 additions and 3 deletions

View file

@ -10,6 +10,7 @@
- Fix license URL in README file. [#1189](https://github.com/mmistakes/minimal-mistakes/pull/1189)
- Reduce amount of blank pages when printing in Chrome. [#1196](https://github.com/mmistakes/minimal-mistakes/issues/1196)
- Fix Chinese `date_label` translation in `ui-text.yml`. [#1205](https://github.com/mmistakes/minimal-mistakes/pull/1205)
- Remove `#disqus_thread` duplicate from `comments-providers/disqus.html` as it is already in `comments.html` include. [#1199](https://github.com/mmistakes/minimal-mistakes/issues/1199)
## [4.5.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.1)

View file

@ -1,5 +1,4 @@
{% if site.comments.disqus.shortname %}
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable

View file

@ -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-08-28T10:47:14-04:00
last_modified_at: 2017-08-28T11:53:25-04:00
---
## Unreleased
@ -19,6 +19,7 @@ last_modified_at: 2017-08-28T10:47:14-04:00
- Fix license URL in README file. [#1189](https://github.com/mmistakes/minimal-mistakes/pull/1189)
- Reduce amount of blank pages when printing in Chrome. [#1196](https://github.com/mmistakes/minimal-mistakes/issues/1196)
- Fix Chinese `date_label` translation in `ui-text.yml`. [#1205](https://github.com/mmistakes/minimal-mistakes/pull/1205)
- Remove `#disqus_thread` duplicate from `comments-providers/disqus.html` as it is already in `comments.html` include. [#1199](https://github.com/mmistakes/minimal-mistakes/issues/1199)
## [4.5.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.1)

View file

@ -1,5 +1,4 @@
{% if site.comments.disqus.shortname %}
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable