Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-04-08 22:11:44 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-04-08 22:11:44 +0300
commitf2ff77f3ac3d2f347cc81f7aabf15d5b55cf2e0c (patch)
tree521272a74d64ec285dc45a895504300d8b47c3c9 /tpl
parentebf3cef1624cbb56e6e6341e2b6f2539a625c370 (diff)
Make Hugo build without Mercurial
By creating a fork of the Bitbucket inflect repo. It hasn't changed since 2013, so it must be considered pretty stable. Fixes #2062
Diffstat (limited to 'tpl')
-rw-r--r--tpl/template_funcs.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/tpl/template_funcs.go b/tpl/template_funcs.go
index c3e807176..9131cc1ec 100644
--- a/tpl/template_funcs.go
+++ b/tpl/template_funcs.go
@@ -24,8 +24,6 @@ import (
"encoding/json"
"errors"
"fmt"
- "github.com/spf13/afero"
- "github.com/spf13/hugo/hugofs"
"html"
"html/template"
"math/rand"
@@ -39,7 +37,10 @@ import (
"time"
"unicode/utf8"
- "bitbucket.org/pkg/inflect"
+ "github.com/spf13/afero"
+ "github.com/spf13/hugo/hugofs"
+
+ "github.com/bep/inflect"
"github.com/spf13/cast"
"github.com/spf13/hugo/helpers"