hugo/docs/content/en/functions/eq.md
2023-05-22 16:47:07 +02:00

16 lines
277 B
Markdown

---
title: eq
description: Returns the boolean truth of arg1 == arg2.
categories: [functions]
menu:
docs:
parent: functions
keywords: [operators,logic]
signature: ["eq ARG1 ARG2"]
relatedfuncs: []
---
```go-html-template
{{ if eq .Section "blog" }}current{{ end }}
```