summaryrefslogtreecommitdiff
path: root/_includes/views/pagination.html
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2023-08-26 16:28:58 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2023-08-26 18:27:56 +0800
commit2d389272f1f0efc01f2a958f17e1ed73578d5917 (patch)
treecf23ac38ce026598afbd493c7e02c6ac76b8d815 /_includes/views/pagination.html
parentbb1e308bef725f7633909ff494940cfbb7a3f74b (diff)
feat: rich excerpt with image support (#125)
Diffstat (limited to '_includes/views/pagination.html')
-rw-r--r--_includes/views/pagination.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/_includes/views/pagination.html b/_includes/views/pagination.html
index 014df85..a9de074 100644
--- a/_includes/views/pagination.html
+++ b/_includes/views/pagination.html
@@ -4,10 +4,14 @@
{%- assign paginator = site -%}
{%- endif -%}
+{%- assign name = 'excerpt.image_style' -%}
+{%- include functions.html func='get_value' default='z' -%}
+{%- assign image_style = return | append: '-image-style' -%}
+
{%- if paginator.posts.size > 0 -%}
<div class="pagination">
<!-- Post list links -->
- <ul class="post-list">
+ <ul class="post-list {{ image_style }}">
<!-- Top list item -->
{%- if paginator == site or paginator.page == 1 -%}
{%- assign post_item_class = "top-post" -%}