Use folder name for media admin

This commit is contained in:
2023-05-21 14:28:28 +10:00
parent 1bb59f4a25
commit a1f713cf51

View File

@@ -11,7 +11,7 @@ div class="mb-4 max-w-prose mx-auto prose dark:prose-invert"
code id="result"
- photos_buckets.each do |year, photos|
- next unless photos.count > 0
h2 = Date.parse(year).strftime("%m %b %Y")
h2 = year
div class="grid grid-cols-3 gap-4"
- photos.each do |photo|
- next if photo.match(/small/)