Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<picture>` 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
Expand Down
3 changes: 2 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
<section id="main_content">

{% if page.images %}
<div class="gallery-carousel" role="region" aria-label="{{ page.title | xml_escape }} screenshots">
{% assign gallery_aspect = page.gallery_aspect | default: '850 / 451' %}
<div class="gallery-carousel" style="--gallery-aspect: {{ gallery_aspect }};" role="region" aria-label="{{ page.title | xml_escape }} screenshots">
<ul class="gallery-slides">
{% for imagepath in page.images %}
{% assign image_base = imagepath | split: '.' | first %}
Expand Down
1 change: 1 addition & 0 deletions _posts/2012-06-24-Transmogrification.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: Change item appearances on 3.3.5 with multiple TrinityCore versions
images:
- /images/Transmog.jpg
- /images/Transmog_5_0.jpg
gallery_aspect: 930 / 300

videos:
- https://www.youtube.com/embed/mCHAAfM4Rkg?list=PL5CF7437D71BB0795
Expand Down
2 changes: 0 additions & 2 deletions _posts/2013-03-13-Eluna.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ images:

---

Eluna now lives in its own project at [ElunaLuaEngine/Eluna](https://github.com/ElunaLuaEngine/Eluna). This RochetCode page remains as an entry point to the current releases and documentation.

**Eluna Lua Engine** is an embedded Lua scripting engine for World of Warcraft emulators. It supports MaNGOS, CMaNGOS, and TrinityCore, and is actively developed with unified scripting across supported emulator cores.

**Highlights:**
Expand Down
1 change: 1 addition & 0 deletions _posts/2013-04-21-Item Enchant Visuals.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Add random enchant visuals to looted weapons on TrinityCore or thro

images:
- /images/ItemEncahtns.jpg
gallery_aspect: 600 / 272

---

Expand Down
2 changes: 1 addition & 1 deletion contact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="mailto:Rochet2@post.com">Rochet2@post.com</a>
</li>
<li class="contact-item">
<span class="contact-label">X</span>
<span class="contact-label">Twitter/X</span>
<a href="https://twitter.com/projectcode_zzl">@projectcode_zzl</a>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ a:focus-visible,
}

.contact-label {
flex: 0 0 4.5rem;
flex: 0 0 6rem;
font-weight: bold;
color: #444444;
}
Expand Down Expand Up @@ -328,7 +328,7 @@ a:focus-visible,
list-style: none;
padding: 0;
margin: 0;
aspect-ratio: 16 / 9;
aspect-ratio: var(--gallery-aspect, 850 / 451);
}

.gallery-slide {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Welcome to RochetCode</h1>
</ul>
<p class="home-links">
<a href="https://github.com/Rochet2">GitHub</a> ·
<a href="https://twitter.com/projectcode_zzl">Twitter</a> ·
<a href="https://twitter.com/projectcode_zzl">Twitter/X</a> ·
<a href="https://www.youtube.com/@Rochet2">YouTube</a> ·
<a href="{{ site.baseurl }}/contact">Contact</a>
</p>
Expand Down
Loading