summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/templates/legal.tmpl15
-rw-r--r--src/templates/notes.tmpl26
2 files changed, 41 insertions, 0 deletions
diff --git a/src/templates/legal.tmpl b/src/templates/legal.tmpl
new file mode 100644
index 0000000..3b9771b
--- /dev/null
+++ b/src/templates/legal.tmpl
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="{{lang}}">
+ {{>header }}
+ <body>
+ <div class="decal_panel">
+ <div class="marge"></div>
+ <article class="post" id="{{domTitle}}_article">
+ {{{ content }}}
+ </article>
+ <div class="sidenotes"></div>
+ </div>
+ {{> leftPanel }}
+ {{>hid }}
+ </body>
+</html>
diff --git a/src/templates/notes.tmpl b/src/templates/notes.tmpl
new file mode 100644
index 0000000..ff5eed8
--- /dev/null
+++ b/src/templates/notes.tmpl
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="{{lang}}">
+ {{>header }}
+ <body>
+ {{#notes}}
+ <div class="decal_panel">
+ <div class="marge"></div>
+ <article class="post" id="{{domTitle}}_article">
+ <h1><a class="anchor" href="{{ canonical }}">Notes</a></h1>
+ <ul class="notesList">
+ {{# notes}}
+ <li><a href="{{ url }}"><span class="pubYear">{{ pubYear }}</span>{{ title }}</a>  
+ {{# metaData.tags }}
+ <a href="/{{ lang }}/tag/{{{ . }}}" class="inline-tag">{{{ . }}}</a>
+ {{/ metaData.tags }}
+ </li>
+ {{/ notes}}
+ </ul>
+ </article>
+ <div class="sidenotes"></div>
+ </div>
+ {{/notes}}
+ {{> leftPanel }}
+ {{>hid }}
+ </body>
+</html>