summaryrefslogtreecommitdiff
path: root/pyssg.xyz/plt/blog/page.html
blob: d7f5e43667b9f8c5ae366c6481ddef38c7b0e891 (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
<!DOCTYPE html>
<html lang="{{page.lang}}">
  <head>
    <meta charset="utf-8">
    <base href="{{config['url']['static']}}">
    <title>{{page.title}} -- {{config['title']}}</title>
  </head>
  <body>
    <h1>{{page.title}}</h1>
    <p>By {{page.author}}</p>
    <p>Created: {{page.cdate}}</p>
    {%if page.mdate is not none%}
      <p>Modified: {{page.mdate}}</p>
    {%endif%}

    {{page.content}}

  <p>Tags: 
  {%for t in page.tags%}
    <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}}
  {%endfor%}
  </p>
  </body>
</html>