Made some small changes
This commit is contained in:
@@ -59,6 +59,7 @@ export function unix_time_to_atom_date(unix_time)
|
||||
// returns: string
|
||||
export function render_tags(tags)
|
||||
{
|
||||
tags = tags.filter((item, index) => tags.indexOf(item) === index) // Remove duplicate tags
|
||||
let string = "" // Initialises the string
|
||||
if (tags.length == 1 && tags[0] == "")
|
||||
{
|
||||
@@ -135,6 +136,7 @@ export function render_md(content)
|
||||
typographer: true,
|
||||
quotes: locale.quotes,
|
||||
})
|
||||
.disable('image');
|
||||
return md.render(content)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user