oups
This commit is contained in:
parent
37465d721a
commit
a7cd7a073c
|
@ -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('.'):
|
||||||
|
|
Loading…
Reference in New Issue