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/') %> +