mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
3c1deaf201
85befbb4d Update plainify.md 56e137043 Update comparison operators (#2104) 4241135e0 Front matter docu: improve link to TOML spec (#2102) 5115de3c0 netlify: Hugo 0.113.0 99b74a053 Merge branch 'temp01130' 1622d5d1a docs: Regenerate CLI docs adb4297eb netlify: Hugo 0.112.7 cd6813309 Update editors.md to include vim-hugo (#2098) f7c2406dd netlify: Hugo 0.112.6 b891028c3 docs: Regenerate CLI docs git-subtree-dir: docs git-subtree-split: 85befbb4dc2f526da99fa9f47d54a12e6282d36e
26 lines
510 B
Markdown
26 lines
510 B
Markdown
---
|
|
title: gt
|
|
description: Returns the boolean truth of arg1 > arg2 && arg1 > arg3.
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: functions
|
|
keywords: [comparison,operators,logic]
|
|
signature: ["gt ARG1 ARG2 [ARG...]"]
|
|
relatedfuncs: []
|
|
---
|
|
|
|
```go-html-template
|
|
{{ gt 1 1 }} → false
|
|
{{ gt 1 2 }} → false
|
|
{{ gt 2 1 }} → true
|
|
|
|
{{ gt 1 1 1 }} → false
|
|
{{ gt 1 1 2 }} → false
|
|
{{ gt 1 2 1 }} → false
|
|
{{ gt 1 2 2 }} → false
|
|
|
|
{{ gt 2 1 1 }} → true
|
|
{{ gt 2 1 2 }} → false
|
|
{{ gt 2 2 1 }} → false
|
|
```
|