summaryrefslogtreecommitdiff
path: root/src/pyssg/plt/page.html
blob: b61ad03818100e06b5cc094df56672f5eb23ddb7 (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.date(page.cts, 'date')}}</p>
    {%if page.mtimestamp != 0.0%}
      <p>Modified: {{page.date(page.mts, 'date')}}</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>