#hugocms — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #hugocms, aggregated by home.social.
-
I'm learning how to add #jsonld #StructuredData to my Hugo blog. Hopefully, it'll be relatively straight forward now that I feel more comfortable with Hugo's Go templating syntax.
#hugocms #hugo #blogging #staticsitegenerator #staticsite #webdev
Does your static blog have schema markup / JSON-LD?
-
Worked on a GitHub style heatmap calendar for my Hugo blog! Excited to share how I did it soon. 😇
#heatmap #calendar #github #githubcontributions #blogplugin #hugocms #hugoblog #hugo #blogging #blog #WebDev #wordcount
-
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 "]]> "]]>" | safeHTML }}
]]></description>I end up with: ]]>]]></description> in the Source Code. This causes an error.
How can I fix this?