Skip to content

Commit 8508fe7

Browse files
committed
Nav: header → Journeys; footer → Python docs link; remove Start
Restructure the chrome links so the header's nav-links are about where to go inside the site (Journeys) and external docs sit in the footer where readers expect references. - Removed the "Start" link (pointed at hello-world). The home page already lists every example; the brand wordmark on every page goes home; "Start" was redundant chrome. - Removed the "Python 3.13 docs" link from the header and added it back as a footer line via site-footer-note styling. - Added a "Journeys" link in the header nav-links span. Two-link footer + one-link header keeps the chrome minimal and respects the impeccable layout rule against generic-card-style nav clutter. 62 tests pass; SEO/cache lint clears 110 pages.
1 parent 45a59c7 commit 8508fe7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/asset_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Generated by scripts/fingerprint_assets.py. Do not edit by hand.
22
ASSET_PATHS = {'SITE_CSS': '/site.b5d5cf89f344.css', 'SYNTAX_JS': '/syntax-highlight.3b6c7f730d46.js', 'EDITOR_JS': '/editor.dd81f5171b14.js'}
3-
HTML_CACHE_VERSION = '0476ea74e5b1'
3+
HTML_CACHE_VERSION = '1718c453ecb2'

src/templates/layout.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
</head>
2121
<body>
2222
<header>
23-
<nav><a class="brand" href="/">Python By Example</a><span class="nav-links"><a href="__REFERENCE_URL__">Python __PYTHON_VERSION__ docs</a><a href="/examples/hello-world">Start</a></span></nav>
23+
<nav><a class="brand" href="/">Python By Example</a><span class="nav-links"><a href="/journeys">Journeys</a></span></nav>
2424
</header>
2525
<main>__CONTENT__</main>
26+
<footer class="meta site-footer-note"><a class="text-link" href="__REFERENCE_URL__">Python __PYTHON_VERSION__ docs</a></footer>
2627
</body>
2728
</html>

0 commit comments

Comments
 (0)