Skip to content

Commit

Permalink
Reposition Disqus comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanchandra committed Jan 29, 2015
1 parent 7b594cc commit c837e22
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
16 changes: 8 additions & 8 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ <h1 class="title">{{ page.title }}</h1>
<section class="post-content">
{{ content }}
</section>

<!-- Disqus -->
{% if site.theme.disqus_shortname %}
<section class="comments">
{% include disqus.html %}
</section>
{% endif %}

</article>
</article>

<!-- Disqus -->
{% if site.theme.disqus_shortname %}
<div class="comments">
{% include disqus.html %}
</div>
{% endif %}
8 changes: 7 additions & 1 deletion _sass/layouts/_posts.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
article {
article,
.comments {
@extend %padding-regular;
border-bottom: 1px solid $border-color;
float: left;
width: 100%;
}
article {
header {
margin-bottom: 6%;
text-align: center;
Expand Down Expand Up @@ -43,4 +46,7 @@ header {
.post-content {
@extend %padding-regular;
}
.comments {
@extend %padding-regular;
}
}

0 comments on commit c837e22

Please sign in to comment.