Commit aa7c8483 authored by Ward De Ridder's avatar Ward De Ridder

added javascript to gallery to make browsing photo's way more comfortable

parent e57a7000
Pipeline #39252282 passed with stages
in 1 minute and 48 seconds
......@@ -20,4 +20,5 @@
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" rel="stylesheet" type="text/css">
<link href="{{ .Site.BaseURL }}/css/theme.min.css" rel="stylesheet" type="text/css">
\ No newline at end of file
<link href="{{ .Site.BaseURL }}/css/theme.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.0/baguetteBox.min.css">
<div class="gallery">
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.0/baguetteBox.min.js" async></script>
<div class="photo gallery">
{{- $directory := .Get 0 -}}
{{- $resources := .Page.Resources.ByType "image" -}}
......@@ -12,3 +13,4 @@
{{ end }}
</div>
<script>baguetteBox.run('.photo');</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment