From 814d0a0b9779178e712daf1670cb2de27bb8ca8d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 28 Jul 2013 22:12:14 +0200 Subject: Initial commit --- templates/clog.tmpl | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 templates/clog.tmpl (limited to 'templates') diff --git a/templates/clog.tmpl b/templates/clog.tmpl new file mode 100644 index 0000000..592cb2e --- /dev/null +++ b/templates/clog.tmpl @@ -0,0 +1,101 @@ +/* -*- mode: closure-template-html; -*- */ +/* clog --- Supposedly simplistic blogging in Common Lisp + Copyright (C) 2013 Tom Willemse + + clog is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + clog is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with clog. If not, see . */ +{namespace clog-templates} + +{template main} + + + + + + +
+

ryu/blog

+ + {$content|noAutoescape} +
+ + + + +{/template} + +{template list} + {foreach $post in $posts} + {$post|noAutoescape} + {/foreach} +{/template} + +{template single} + {$post|noAutoescape} + +

Comments

+ {foreach $comment in $comments} + {$comment|noAutoescape} + {/foreach} +{/template} + +{template post} +
+ + {$title} + +
{$content|noAutoescape}
+ +
+ Posted on {$timestamp} in + {foreach $tag in $tags} + {$tag|noAutoescape} + {if not isLast($tag)} | {/if} + {/foreach} + by {$author}. +
+
+{/template} + +{template tag} + {$name} +{/template} + +{template comment} +
+
+ +

{$author} said:

+
+ +
+ {$comment} +
+ +
+ Posted on {$timestamp} +
+
+ +
+ {foreach $comment in $comments} + {$comment|noAutoescape} + {/foreach} +
+{/template} -- cgit v1.3-2-g0d8e