meta-pages #1

Merged
raspbeguy merged 10 commits from meta-pages into master 2020-12-03 21:43:18 +01:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit cda71c374b - Show all commits

View File

@ -18,7 +18,8 @@ tpl_path = os.path.expanduser(config.tpl_dir)
os.chdir(md_path)
def add_ext_gmi(link):
# Custom function to apply to local links
# Custom function to apply to links
if "://" not in link: # apply only on local links
return link+".gmi"
# Walk through markdown directories