Fix build issue for Netlify _headers file
This changes fixes an error where the production site does not build. Use .RelPermalink to generate the site-relative URL for a page.pull/34358/head
parent
1575e1e208
commit
4fa64207d0
|
@ -13,7 +13,7 @@
|
|||
{{- end -}}
|
||||
{{- range $pages }}
|
||||
{{- if or (.Params.deprecated) (eq .Params.class "gridPage") (.Params.case_study_styles) (.Params.css) (.Params.js) }}
|
||||
{{ .URL }}
|
||||
{{ .RelPermalink }}
|
||||
{{- if eq .Params.class "gridPage" }}
|
||||
Link: </css/gridpage.css>; rel=preload; as=style
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue