funkydan2 / alpha-church

Hugo theme for churches based on a html5up theme
https://alpha-church.netlify.app
Other
67 stars 58 forks source link

Why is the "images" frontmatter param an array #42

Closed whiver closed 1 year ago

whiver commented 1 year ago

Hi!

Just wondered why the images param in the frontmatter is an array, as only the first entry seems to be used anyway? It makes editing it a bit more tedious when using netlify-cms, and it's not obvious to the content writers that only the first image is useful in the list...

Thanks! :)

funkydan2 commented 1 year ago

It's a good question. I think it's so the variable is compatible with the built-in social media 'cards' template: https://gohugo.io/templates/internal#twitter-cards.

whiver commented 1 year ago

I see, I'll live with that then :) Thanks for your answer!