This commit is contained in:
Guy Godfroy 2020-12-03 18:46:43 +01:00
parent 37465d721a
commit a7cd7a073c
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ def add_ext_gmi(link):
# Custom function to apply to links # Custom function to apply to links
if "://" not in link: # apply only on local links if "://" not in link: # apply only on local links
return link+".gmi" return link+".gmi"
else:
return link
# Walk through markdown directories # Walk through markdown directories
for dirname, subdirlist, mdlist in os.walk('.'): for dirname, subdirlist, mdlist in os.walk('.'):