Only include .FirstSection's CSS if it's not the home page
This commit is contained in:
parent
06819504c2
commit
c48d7e0f3b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
<link rel="stylesheet" as="style" href="/styles/development.css">
|
||||
{{ end }}
|
||||
{{ block "styles" . }}{{ end }}
|
||||
{{ if gt (len .Section) 0 }}
|
||||
{{ if not .FirstSection.IsHome }}
|
||||
{{ range .FirstSection.Resources.Match "*.css" }}
|
||||
<link rel="stylesheet" as="style" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue