Skip to content

Commit 253573f

Browse files
committed
Add parent nav to blog posts and announcements
1 parent 481ea26 commit 253573f

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

_layouts/announcement.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99

1010
<main class="main_post-layout">
1111

12+
<nav class="page-sub-nav">
13+
14+
<div class="page-sub-nav-content">
15+
16+
<a class="page-parent-link" href="{{ site.url }}{{ site.baseurl }}/announcements/"><svg class="page-parent-link-icon" viewBox="0 0 24 24"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/></svg>Announcements</a>
17+
18+
</div>
19+
20+
</nav>
21+
1222
<article class="main-content_post-layout">
1323

1424
<header class="page-header_post-layout">

_layouts/post.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99

1010
<main class="main_post-layout">
1111

12+
<nav class="page-sub-nav">
13+
14+
<div class="page-sub-nav-content">
15+
16+
<a class="page-parent-link" href="{{ site.url }}{{ site.baseurl }}/blog/"><svg class="page-parent-link-icon" viewBox="0 0 24 24"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/></svg>Blog</a>
17+
18+
</div>
19+
20+
</nav>
21+
1222
<article class="main-content_post-layout">
1323

1424
<header class="page-header_post-layout">

0 commit comments

Comments
 (0)