fixed tag rendering url and static files url

This commit is contained in:
2026-05-30 20:51:19 +01:00
parent f11b94527d
commit b253fac1c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export function render_tags(tags)
{
for (let tag_index = 0; tag_index < tags.length; tag_index++)
{ // Loop over each tag
string += `<a href="/tag/${tags[tag_index].trim()}">#${tags[tag_index].trim()}</a> ` // Adds the tag to the string as a HTML href
string += `<a href="${config.site_path}/tag/${tags[tag_index].trim()}">#${tags[tag_index].trim()}</a> ` // Adds the tag to the string as a HTML href
}
}
return string