From 13e3f5291f4a89a962e184d4416f6ba1630787de Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 6 Jan 2018 16:37:23 +0000 Subject: [PATCH] Add more variables to site data --- layouts/partials/page_data.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/page_data.json b/layouts/partials/page_data.json index 0b59c42..8d90ad9 100644 --- a/layouts/partials/page_data.json +++ b/layouts/partials/page_data.json @@ -5,6 +5,8 @@ "url": "{{ .Permalink }}", "link": "{{ .RelPermalink }}", "link_title": "{{ .LinkTitle }}", + "words": {{ .FuzzyWordCount }}, + "reading_time": {{ .ReadingTime }}, "parent": "{{ if .Parent }}{{ lower .Parent.Title }}{{ end }}", "tags": {{ jsonify .Params.tags }} }