File: template.txt

package info (click to toggle)
inja 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,620 kB
  • sloc: cpp: 30,997; python: 189; makefile: 16; sh: 3
file content (20 lines) | stat: -rw-r--r-- 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
  {% include "header.txt" %}
  <body>
    <h1>{{ title }}</h1>
    <small>Written by {{ author }}</small>

    <p>{{ content }}</p>
    <small>{{ views }} views</small>

    <h5>Tags</h5>
    <ul>
## for tag in tags
      <li>{{ tag }}</li>
## endfor
    </ul>

    {% include "footer.txt" %}
  </body>
</html>