mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
4c220c4ac2
Fixes #3709
25 lines
399 B
Markdown
25 lines
399 B
Markdown
---
|
|
title: eq
|
|
linktitle: eq
|
|
description: Returns true if the parameters are equal.
|
|
godocref:
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
#tags: [operators,logic]
|
|
signature: ["eq ARG1 ARG2"]
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
aliases: []
|
|
---
|
|
|
|
|
|
```
|
|
{{ if eq .Section "blog" }}current{{ end }}
|
|
```
|