File tree 7 files changed +12
-21
lines changed
7 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 1
1
<!-- The paginator for post list on HomgPage. -->
2
2
3
- < ul class ="pagination align-items-center mt-4 mb-5 ps-lg-2 ">
3
+ < ul class ="pagination align-items-center mt-4 mb-1 ps-lg-2 ">
4
4
<!-- left arrow -->
5
5
{% if paginator.previous_page %}
6
6
{% assign prev_url = paginator.previous_page_path | relative_url %}
Original file line number Diff line number Diff line change 5
5
6
6
{% include lang.html %}
7
7
8
- < div id ="page-category " class =" mb-5 " >
8
+ < div id ="page-category ">
9
9
< h1 class ="ps-lg-2 ">
10
10
< i class ="far fa-folder-open fa-fw text-muted "> </ i >
11
11
{{ page.title }}
Original file line number Diff line number Diff line change 40
40
{% endfor %}
41
41
{% endif %}
42
42
43
- {% if paginator.total_pages > 1 %}
44
- {% assign has_paginator = true %}
45
- {% endif %}
46
-
47
- < div
48
- id ="post-list "
49
- {% unless has_paginator %}
50
- class ="mb-5 "
51
- {% endunless %}
52
- >
43
+ < div id ="post-list ">
53
44
{% for post in posts %}
54
45
< a href ="{{ post.url | relative_url }} " class ="card-wrapper ">
55
46
< div class ="card post-preview flex-md-row-reverse ">
@@ -114,6 +105,6 @@ <h1 class="card-title my-2 mt-md-0">
114
105
</ div >
115
106
<!-- #post-list -->
116
107
117
- {% if has_paginator %}
108
+ {% if paginator.total_pages > 1 %}
118
109
{% include post-paginator.html %}
119
110
{% endif %}
Original file line number Diff line number Diff line change 5
5
{% include lang.html %}
6
6
{% include origin-type.html %}
7
7
8
- < div class ="row ">
8
+ {% if layout.tail_includes %}
9
+ {% assign has_tail = true %}
10
+ {% endif %}
11
+
12
+ < div class ="row{% unless has_tail %} mb-5{% endunless %} ">
9
13
<!-- core -->
10
14
< div id ="core-wrapper " class ="col-12 col-lg-11 col-xl-9 pe-xl-4 ">
11
15
{% capture padding %}
@@ -52,7 +56,7 @@ <h1 class="dynamic-title">
52
56
</ div >
53
57
54
58
<!-- tail -->
55
- {% if layout.tail_includes %}
59
+ {% if has_tail %}
56
60
< div class ="row ">
57
61
< div id ="tail-wrapper " class ="col-12 col-lg-11 col-xl-9 px-3 pe-xl-4 mt-5 ">
58
62
{% for _include in layout.tail_includes %}
Original file line number Diff line number Diff line change 5
5
6
6
{% include lang.html %}
7
7
8
- < div id ="page-tag " class =" mb-5 " >
8
+ < div id ="page-tag ">
9
9
< h1 class ="ps-lg-2 ">
10
10
< i class ="fa fa-tag fa-fw text-muted "> </ i >
11
11
{{ page.title }}
Original file line number Diff line number Diff line change 3
3
# All the Tags of posts.
4
4
---
5
5
6
- < div id ="tags " class ="d-flex flex-wrap mx-xl-2 mb-5 ">
6
+ < div id ="tags " class ="d-flex flex-wrap mx-xl-2 ">
7
7
{% assign tags = '' | split: '' %}
8
8
{% for t in site.tags %}
9
9
{% assign tags = tags | push: t[0] %}
Original file line number Diff line number Diff line change @@ -1213,10 +1213,6 @@ $btn-mb: 0.5rem;
1213
1213
}
1214
1214
1215
1215
#core-wrapper {
1216
- min-height : calc (
1217
- 100vh - #{$topbar-height } - #{$footer-height-mobile }
1218
- ) !important ;
1219
-
1220
1216
.post-content {
1221
1217
> blockquote [class ^= ' prompt-' ] {
1222
1218
@include ml-mr (-1.25rem );
You can’t perform that action at this time.
0 commit comments