From 2763ff7eadc5e867fbe6e776b270a6968c7a8abe Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 27 Sep 2014 11:29:37 +0200 Subject: [PATCH] Added reverse image search on IQDB and Google Images --- TODO | 1 - public_html/templates/post.tpl | 20 ++++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 7dc6105e..e4f671bb 100644 --- a/TODO +++ b/TODO @@ -14,7 +14,6 @@ everything related to posts: - take care of pages - add A/D hotkeys - hiding posts - - link to iqdb and/or tineye - random post - regard safety settings diff --git a/public_html/templates/post.tpl b/public_html/templates/post.tpl index bba3e90f..b82b218a 100644 --- a/public_html/templates/post.tpl +++ b/public_html/templates/post.tpl @@ -1,8 +1,10 @@ +<% var permaLink = (window.location.origin + '/' + window.location.pathname + '/data/posts/' + post.name).replace(/([^:])\/+/g, '$1/') %> +