Browse Source

fix tag label spacing

I had removed the hard-coded brackets in tag labels, but I forgot
to add spaces between the labels and the other components in the
strings where they occur. woops!
main
mieum 1 year ago
parent
commit
e266bd2fa6
No known key found for this signature in database
GPG Key ID: E7CD329D4C5AE16B
  1. 4
      twindexer.py

4
twindexer.py

@ -161,11 +161,11 @@ def write_gemlog_index(cap, gl, tl):
outfile.write("Tags:" + "\n")
for tag in tl:
tagpath = relate_paths(gempath, gr + tl[tag]['folder']) + "/"
outfile.write("=> " + tagpath + tl[tag]['tag'] + tl[tag]['title'] + "\n")
outfile.write("=> " + tagpath + " " + tl[tag]['tag'] + " " + tl[tag]['title'] + "\n")
outfile.write("\n")
for post in gemindex:
postpath = relate_paths(gempath, post['path'])
outfile.write("=> " + postpath + " " + post['date'] + post['tag'] + post['title'] + "\n")
outfile.write("=> " + postpath + " " + post['date'] + " " + post['tag'] + " " + post['title'] + "\n")
if 'feed' in gl:
if gl['feed'] == True:
atomizer(cap, gemindex, gl, gemlog=True)

Loading…
Cancel
Save