aboutsummaryrefslogtreecommitdiffstats
path: root/templates/image.html
diff options
context:
space:
mode:
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>