11 lines
442 B
HTML
11 lines
442 B
HTML
{{/*
|
|
This partial builds non-standard assets (like xsl files) with the template
|
|
engine. It is necessary to do it this way to reduce user friction and
|
|
ensure that the file is there.
|
|
*/}}
|
|
{{ if .IsHome }}
|
|
{{ $feed_style_xsl_template := resources.Get "feed_style.xsl" }}
|
|
{{ $feed_style_xsl := $feed_style_xsl_template | resources.ExecuteAsTemplate "feed_style.xsl" . }}
|
|
{{ $noop := $feed_style_xsl.Permalink }}
|
|
{{ end }}
|