summaryrefslogtreecommitdiff
path: root/plt/art/page.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-02 01:33:25 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-02 01:33:25 -0600
commitec2aa74d36670d74c153aa0022ab22e79502a061 (patch)
treeb6e6eda5f8ae90f23e371d8e8a097e4c7efaab96 /plt/art/page.html
parent81d0d609e47d5cdfab3d5db2eff6ec91b5d2773b (diff)
update to new version of pyssg
Diffstat (limited to 'plt/art/page.html')
-rw-r--r--plt/art/page.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/plt/art/page.html b/plt/art/page.html
index 837422e..4506e27 100644
--- a/plt/art/page.html
+++ b/plt/art/page.html
@@ -42,11 +42,11 @@
{%block body_content%}
<h1>{{page.title}}</h1>
- <a class="zoom-in" href="{{page.image_url}}" alt="See raw.">
+ <a class="zoom-in" href="{{config['url']['static']}}/{{page.meta['image_url'][0]}}" alt="See raw.">
{%if page.summary is not none%}
- <img src="{{page.image_url}}" alt="{{page.summary}}">
+ <img src="{{config['url']['static']}}/{{page.meta['image_url'][0]}}" alt="{{page.summary}}">
{%else%}
- <img src="{{page.image_url}}">
+ <img src="{{config['url']['static']}}/{{page.meta['image_url'][0]}}">
{%endif%}
</a>
@@ -58,7 +58,7 @@
<hr>
<div class="art-info">
<p>By {{', '.join(page.author)}}</p>
- <p>Posted: {{page.cdate}}</p>
+ <p>Posted: {{page.cdate('date')}}</p>
{%import "tag_list.html" as tag_list%}
{{tag_list.print(page.tags, "art-tags")}}
</div>