mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
26 lines
403 B
Markdown
26 lines
403 B
Markdown
|
---
|
||
|
title: eq
|
||
|
linktitle: eq
|
||
|
description: Returns the boolean truth of arg1 == arg2.
|
||
|
godocref:
|
||
|
date: 2017-02-01
|
||
|
publishdate: 2017-02-01
|
||
|
lastmod: 2017-02-01
|
||
|
categories: [functions]
|
||
|
menu:
|
||
|
docs:
|
||
|
parent: "functions"
|
||
|
keywords: [operators,logic]
|
||
|
signature: ["eq ARG1 ARG2"]
|
||
|
workson: []
|
||
|
hugoversion:
|
||
|
relatedfuncs: []
|
||
|
deprecated: false
|
||
|
aliases: []
|
||
|
---
|
||
|
|
||
|
|
||
|
```
|
||
|
{{ if eq .Section "blog" }}current{{ end }}
|
||
|
```
|