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

refactor(layout): improve margin bottom of the core block (#1116)

Improvement of commit 73af591
This commit is contained in:
Cotes Chung
2023-06-28 20:21:30 +08:00
committed by GitHub
parent b0f4ae5eec
commit 2bbfda79ad
7 changed files with 12 additions and 21 deletions

View File

@@ -40,16 +40,7 @@ refactor: true
{% endfor %}
{% endif %}
{% if paginator.total_pages > 1 %}
{% assign has_paginator = true %}
{% endif %}
<div
id="post-list"
{% unless has_paginator %}
class="mb-5"
{% endunless %}
>
<div id="post-list">
{% for post in posts %}
<a href="{{ post.url | relative_url }}" class="card-wrapper">
<div class="card post-preview flex-md-row-reverse">
@@ -114,6 +105,6 @@ refactor: true
</div>
<!-- #post-list -->
{% if has_paginator %}
{% if paginator.total_pages > 1 %}
{% include post-paginator.html %}
{% endif %}