From 9788df48a9638c6bf37bc161abefcee7f583b64c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 18 Nov 2013 01:03:10 +0100 Subject: Use git and filesystem as data back-end --- templates/image.html | 6 +++--- templates/main.html | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/image.html b/templates/image.html index 7c02617..f49c13a 100644 --- a/templates/image.html +++ b/templates/image.html @@ -1,4 +1,4 @@ -$def with (name) +$def with (name, hash) $# Hypo -- Quickly share stuff $# Copyright (C) 2013 Tom Willemse $# @@ -15,6 +15,6 @@ $# $# You should have received a copy of the GNU Affero General Public $# License along with Hypo. If not, see . - - $name + + $name diff --git a/templates/main.html b/templates/main.html index d39d1a9..98fc6e8 100644 --- a/templates/main.html +++ b/templates/main.html @@ -1,4 +1,4 @@ -$def with (content, style, file) +$def with (content, style, file, hash) $# Hypo -- Quickly share stuff $# Copyright (C) 2013 Tom Willemse $# @@ -17,7 +17,7 @@ $# License along with Hypo. If not, see . - Hypo: $file.filename + Hypo: $file @@ -27,15 +27,15 @@ $# License along with Hypo. If not, see .
-

$file.filename

+

+ $file + + +

$:content
-- cgit v1.2.3-54-g00ecf