Add more variables to site data
This commit is contained in:
parent
f287498cbe
commit
13e3f5291f
1 changed files with 2 additions and 0 deletions
|
@ -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 }}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue