From 616f2446981b0dc3aa0f35affcc53898582fb984 Mon Sep 17 00:00:00 2001 From: perry Date: Fri, 5 Feb 2016 15:35:15 -0600 Subject: [PATCH] "slugify"ing in nunjucks as jekll no longer allows filters in front matter --- scripts/docs/templates/common.template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index aa71fe04..73b30504 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -4,7 +4,7 @@ version: "<$ version.current.name $>" versionHref: "<$ version.current.href $>" path: "<$ doc.path $>" category: platform -id: "{{<$ doc.name $> | slugify}}" +id: "<$ doc.name|lower|replace(' ','-') $>" title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ doc.name $><@ endif @>" header_sub_title: "<$ doc.docType | capital $> in module <$ doc.module $>" doc: "<$ doc.name $>"