From ec2aa74d36670d74c153aa0022ab22e79502a061 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 2 May 2023 01:33:25 -0600 Subject: update to new version of pyssg --- plt/art/page_list.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plt/art/page_list.html') 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%}
{%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%}
-- cgit v1.2.3-70-g09d2