diff options
| author | Nicholas Johnson <> | 2026-09-18 00:00:00 +0000 |
|---|---|---|
| committer | Nicholas Johnson <> | 2026-09-19 16:06:44 -0400 |
| commit | 4f22a1ee6092762ee116dc09b3cea66b181e3efffe22eb56037c6e41b11757d8 (patch) | |
| tree | 572120701b12f11814404622120829a78001a42c5fd00244208378bd34466524 /config/_default | |
| parent | 57722d8190902f0c91f53317b3699a11cffb01b05cc28c3eadff83c244bba4eb (diff) | |
| download | hugo-theme-journal-4f22a1ee6092762ee116dc09b3cea66b181e3efffe22eb56037c6e41b11757d8.tar.gz hugo-theme-journal-4f22a1ee6092762ee116dc09b3cea66b181e3efffe22eb56037c6e41b11757d8.zip | |
Fix entry heading anchors on page bundles
The heading id came from .File.TranslationBaseName, which is "index"
for every leaf bundle. Since audio versions require an entry to be a
bundle, every entry with audio got the same meaningless anchor, and
pages built by a content adapter would have taken the name of the
directory holding the adapter.
Derive the id from the page's own URL instead. Single file entries keep
the anchors they already had, and bundles, adapter built pages and
custom slugs now each get their own.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'config/_default')
0 files changed, 0 insertions, 0 deletions
