mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
Update funcQR _index content
This commit is contained in:
1 parent
e90f0b5fe3
commit
d1672cac0f
3 files changed
+5
-5
No files matched your search
@@ -12,6 +12,6 @@ draft: false
|
|||||||
aliases: [/layout/functions/]
|
aliases: [/layout/functions/]
|
||||||
---
|
---
|
||||||
|
|
||||||
Go templates are lightweight but extensible. Go itself supplies built-in functions, including comparison operators and other basic tools. These are listed in the [Go template documentation][gofuncs]. Hugo has added the following functions to the basic template logic.
|
Go templates are lightweight but extensible. Go itself supplies built-in functions, including comparison operators and other basic tools. These are listed in the [Go template documentation][gofuncs]. Hugo has added additional functions to the basic template logic.
|
||||||
|
|
||||||
[gofuncs]: http://golang.org/pkg/text/template/#hdr-Functions
|
[gofuncs]: http://golang.org/pkg/text/template/#hdr-Functions
|
||||||
@@ -35,7 +35,7 @@ Download the appropriate version for your platform from [Hugo Releases][releases
|
|||||||
|
|
||||||
Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin` is the most probable location.
|
Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin` is the most probable location.
|
||||||
|
|
||||||
### Quick Install: Homebrew (OS X)
|
### Quick Install: OS X (Homebrew)
|
||||||
|
|
||||||
If you are on OS X and using [Homebrew][brew], you can install Hugo with the following one-liner:
|
If you are on OS X and using [Homebrew][brew], you can install Hugo with the following one-liner:
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
{{partial "svg-icons/gopher-small-homepage.svg" .}}
|
{{partial "svg-icons/gopher-small-homepage.svg" .}}
|
||||||
</div>
|
</div>
|
||||||
<div class="homepage-terminal">
|
<div class="homepage-terminal">
|
||||||
$ brew update
|
$ export GOPATH=$HOME/go
|
||||||
<br> $ brew install hugo
|
<br> $ go get -v github.com/spf13/hugo
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="half half-content">
|
<div class="half half-content">
|
||||||
<h2>Hugo installs in minutes and builds in seconds.</h2>
|
<h2>Install in minutes and start building websites in (milli)seconds.</h2>
|
||||||
<p>Hugo works on OSX, Windows, Linux, FreeBSD, and anywhere else where the Go compiler tool chain can run.</p>
|
<p>Hugo works on OSX, Windows, Linux, FreeBSD, and anywhere else where the Go compiler tool chain can run.</p>
|
||||||
<div class="platform-icons">
|
<div class="platform-icons">
|
||||||
<i class="fa fa-apple"></i>
|
<i class="fa fa-apple"></i>
|
||||||
|
|||||||
Reference in new issue
Block a user