Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.json b/layouts/index.json
index 84219aa..ab313ca 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -3,9 +3,9 @@
{{- if and $index (gt $index 0) -}},{{- end }}
{
"uri": "{{ $page.Permalink }}",
- "title": "{{ htmlEscape $page.Title}}",
- "tags": [{{ range $tindex, $tag := $page.Params.tags }}{{ if $tindex }}, {{ end }}"{{ $tag| htmlEscape }}"{{ end }}],
- "description": "{{ htmlEscape .Description}}",
+ "title": {{ $page.Title | jsonify }},
+ "tags": {{ $page.Params.tags | jsonify }},
+ "description": {{ .Description | jsonify }},
"content": {{$page.Plain | jsonify}}
}
{{- end -}}