diff options
-rw-r--r-- | layouts/partials/head/css.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/head/css.html b/layouts/partials/head/css.html index 0b58d4d..cf5a301 100644 --- a/layouts/partials/head/css.html +++ b/layouts/partials/head/css.html @@ -18,7 +18,9 @@ {{- end }} <!-- PhotoSwipe --> +{{ if eq .Type "gallery" }} {{ $photoswipe := "css/photoswipe.css" }} <link rel="stylesheet" href="{{ $photoswipe | absURL }}"> {{ $defaultSkin := "css/default-skin.css" }} -<link rel="stylesheet" href="{{ $defaultSkin | absURL }}">
\ No newline at end of file +<link rel="stylesheet" href="{{ $defaultSkin | absURL }}"> +{{ end }}
\ No newline at end of file |