From 336c2d21b22435ec2ce6df4e60716f01c9dac40c Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 26 May 2026 04:14:06 +0300 Subject: [PATCH] Add per-page gallery aspect ratios and minor content updates. Support gallery_aspect in post front matter with a WoW-screenshot default, set ratios for Transmogrification and Item enchant visuals, rename X to Twitter/X, and trim the Eluna intro paragraph. --- README.md | 6 ++++++ _layouts/default.html | 3 ++- _posts/2012-06-24-Transmogrification.md | 1 + _posts/2013-03-13-Eluna.md | 2 -- _posts/2013-04-21-Item Enchant Visuals.md | 1 + contact/index.html | 2 +- css/style.css | 4 ++-- index.html | 2 +- 8 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e8c1edb..fcb767f 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,12 @@ After the Jekyll build, CI verifies `_site/search.json`, `_site/sitemap.xml`, an Gallery screenshots keep their original JPG/PNG files. Compressed WebP copies are generated alongside them and served via `` when available. Project pages use a vanilla JS slideshow (same auto-advance behavior as the old ResponsiveSlides carousel, without jQuery). +Optional post front matter `gallery_aspect` sets the carousel frame ratio when screenshots are not standard WoW captures (default `850 / 451`). Example for wide UI banners: + +```yaml +gallery_aspect: 930 / 300 +``` + Regenerate derivatives after adding or changing images: ```bash diff --git a/_layouts/default.html b/_layouts/default.html index 8a468a0..a41d1b7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -62,7 +62,8 @@
{% if page.images %} -