summaryrefslogtreecommitdiff
path: root/src/pyssg/plt/page.html
blob: fefaaa698ff26dbcd7a232ed676bc6e748d73568 (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="{{site_base_static_url}}">
    <title>{{page.title}} -- {{site_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>