summaryrefslogtreecommitdiff
path: root/plt/art/page_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'plt/art/page_list.html')
-rw-r--r--plt/art/page_list.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/plt/art/page_list.html b/plt/art/page_list.html
index c634bcf..2a51d25 100644
--- a/plt/art/page_list.html
+++ b/plt/art/page_list.html
@@ -1,21 +1,21 @@
-{%macro print(pages)%}
+{%macro print(pages, config)%}
{%import "art/page_list_entry.html" as art_entry%}
<div class="art-grid">
{%for p in pages%}
{%if p.meta['tall'] is defined%}
{%if p.meta['wide'] is defined%}
- {{art_entry.print(p, 'tall wide')}}
+ {{art_entry.print(p, config, 'tall wide')}}
{%else%}
- {{art_entry.print(p, 'tall')}}
+ {{art_entry.print(p, config, 'tall')}}
{%endif%}
{%elif p.meta['wide'] is defined%}
{%if p.meta['tall'] is defined%}
- {{art_entry.print(p, 'tall wide')}}
+ {{art_entry.print(p, config, 'tall wide')}}
{%else%}
- {{art_entry.print(p, 'tall')}}
+ {{art_entry.print(p, config, 'tall')}}
{%endif%}
{%else%}
- {{art_entry.print(p)}}
+ {{art_entry.print(p, config)}}
{%endif%}
{%endfor%}
</div>