Adjust Pixelfed description order
This commit is contained in:
parent
f920ad6f15
commit
0b223fe094
@ -18,7 +18,7 @@ def formatPost(file: dict):
|
||||
tag_string = formatTags(file['tags'])
|
||||
if load_config.config['pixelfed']['add_to_description']:
|
||||
file['description'] = file['description'] + load_config.config['pixelfed']['add_to_description']
|
||||
return f"{file['title']} | {formatDate(file['create'])} \n {file['description']} \n {tag_string}"
|
||||
return f"{file['title']} | {file['description']} \n {formatDate(file['create'])} \n {tag_string}"
|
||||
|
||||
def formatTags(tags: list):
|
||||
formatted_tags = ['#' + tag.title().replace(' ', '') for tag in tags]
|
||||
|
Loading…
Reference in New Issue
Block a user