mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
2
tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl
vendored
Normal file
2
tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
{{define "x"}}TEXT{{end}}
|
||||
{{define "dotV"}}{{.V}}{{end}}
|
2
tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl
vendored
Normal file
2
tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
{{define "dot"}}{{.}}{{end}}
|
||||
{{define "nested"}}{{template "dot" .}}{{end}}
|
BIN
tpl/internal/go_templates/htmltemplate/testdata/fs.zip
vendored
Normal file
BIN
tpl/internal/go_templates/htmltemplate/testdata/fs.zip
vendored
Normal file
Binary file not shown.
3
tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl
vendored
Normal file
3
tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
template1
|
||||
{{define "x"}}x{{end}}
|
||||
{{template "y"}}
|
3
tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl
vendored
Normal file
3
tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
template2
|
||||
{{define "y"}}y{{end}}
|
||||
{{template "x"}}
|
Reference in New Issue
Block a user