[O] Allow images

This commit is contained in:
Azalea Gui
2023-03-09 17:14:03 -05:00
parent 747d725c43
commit 6ebd786b7c
+1 -1
View File
@@ -106,7 +106,7 @@ const elClass = computed(() =>
return classes
})
const content = computed(() => marked(p.meta.content.replaceAll('\n', ' \n')))
const content = marked(p.meta.content.replaceAll('\n', ' \n').replaceAll("{src}", hosts.content))
const date = moment(p.meta.date)
const image = p.meta.title_image ? hosts.content + '/' + p.meta.title_image : null
</script>