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
data Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
encoding
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
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
strings tpl/strings: strings.RuneCount 2018-06-04 20:47:03 +03:00
time
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