Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/personal/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<body class="kind-{{ .Kind }} section-{{ .Section }} shell-personal">
<a class="skip-link" href="#main-content">Skip to content</a>
<nav aria-label="Return to MSRG">
<a class="personal-home-link" href="{{ "/" | relURL }}" aria-label="Back to the MSRG main site">
<a class="personal-home-link" href="{{ "/people/" | relURL }}" aria-label="Back to the MSRG main site">
<span class="personal-home-link__icon" aria-hidden="true">
<svg viewBox="0 0 24 24" role="img" focusable="false">
<path d="M14.5 5.5 8 12l6.5 6.5" />
Expand Down
1 change: 1 addition & 0 deletions tests/test_personal_sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def test_templates_infer_url_and_identity_from_member(self):
self.assertIn("<h1>Thomas Trenty</h1>", html)
self.assertIn("<title>Thomas Trenty |", html)
self.assertIn("My research.", html)
self.assertRegex(html, r'href="?/people/"? aria-label="Back to the MSRG main site"')
self.assert_both_websites((self.output / "people/index.html").read_text())
if not alumni:
self.assert_both_websites((self.output / "research/quantum-computing-systems/index.html").read_text())
Expand Down
Loading