Skip to content

Commit cb8146c

Browse files
committed
Remove redundant DOM structure.
1 parent c476f9c commit cb8146c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_layouts/page.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ <h1 class="dynamic-title">{{ page.title }}</h1>
2525

2626
</div>
2727

28+
{% if site.disqus.comments and page.comments %}
2829
<div class="row">
2930
<div class="col-12 col-lg-11 col-xl-8">
3031
<div class="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4">
3132

32-
{% if site.disqus.comments and page.comments %}
33-
{% include disqus.html %}
34-
{% endif %}
33+
{% include disqus.html %}
3534

3635
</div> <!-- .pl-1 pr-1 -->
3736
</div> <!-- .col-12 -->
3837
</div> <!-- .row -->
38+
{% endif %}

0 commit comments

Comments
 (0)