diff options
Diffstat (limited to '')
-rw-r--r-- | site/templates/pastebin-list.html | 7 | ||||
-rw-r--r-- | site/templates/pastebin.html | 8 | ||||
-rw-r--r-- | site/templates/post.html | 3 |
3 files changed, 15 insertions, 3 deletions
diff --git a/site/templates/pastebin-list.html b/site/templates/pastebin-list.html new file mode 100644 index 0000000..4c98c80 --- /dev/null +++ b/site/templates/pastebin-list.html @@ -0,0 +1,7 @@ +<ul> + $for(pastebins)$ + <li> + <a href="$url$">$title$</a> - $date$ + </li> + $endfor$ +</ul> diff --git a/site/templates/pastebin.html b/site/templates/pastebin.html new file mode 100644 index 0000000..7aa2775 --- /dev/null +++ b/site/templates/pastebin.html @@ -0,0 +1,8 @@ +<article> + <section class="header"> + Posted on $date$ + </section> + <section> + $body$ + </section> +</article> diff --git a/site/templates/post.html b/site/templates/post.html index 428ebff..7aa2775 100644 --- a/site/templates/post.html +++ b/site/templates/post.html @@ -1,9 +1,6 @@ <article> <section class="header"> Posted on $date$ - $if(author)$ - by $author$ - $endif$ </section> <section> $body$ |