Migrating Comments from a Different Blog Platform
When you migrate a blog to Hugo and have also comments to migrate, you can add them as list in the front matter:
---
(front matter as usual)
- time: (ISO time stamp when the comment was saved, optional)
name: (name of the commenter)
site: (site URL, optional)
mail: (email address of the commenter, optional)
text: (comment itself, can contain Markdown)
Look at the source of this post to see some more examples of comments. They should be rendered below, using the same style as new comments entered using cactus comments.
Prerequisites: you must enable Cactus Comments (see also the Post about integrating Cactus), as the migrated comments use the Cactus styles.
[params]
[params.comment]
[params.comment.cactus]
enable = true