✨ feat: add pinned posts functionality (#424)
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
{% endif -%}
|
||||
|
||||
{% set max_posts = section.extra.max_posts | default(value=999999) %}
|
||||
{{ macros_list_posts::list_posts(posts=pages, max=max_posts, language_strings=language_strings, section_path=path) }}
|
||||
{{ macros_list_posts::list_posts(posts=pages, max=max_posts, language_strings=language_strings, section_path=path, pinned_first=true) }}
|
||||
</div>
|
||||
|
||||
{% if paginator and paginator.pages | length > 0 %}
|
||||
|
Reference in New Issue
Block a user