Merge branch 'galleria-fotojs-part3'

This commit is contained in:
omar 2024-07-21 16:12:14 +02:00
parent ce4cf64280
commit e0f511639b
69 changed files with 1 additions and 1 deletions
content/gallery/linuxday/2016
layouts/shortcodes

@ -28,7 +28,7 @@
<link rel="stylesheet" href="/js/jquery.fancybox.3.5.7.min.css" /> <link rel="stylesheet" href="/js/jquery.fancybox.3.5.7.min.css" />
<div class="gallery"> <div class="gallery">
{{ $path := print "static/photos/" (.Get "src") }} {{ $path := print "content/gallery/" (.Get "src") }}
{{ $url := print (.Get "src") }} {{ $url := print (.Get "src") }}
{{ range (readDir $path) }} {{ range (readDir $path) }}
{{/* don't try to display .DS_Store or directories */}} {{/* don't try to display .DS_Store or directories */}}