arrow_back
Back

Hugo content syntax: Markdown, shortcodes, and front matter

Andrew Dorokhov Andrew Dorokhov schedule 1 min read

String comparing function:

{{ if (eq "hello" "hello") }}
    ...
{{ end }}

Logical operations:

{{ if not .Params.showIndex }}
    ...
{{ end }}
code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

Tailwind CSS with Hugo: PostCSS, build pipeline, and integration

arrow_forward