summaryrefslogtreecommitdiff
path: root/blog/plt/page.html
blob: 1b0afd95d4acb80a49594a49dcfe5ea01dc1f4f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{%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}}

  {%import "page_nav.html" as page_nav%}
  {{page_nav.print(page, config)}}

  <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%}