Import comment to papes.

This commit is contained in:
Cotes Chung 2020-02-27 15:47:57 +08:00
parent bc8f8cb132
commit f3280bc136

View file

@ -9,7 +9,7 @@ layout: default
<div class="row"> <div class="row">
<div class="col-12 col-lg-11 col-xl-8"> <div class="col-12 col-lg-11 col-xl-8">
<div id="page" class="post pb-5 pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4 pl-xl-3"> <div id="page" class="post pb-5 pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4 pl-xl-3 mb-md-4">
{% if page.dynamic_title %} {% if page.dynamic_title %}
<h1 class="dynamic-title">{{ page.title }}</h1> <h1 class="dynamic-title">{{ page.title }}</h1>
<div class="post-content"> <div class="post-content">
@ -18,11 +18,21 @@ layout: default
{% else %} {% else %}
{{ content }} {{ content }}
{% endif %} {% endif %}
</div> <!-- #page --> </div> <!-- #page -->
</div><!-- .col-12 --> </div><!-- .col-12 -->
{% include panel.html %} {% include panel.html %}
</div> </div>
<div class="row">
<div class="col-12 col-lg-11 col-xl-8">
<div class="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4">
{% if site.disqus.comments and page.comments %}
{% include disqus.html %}
{% endif %}
</div> <!-- .pl-1 pr-1 -->
</div> <!-- .col-12 -->
</div> <!-- .row -->