diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-05-02 01:33:25 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-05-02 01:33:25 -0600 |
commit | ec2aa74d36670d74c153aa0022ab22e79502a061 (patch) | |
tree | b6e6eda5f8ae90f23e371d8e8a097e4c7efaab96 /plt/art/page_list.html | |
parent | 81d0d609e47d5cdfab3d5db2eff6ec91b5d2773b (diff) |
update to new version of pyssg
Diffstat (limited to 'plt/art/page_list.html')
-rw-r--r-- | plt/art/page_list.html | 12 |
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> |