Generate HTML search with template; More Refactoring of the main workflows

This commit is contained in:
2023-02-24 15:29:36 +01:00
parent f43026b13b
commit a342f88e3c
9 changed files with 206 additions and 220 deletions

View File

@ -47,7 +47,7 @@ def GemtextCompileList(Flags:dict, Pages:list, LimitFiles):
Gemtext += Line + '\n'
WriteFile(Dst, Flags['GemtextHeader'] + Gemtext)
def FindEarliest(Str, Items):
def FindEarliest(Str:str, Items:list):
Pos, Item = 0, ''
for Item in Items:
Str.find(Item)