summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html1
-rw-r--r--templates/categoryRef.html7
-rw-r--r--templates/pagelistByYear.html4
3 files changed, 11 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 8d10d13..330e759 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -49,6 +49,7 @@ ${pageHeader()}
49$body$ 49$body$
50 50
51 $if(isblog)$ 51 $if(isblog)$
52 ${categoryRef()}
52 ${pagelistByYear()} 53 ${pagelistByYear()}
53 $endif$ 54 $endif$
54 </div> 55 </div>
diff --git a/templates/categoryRef.html b/templates/categoryRef.html
new file mode 100644
index 0000000..9a363cf
--- /dev/null
+++ b/templates/categoryRef.html
@@ -0,0 +1,7 @@
1$if(categories)$
2<ul class="c-hlist">
3 $for(categories)$
4 <li class="c-hlist__item"><strong>$it.key/uppercase$</strong>: $it.value$</li>
5 $endfor$
6</ul>
7$endif$
diff --git a/templates/pagelistByYear.html b/templates/pagelistByYear.html
index 972bacc..20ce6c4 100644
--- a/templates/pagelistByYear.html
+++ b/templates/pagelistByYear.html
@@ -1,9 +1,11 @@
1$for(pages)$ 1$for(pages)$
2$for(it.by_year)$ 2$for(it.by_year)$
3$-- <hr class="c-spacer" />
4$-- <h2>$it.key$</h2>
3<ul class="s-refs"> 5<ul class="s-refs">
4 $for(it.value)$ 6 $for(it.value)$
5 <li> 7 <li>
6 <a href="$it.url_rel$">$it.date$ - $it.title$</a> 8 <a href="$it.url_rel$">$it.category/uppercase$ $it.date$ - $it.title$</a>
7 </li> 9 </li>
8 $endfor$ 10 $endfor$
9</ul> 11</ul>