summaryrefslogtreecommitdiff
path: root/art/plt/page.html
blob: 55a0c90bc0b528bd86fdba72b36eaa6cd1c6c609 (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
33
{%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>

  <a class="zoom-in" href="{{page.image_url}}" alt="See raw.">
    <img src="{{page.image_url}}" alt="{{page.summary}}">
  </a>

  {{page.content}}

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

  <hr>
  <div class="art-info">
    <p>By: {{page.author}}</p>
    <p>Posted: {{page.cdate}}</p>
    {%import "tag_list.html" as tag_list%}
    {{tag_list.print(page.tags)}}
  </div>
{%endblock content%}