Skip to content

Commit 0767b34

Browse files
bmmmmclaude
andcommitted
fix(ci): preserve section-anchor in build-logo-slider.mjs h2 template
The script regenerates the logo-slider block from scratch and was stripping the #freundinnen heading anchor on every run, causing HTML drift in CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 91919ee commit 0767b34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build-logo-slider.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function escapeHtml(s) {
4848
function buildMarkup(files) {
4949
const lines = [
5050
' <section id="freundinnen" class="logo-slider" aria-labelledby="logo-slider-heading">',
51-
' <h2 id="logo-slider-heading">Freund*innen des bitcircus101</h2>',
51+
' <h2 id="logo-slider-heading">Freund*innen des bitcircus101<a class="section-anchor" href="#freundinnen" aria-label="Link zu: Freund*innen">#</a></h2>',
5252
' <div class="logo-slider__viewport">',
5353
' <div class="logo-slider__track">',
5454
' <div class="logo-slider__set">',

0 commit comments

Comments
 (0)