mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-11-14 05:40:25 +01:00
Merge pull request #53 from AntoniosBarotsis/show-description
Added the option to only show the description (continuation)
This commit is contained in:
commit
39d13a9a6a
4 changed files with 23 additions and 4 deletions
|
|
@ -73,7 +73,8 @@
|
|||
{%- for page in show_pages %}
|
||||
<div class="post on-list">
|
||||
{{ post_macros::header(page=page) }}
|
||||
{{ post_macros::content(page=page, summary=true) }}
|
||||
|
||||
{{ post_macros::content(page=page, summary=true, show_only_description=page.extra.show_only_description | default(value=false)) }}
|
||||
</div>
|
||||
{% endfor -%}
|
||||
<div class="pagination">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue