mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-03 05:33:49 -05:00
16 lines
277 B
Markdown
16 lines
277 B
Markdown
---
|
|
title: ne
|
|
description: Returns the boolean truth of arg1 != arg2.
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: functions
|
|
keywords: [operators,logic]
|
|
signature: ["ne ARG1 ARG2"]
|
|
relatedfuncs: []
|
|
---
|
|
|
|
|
|
```go-html-template
|
|
{{ if ne .Section "blog" }}current{{ end }}
|
|
```
|