summaryrefslogtreecommitdiff
path: root/src/pyssg/plt/page.html
blob: 15663fa59833095fe46f3539c4a9d3052a0de09a (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.get('url', 'static')}}">
    <title>{{page.title}} -- {{config.get('info', '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>