client/posts: provide link for danbooru image search

This commit is contained in:
Shyam Sunder
2021-01-08 11:03:38 -05:00
parent b9451bef4a
commit 8fa84abdc4
3 changed files with 13 additions and 2 deletions

View File

@ -52,6 +52,7 @@
<section class='search'>
Search on
<a href='http://iqdb.org/?url=<%- encodeURIComponent(ctx.post.fullContentUrl) %>'>IQDB</a> &middot;
<a href='https://danbooru.donmai.us/posts?tags=md5:<%- ctx.post.checksumMD5 %>'>Danbooru</a> &middot;
<a href='https://www.google.com/searchbyimage?&image_url=<%- encodeURIComponent(ctx.post.fullContentUrl) %>'>Google Images</a>
</section>