1
Fork 0

Move lightgallery styles to extra styles

This commit is contained in:
Jake Howard 2021-12-27 10:32:50 +00:00
parent 0f59b43766
commit 3957505d51
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 5 additions and 3 deletions

View file

@ -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>

View file

@ -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 }}