Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernat BorrĂ s Civil <70479573+BernatBC@users.noreply.github.com>2022-10-30 19:46:36 +0300
committerGitHub <noreply@github.com>2022-10-30 19:46:36 +0300
commit7175b0d21ff475d4735f75af5ef9b121b32e9686 (patch)
tree63b3380760977811d1593c512bccfe186d7c706a
parent33d91af1202b804c019e512cb0a72da31d3ef3c3 (diff)
More Posts button (#680)
* Add More Posts button * Update recent-posts.html * Update recent-posts.html Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
-rw-r--r--layouts/partials/sections/recent-posts.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/sections/recent-posts.html b/layouts/partials/sections/recent-posts.html
index d68a0d9..1d7e566 100644
--- a/layouts/partials/sections/recent-posts.html
+++ b/layouts/partials/sections/recent-posts.html
@@ -24,4 +24,13 @@
{{ end }}
</div>
</div>
+ {{ if (.section.showMoreButton) }}
+ <div class="container" style="
+ display: flex;
+ align-items: center;
+ justify-content: center;">
+ <a href="/posts/" title="Show More" class="float-right btn btn-outline-info btn-sm" >
+ {{ i18n "show_more"}}</a>
+ </div>
+ {{ end }}
</div>