Move lightgallery styles to extra styles
This commit is contained in:
parent
0f59b43766
commit
3957505d51
2 changed files with 5 additions and 3 deletions
|
@ -15,9 +15,7 @@
|
||||||
{{ partial "style.html" "css/highlight.css" }}
|
{{ partial "style.html" "css/highlight.css" }}
|
||||||
{{ partial "style.html" "css/shareon.css" }}
|
{{ partial "style.html" "css/shareon.css" }}
|
||||||
|
|
||||||
{{ if eq .Params.layout "flickr" }}
|
{{ block "style_extra" . }}{{ end }}
|
||||||
{{ partial "style.html" "css/lightgallery.css" }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
|
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "style_extra" }}
|
||||||
|
{{ partial "style.html" "css/lightgallery.css" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ define "scripts_extra" }}
|
{{ define "scripts_extra" }}
|
||||||
{{ partial "script_async.html" "js/lightgallery.min.js" }}
|
{{ partial "script_async.html" "js/lightgallery.min.js" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue