1
Fork 0

Add more variables to site data

This commit is contained in:
Jake Howard 2018-01-06 16:37:23 +00:00
parent f287498cbe
commit 13e3f5291f
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -5,6 +5,8 @@
"url": "{{ .Permalink }}", "url": "{{ .Permalink }}",
"link": "{{ .RelPermalink }}", "link": "{{ .RelPermalink }}",
"link_title": "{{ .LinkTitle }}", "link_title": "{{ .LinkTitle }}",
"words": {{ .FuzzyWordCount }},
"reading_time": {{ .ReadingTime }},
"parent": "{{ if .Parent }}{{ lower .Parent.Title }}{{ end }}", "parent": "{{ if .Parent }}{{ lower .Parent.Title }}{{ end }}",
"tags": {{ jsonify .Params.tags }} "tags": {{ jsonify .Params.tags }}
} }