summaryrefslogtreecommitdiff
path: root/gen_md.py
diff options
context:
space:
mode:
authorrusinthread <rusinthread@cock.li>2017-01-06 20:31:04 +0300
committerrusinthread <rusinthread@cock.li>2017-01-06 20:31:04 +0300
commit2ff29d8e0f3862cfc32e98d0215c47bba59ffc2e (patch)
tree5efd6218bb19fe342f57fd6abda1a40227ae8c0f /gen_md.py
parent39f11d05bc164be556379392b27cf2bb1637e31f (diff)
update md
Diffstat (limited to 'gen_md.py')
-rwxr-xr-xgen_md.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_md.py b/gen_md.py
index cf4e239..23eb76e 100755
--- a/gen_md.py
+++ b/gen_md.py
@@ -52,7 +52,7 @@ def main():
pic_buf = []
for p in pic:
- pic_buf.append('[./img/%s](![](./img_previews/%s))' % (p, p))
+ pic_buf.append('[![](./img_previews/%s)](./img/%s)' % (p, p))
post_buf += '**Пикрилейтед:**\n\n%s\n\n' % ''.join(pic_buf)
if 'link' in post: