mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-03 22:00:35 -05:00
16 lines
277 B
Markdown
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 }}
|
|
```
|