aboutsummaryrefslogtreecommitdiffstats
path: root/templates/image.html
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-11-18 01:03:10 +0100
committerGravatar Tom Willemse2013-11-18 01:03:10 +0100
commit9788df48a9638c6bf37bc161abefcee7f583b64c (patch)
tree985ab921bc370df3449d3f248451591b2718684b /templates/image.html
parent96bfb88a5e348c7bfad56d34eebaa891b68e2773 (diff)
downloadhypo-9788df48a9638c6bf37bc161abefcee7f583b64c.tar.gz
hypo-9788df48a9638c6bf37bc161abefcee7f583b64c.zip
Use git and filesystem as data back-end
Diffstat (limited to 'templates/image.html')
-rw-r--r--templates/image.html6
1 files changed, 3 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>.
-<a href="raw/$name">
- <img src="raw/$name" alt="$name">
+<a href="raw/$hash/$name">
+ <img src="raw/$hash/$name" alt="$name">
</a>