Compare commits

...
3 Commits
Author SHA1 Message Date
valknar c151bf3349 fix: new featured post 2026-05-01 11:41:51 +02:00
valknarandClaude Sonnet 4.6 879cc18fd3 feat: simplify homepage to single hero, show all other posts in latest grid
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 11:41:04 +02:00
valknar 88441dc9c3 feat: new post 2026-05-01 11:36:21 +02:00
5 changed files with 18 additions and 20 deletions
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 MiB

+14
View File
@@ -0,0 +1,14 @@
---
title: "Iron Venegeance"
description: "A cinematic wide shot of a colossal, 50-foot tall Bat-Mech Warrior Titan looming over a rain-slicked, war-torn Gotham battlefield. The mech features matte-black carbon fiber plating, glowing cobalt hydraulic joints, and a distinctive heavy-armored cowl. Through the reinforced amber-tinted glass of the chest cockpit, Batman is visible, hands gripping dual control flight sticks. Embers and orange sparks drift through the air."
date: 2026-05-01
author: "valknar"
featured: true
categories:
- Battle
tags:
- Batman
- Mech Warrior
- Urban
- High-Tech
---
+1 -17
View File
@@ -2,8 +2,7 @@
{{- $posts := where .Site.RegularPages "Section" "posts" -}}
{{- $featured := where $posts "Params.featured" true -}}
{{- $hero := index $featured 0 -}}
{{- $secondary := after 1 $featured | first 3 -}}
{{- $latest := complement $featured $posts -}}
{{- $latest := where $posts "Permalink" "ne" $hero.Permalink -}}
<!-- ── HERO ──────────────────────────────────────────────────── -->
{{- with $hero -}}
@@ -91,21 +90,6 @@
</section>
{{- end -}}
<!-- ── SECONDARY FEATURED ────────────────────────────────────── -->
{{- with $secondary -}}
<section class="gutter-x py-14 md:py-20">
<div class="flex items-center gap-5 mb-8">
<span class="badge badge-pulse">Also Featured</span>
<div class="flex-1 gradient-line"></div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-5">
{{- range . -}}
{{- partial "post-card-large.html" . -}}
{{- end -}}
</div>
</section>
{{- end -}}
<div class="gradient-line" style="opacity:0.2"></div>
<!-- ── LATEST POSTS ──────────────────────────────────────────── -->