mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 00:38:53 +00:00
Update funcQR _index content
This commit is contained in:
@@ -12,6 +12,6 @@ draft: false
|
||||
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
|
||||
@@ -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.
|
||||
|
||||
### 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:
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
{{partial "svg-icons/gopher-small-homepage.svg" .}}
|
||||
</div>
|
||||
<div class="homepage-terminal">
|
||||
$ brew update
|
||||
<br> $ brew install hugo
|
||||
$ export GOPATH=$HOME/go
|
||||
<br> $ go get -v github.com/spf13/hugo
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
<div class="platform-icons">
|
||||
<i class="fa fa-apple"></i>
|
||||
|
||||
Reference in New Issue
Block a user