forked from deepStateMirrors/tabi
✨ feat: add pinned posts functionality (#424)
This commit is contained in:
parent
42f9bb9781
commit
36e53dc646
34 changed files with 207 additions and 91 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue