OneBite.Dev

How to concatenate string on hugo SSG

We can combine a raw string and a variable on a hugo and saved in on a new string

Example: I want to combine a title with a string

{{ $title := print .Title " is your title"}}

Later we can print or reuse the title above

{{ $title }}
hugo