Shortcodes are simple snippets inside your #Hugo content files, calling built-in or custom templates. Basically they are facades for displaying content in a common fashion, that can be modified at any point (all occurrences at once).
Reusable code snippets in Hugo
I don’t like code redundancy, so I wanted to create convention for sharing snippets between language versions of the posts (because code is always in English 😉). As it turned out, it’s not that obvious in Hugo. ...