1
0

Add page with all posts

This commit is contained in:
2021-12-04 21:34:47 +01:00
parent 7009e50ce9
commit 555128c88b
3 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{% macro list_posts(section, count=0, taxonomy=false) %}
{% if taxonomy == false %}
{% macro list_posts(section=false, count=0, taxonomy=false) %}
{% if taxonomy == false and section != false %}
{% set section = get_section(path=section~"/_index.md") %}
{% endif %}
{% for page in section.pages %}