DEV Community

Discussion on: Rebuilding my site with Hugo

Collapse
 
sheldonhull profile image
Sheldon

How did you integrate dev.to comments into your webmentions setup? Have webmentions working (I'm using server side cron render) but not clear on how folks are integrating dev.to.

I want to automate my publishing from site to dev.to as well but the darn short codes always break.

Collapse
 
iamschulz profile image
Daniel Schulz

The dev.to comments are the part of my code that you shouldn't look too hard at :)
github.com/iamschulz/iamschulz-hug...
I publish my article separately on dev, because of the shortcode thing. Then I put the dev article id in the frontmatter of my hugo article and use it to query comments from the dev API.