1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Optimize performance.

This commit is contained in:
Cotes Chung
2019-11-25 20:56:50 +08:00
parent 0e6edb0d1a
commit bec924ed4c
7 changed files with 142 additions and 80 deletions

View File

@@ -5,23 +5,22 @@ layout: default
# MIT License
---
<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">
{% if page.dynamic_title %}
<h1 class="dynamic-title">{{ page.title }}</h1>
<div class="post-content">
<div class="row d-flex justify-content-center bg-white">
<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">
{% if page.dynamic_title %}
<h1 class="dynamic-title">{{ page.title }}</h1>
<div class="post-content">
{{ content }}
</div>
{% else %}
{{ content }}
</div>
{% endif %}
{% else %}
</div> <!-- #page -->
{{ content }}
</div><!-- .col-12 -->
{% endif %}
{% include panel.html %}
</div> <!-- #page -->
</div><!-- end .col-12 -->
{% include panel.html %}
</div>