Fix unintended HTML in <head>
The load-photoswipe-theme partial was being incorrectly loaded in the <head>. Instead, we should load the CSS in the head, and the initialization HTML should go in the <body>
This commit is contained in:
parent
c95cb46fb6
commit
1a5d075d00
3 changed files with 5 additions and 9 deletions
|
|
@ -1,3 +1,5 @@
|
|||
{{- partial "load-photoswipe-theme.html" . }}
|
||||
|
||||
{{ if .IsHome }}
|
||||
{{ if .Site.Params.homeTitle }}{{ $.Scratch.Set "title" .Site.Params.homeTitle }}{{ else }}{{ $.Scratch.Set "title" .Site.Title }}{{ end }}
|
||||
{{ if .Site.Params.subtitle }}{{ $.Scratch.Set "subtitle" .Site.Params.subtitle }}{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue