home.social

#hugocms — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hugocms, aggregated by home.social.

  1. Naty @eclecticpassions ·

    I'm learning how to add to my Hugo blog. Hopefully, it'll be relatively straight forward now that I feel more comfortable with Hugo's Go templating syntax.

    Does your static blog have schema markup / JSON-LD?

  2. Naty @eclecticpassions ·

    Worked on a GitHub style heatmap calendar for my Hugo blog! Excited to share how I did it soon. 😇

  3. I'm using Hugo CMS, but my theme doesn't support RSS. So I created a custom template. However, I get an error when generating the feed:

    <description><![CDATA[{{ if .Params.summaryImage }}<img src="{{ .Params.summaryImage | absURL }}" alt="{{ .Title }}" /> {{ end }} {{ .Content | replace "]]> "]]&gt;" | safeHTML }}
    ]]></description>

    I end up with: ]]>]]></description> in the Source Code. This causes an error.

    How can I fix this?

    #hugocms #needhelp #gohugo #CMS