sort tags in articles
This commit is contained in:
parent
82e5c3e254
commit
32a32b873e
@ -237,7 +237,7 @@ def main(args):
|
||||
article = frontmatter.load(fp)
|
||||
|
||||
article['tags'] += get_inherited_tags(filename, args.notes)
|
||||
article['tags'] = list(set(article['tags']))
|
||||
article['tags'] = sorted(list(set(article['tags'])))
|
||||
article['filehistory'] = filehistory
|
||||
article['licenseFull'] = notes_license
|
||||
html = pypandoc.convert_text(frontmatter.dumps(article), 'html', format='md', extra_args=[
|
||||
|
Reference in New Issue
Block a user