hugo/tpl
Anthony Fok 3d5928889a
Revert "tpl: Support text/template/parse API change in go1.11"
Go developers have undone the breaking API changes
in the following commit:

commit bedfa4e1c37bd08063865da628f242d27ca06ec4
Author: Daniel Theophanes <kardianos@gmail.com>
Date:   Thu Jun 21 10:41:26 2018 -0700

    text/template/parse: undo breaking API changes

    golang.org/cl/84480 altered the API for the parse package for
    clarity and consistency. However, the changes also broke the
    API for consumers of the package. This CL reverts the API
    to the previous spelling, adding only a single new exported
    symbol.

    Fixes #25968

    Change-Id: Ieb81054b61eeac7df3bc3864ef446df43c26b80f
    Reviewed-on: https://go-review.googlesource.com/120355
    Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
    Reviewed-by: Rob Pike <r@golang.org>
    Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
    TryBot-Result: Gobot Gobot <gobot@golang.org>

See https://github.com/golang/go/issues/25968

This reverts commit 9f27091e10.

Closes #4784
Fixes #4873
2018-06-23 15:07:52 -06:00
..
cast tpl: Add float template function 2017-09-28 16:53:18 +02:00
collections Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
compare Properly handle -DEV suffix when comparing Hugo versions 2018-02-22 17:16:42 +01:00
crypto all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
data Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
encoding all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
fmt tpl: Add errorf template function 2017-10-03 07:59:51 +02:00
images tpl/images: Close image file 2017-11-25 18:38:33 +01:00
inflect vendor: Fix Humanize for multi-byte runes 2017-11-28 21:16:01 +01:00
internal all: Fix spelling 2017-08-07 20:19:24 +02:00
lang Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
math tpl/math: Refactor Mod with cast 2017-10-30 21:55:36 +01:00
os tpl/os: Make fileExist use the same filesystem as readFile 2018-04-21 23:46:34 +02:00
partials tpl/partials: Fix the lock contention in cached partial 2017-11-16 11:59:45 +01:00
path tpl/path: Add path.Ext, path.Dir and path.Base 2018-04-22 10:57:37 +02:00
safe Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
strings tpl/strings: strings.RuneCount 2018-06-04 20:47:03 +03:00
time tpl/time: Add time.Duration and time.ParseDuration template funcs 2017-09-09 09:43:00 +02:00
tplimpl Revert "tpl: Support text/template/parse API change in go1.11" 2018-06-23 15:07:52 -06:00
transform Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
urls tpl/urls: Add anchorize template func 2018-04-15 23:17:50 +02:00
template.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00