yll 4 years ago
parent
commit
f2be27c8ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      githublog.py

+ 1 - 1
githublog.py

@@ -84,7 +84,7 @@ with open(README, 'wt', encoding='utf-8') as h:
         h.write('## {}\n\n'.format(k))
         v = sorted(v, key=lambda metas: metas.get('date'), reverse=True)
         for metas in v:
-            h.write('- [{}]({})\n'.format(metas.get('title'), urljoin(remote, 'src/master', POSTS_ROOT, metas.get('file'))))
+            h.write('- [{}]({})\n'.format(metas.get('title'), urljoin(remote, 'src/master', POSTS_ROOT, k, metas.get('file'))))
         
         h.write('\n')