edryd.org

some of my neat stuff
git clone git://edryd.org/edryd.org
Log | Files | Refs | LICENSE

commit cce9f2197864fb0d6f3a27a0642040257dd7555e
parent 6d4f757b663ed20dee7d3772da7e703ad472ac5f
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Mon, 21 Jun 2021 21:25:00 -0700

Don't show last row of photos on overview pages

Diffstat:
Mlayouts/_default/baseof.html | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html @@ -72,7 +72,9 @@ $(".photos").justifiedGallery({ rowHeight: 300, margins: 3, - lastRow: 'justify', + {{ if or (eq .Title .Site.Title) (eq .Title "photos") }} + lastRow: 'hide', + {{ end }} captions: false }) </script>