mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
1 parent
fb7ae80aa3
commit
d93f09926b
6 files changed
+126
-1
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: eq
|
title: eq
|
||||||
linktitle: eq
|
linktitle: eq
|
||||||
description: Returns true if the parameters are equal.
|
description: Returns the boolean truth of arg1 == arg2.
|
||||||
godocref:
|
godocref:
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
publishdate: 2017-02-01
|
publishdate: 2017-02-01
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: ge
|
||||||
|
linktitle: ge
|
||||||
|
description: Returns the boolean truth of arg1 >= arg2.
|
||||||
|
godocref:
|
||||||
|
date: 2017-07-26
|
||||||
|
publishdate: 2017-07-26
|
||||||
|
lastmod: 2017-07-26
|
||||||
|
categories: [functions]
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "functions"
|
||||||
|
#tags: [operators,logic]
|
||||||
|
signature: ["ge ARG1 ARG2"]
|
||||||
|
workson: []
|
||||||
|
hugoversion:
|
||||||
|
relatedfuncs: []
|
||||||
|
deprecated: false
|
||||||
|
aliases: []
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if ge 10 5 }}true{{ end }}
|
||||||
|
```
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: gt
|
||||||
|
linktitle: gt
|
||||||
|
description: Returns the boolean truth of arg1 > arg2.
|
||||||
|
godocref:
|
||||||
|
date: 2017-07-26
|
||||||
|
publishdate: 2017-07-26
|
||||||
|
lastmod: 2017-07-26
|
||||||
|
categories: [functions]
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "functions"
|
||||||
|
#tags: [operators,logic]
|
||||||
|
signature: ["gt ARG1 ARG2"]
|
||||||
|
workson: []
|
||||||
|
hugoversion:
|
||||||
|
relatedfuncs: []
|
||||||
|
deprecated: false
|
||||||
|
aliases: []
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if gt 10 5 }}true{{ end }}
|
||||||
|
```
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: le
|
||||||
|
linktitle: le
|
||||||
|
description: Returns the boolean truth of arg1 <= arg2.
|
||||||
|
godocref:
|
||||||
|
date: 2017-07-26
|
||||||
|
publishdate: 2017-07-26
|
||||||
|
lastmod: 2017-07-26
|
||||||
|
categories: [functions]
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "functions"
|
||||||
|
#tags: [operators,logic]
|
||||||
|
signature: ["le ARG1 ARG2"]
|
||||||
|
workson: []
|
||||||
|
hugoversion:
|
||||||
|
relatedfuncs: []
|
||||||
|
deprecated: false
|
||||||
|
aliases: []
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if le 5 10 }}true{{ end }}
|
||||||
|
```
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: lt
|
||||||
|
linktitle: lt
|
||||||
|
description: Returns the boolean truth of arg1 < arg2.
|
||||||
|
godocref:
|
||||||
|
date: 2017-07-26
|
||||||
|
publishdate: 2017-07-26
|
||||||
|
lastmod: 2017-07-26
|
||||||
|
categories: [functions]
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "functions"
|
||||||
|
#tags: [operators,logic]
|
||||||
|
signature: ["lt ARG1 ARG2"]
|
||||||
|
workson: []
|
||||||
|
hugoversion:
|
||||||
|
relatedfuncs: []
|
||||||
|
deprecated: false
|
||||||
|
aliases: []
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if lt 5 10 }}true{{ end }}
|
||||||
|
```
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: ne
|
||||||
|
linktitle: ne
|
||||||
|
description: Returns the boolean truth of arg1 != arg2.
|
||||||
|
godocref:
|
||||||
|
date: 2017-07-26
|
||||||
|
publishdate: 2017-07-26
|
||||||
|
lastmod: 2017-07-26
|
||||||
|
categories: [functions]
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "functions"
|
||||||
|
#tags: [operators,logic]
|
||||||
|
signature: ["ne ARG1 ARG2"]
|
||||||
|
workson: []
|
||||||
|
hugoversion:
|
||||||
|
relatedfuncs: []
|
||||||
|
deprecated: false
|
||||||
|
aliases: []
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if ne .Section "blog" }}current{{ end }}
|
||||||
|
```
|
||||||
Reference in new issue
Block a user