diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-05 19:19:19 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-05 19:19:19 -0600 |
commit | f2b417553920d1d4b195e5a9d78e3fe019b2c163 (patch) | |
tree | 8030a809523c3f9a3613a906bff49d85a36253f3 /art/plt/page.html | |
parent | 8aed7291d95070d8dbb8ce322de4108918c0f8f1 (diff) |
modify relative links, add base for art page
Diffstat (limited to 'art/plt/page.html')
-rw-r--r-- | art/plt/page.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/art/plt/page.html b/art/plt/page.html new file mode 100644 index 0000000..dbb2734 --- /dev/null +++ b/art/plt/page.html @@ -0,0 +1,29 @@ +{%extends "base.html"%} +{%block html_lang%}{{page.lang}}{%endblock html_lang%} +{%block head_title%}{{page.title}}{%endblock head_title%} +{%block head_description%}{{page.summary}}{%endblock head_description%} +{%block head_og%} + <meta property="og:title" content="{{page.title}} -- {{config.title}}"/> + <meta property="og:type" content="article"/> + <meta property="og:url" content="{{page.url}}"/> + <meta property="og:image" content="{{page.image_url}}"/> + <meta property="og:description" content="{{page.summary}}"/> + <meta property="og:locale" content="{{page.lang}}"/> + <meta property="og:site_name" content="{{config.title}}"/> +{%endblock head_og%} +{%block content%} + <h1>{{page.title}}</h1> + + {{page.content}} + + <hr> + <div class="article-info"> + <p>By {{page.author}}</p> + <p>Created: {{page.cdate}}</p> + {%if page.mdate is not none%} + <p>Modified: {{page.mdate}}</p> + {%endif%} + {%import "tag_list.html" as tag_list%} + {{tag_list.print(page.tags)}} + </div> +{%endblock content%} |