From d64c1dc5a95a4eefcfae41339afbec88306bfbda Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 14 Mar 2018 14:16:34 -0400 Subject: [PATCH] Move test site specific file from theme to site layouts dir --- test/site/layouts/_default/single.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/site/layouts/_default/single.json diff --git a/test/site/layouts/_default/single.json b/test/site/layouts/_default/single.json new file mode 100644 index 0000000..bb958f5 --- /dev/null +++ b/test/site/layouts/_default/single.json @@ -0,0 +1,7 @@ +{ + "uri": "{{ .Permalink }}", + "title": "{{ .Title | htmlEscape }}", + "tags": [{{ range $tindex, $tag := .Params.tags }}{{ if $tindex }}, {{ end }}"{{ $tag| htmlEscape }}"{{ end }}], + "description": "{{ .Description | htmlEscape }}", + "content": "{{ range $i, $words := .PlainWords }}{{ $words | htmlEscape }} {{ end }}" +}