diff options
| author | Nicholas Johnson <> | 2026-09-20 00:00:00 +0000 |
|---|---|---|
| committer | Nicholas Johnson <> | 2026-09-20 00:00:00 +0000 |
| commit | b2e2ebef4f5f304884cbf86e73a000d6ee2d0a32a421e5aa55662a2255f7e364 (patch) | |
| tree | d729ba0baebcfd9f1ea0969285586cc6f2ffebd45650512c61a9a4e8a81d0587 /exampleSite/content/entry/welcome.md | |
| parent | 9f3a9875caaded223901896f5302731d825cc0e77b54b45c2eab670f6e226b40 (diff) | |
| download | hugo-theme-journal-b2e2ebef4f5f304884cbf86e73a000d6ee2d0a32a421e5aa55662a2255f7e364.tar.gz hugo-theme-journal-b2e2ebef4f5f304884cbf86e73a000d6ee2d0a32a421e5aa55662a2255f7e364.zip | |
Link the homepage feed from the homepage
The homepage was the one listing page with a feed but no link to it, so
a reader could only find it through the autodiscovery element in the
document head, which the capsule has no equivalent of. Sites worked
around this by adding the feed to the navigation links by hand.
Add a feeds section to both homepage templates, modelled on the one the
taxonomy, term and section templates carry, and place it below the
navigation links and above the entry list. As on those pages, it is
rendered only when the home kind lists the Atom output format, so a
site that omits the format gains nothing to link.
The example site's homepage gains the section in both output formats
and is otherwise byte-identical, as are the pages of every other kind.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'exampleSite/content/entry/welcome.md')
0 files changed, 0 insertions, 0 deletions
