Allow a page to be excluded from feeds, + some minor tweaks

This commit is contained in:
2022-08-13 16:20:26 +02:00
parent b5fe32a2a0
commit 37e6da8f4f
5 changed files with 7 additions and 6 deletions

View File

@ -62,7 +62,7 @@ def MakeContentHeader(Meta, Locale, Categories=''):
Header += '{} {} \n'.format(Locale[i], Meta[i])
if Categories:
Header += '{}: {} \n'.format(Locale['Categories'], Categories)
return markdown(Header)
return markdown(Header.rstrip())
def MakeCategoryLine(File, Meta):
Categories = ''