summaryrefslogtreecommitdiff
path: root/gen_md.py
diff options
context:
space:
mode:
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: