tpl/resources: Add empty method mapping for GetRemote - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit b84745d497301693ea13ff962434a2e074c75762
DIR parent 44954497bcb2d6d589b9340a43323663061c7b42
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Fri, 17 Dec 2021 10:30:10 +0100
tpl/resources: Add empty method mapping for GetRemote
To get auto generated documentation for it.
Diffstat:
M tpl/resources/init.go | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
DIR diff --git a/tpl/resources/init.go b/tpl/resources/init.go
@@ -38,6 +38,11 @@ func init() {
[][2]string{},
)
+ ns.AddMethodMapping(ctx.GetRemote,
+ nil,
+ [][2]string{},
+ )
+
// Add aliases for the most common transformations.
ns.AddMethodMapping(ctx.Fingerprint,