diff options
Diffstat (limited to 'core/setup/testdata')
-rw-r--r-- | core/setup/testdata/blog/first_post.md | 1 | ||||
-rw-r--r-- | core/setup/testdata/header.html | 1 | ||||
-rw-r--r-- | core/setup/testdata/tpl_with_include.html | 10 |
3 files changed, 12 insertions, 0 deletions
diff --git a/core/setup/testdata/blog/first_post.md b/core/setup/testdata/blog/first_post.md new file mode 100644 index 000000000..f26583b75 --- /dev/null +++ b/core/setup/testdata/blog/first_post.md @@ -0,0 +1 @@ +# Test h1 diff --git a/core/setup/testdata/header.html b/core/setup/testdata/header.html new file mode 100644 index 000000000..9c96e0e37 --- /dev/null +++ b/core/setup/testdata/header.html @@ -0,0 +1 @@ +<h1>Header title</h1> diff --git a/core/setup/testdata/tpl_with_include.html b/core/setup/testdata/tpl_with_include.html new file mode 100644 index 000000000..95eeae0c8 --- /dev/null +++ b/core/setup/testdata/tpl_with_include.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> +<title>{{.Doc.title}}</title> +</head> +<body> +{{.Include "header.html"}} +{{.Doc.body}} +</body> +</html> |