Skip to content

Loading…

disqus comments ui was not appearing in the correct place. #2

Merged
merged 2 commits into from

2 participants

@eamonnfaherty

No description provided.

@bkutil bkutil merged commit e66181d into bkutil:master
@bkutil
Owner

Hi,

thank you for your patches. I'll check the MS explorer scenario separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 11, 2012
  1. @eamonnfaherty

    disqus was broken on safari, ff and chrome (didn't check IE). The com…

    eamonnfaherty committed
    …ments ui was appearing split on the right and below.
  2. @eamonnfaherty
Showing with 12 additions and 12 deletions.
  1. +6 −6 source/_layouts/page.html
  2. +6 −6 source/_layouts/post.html
View
12 source/_layouts/page.html
@@ -24,15 +24,15 @@ <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% el
{% unless page.sharing == false %}
{% include post/sharing.html %}
{% endunless %}
+ {% if site.disqus_short_name and page.comments == true %}
+ <section>
+ <h1>Comments</h1>
+ <div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
+ </section>
+ {% endif %}
</footer>
{% endunless %}
</article>
-{% if site.disqus_short_name and page.comments == true %}
- <section>
- <h1>Comments</h1>
- <div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
- </section>
-{% endif %}
{% unless page.sidebar == false %}
<aside class="sidebar-nav span3">
{% if site.page_asides.size %}
View
12 source/_layouts/post.html
@@ -18,6 +18,12 @@
{% unless page.sharing == false %}
{% include post/sharing.html %}
{% endunless %}
+ {% if site.disqus_short_name and page.comments == true %}
+ <section>
+ <h1>Comments</h1>
+ <div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
+ </section>
+ {% endif %}
<ul class="pager">
{% if page.previous.url %}
<li class="previous"><a class="basic-alignment left"
@@ -33,12 +39,6 @@
</ul>
</footer>
</article>
-{% if site.disqus_short_name and page.comments == true %}
- <section>
- <h1>Comments</h1>
- <div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
- </section>
-{% endif %}
{% unless page.sidebar == false %}
<aside class="sidebar-nav span3">
{% if site.post_asides.size %}
Something went wrong with that request. Please try again.