Skip to content

Commit e89669b

Browse files
committed
Add News sidebar entry and move weekly updates to top of page
1 parent de511ee commit e89669b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

_includes/sidebar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<nav class="sidebar-nav">
1212
<a class="sidebar-nav-item{% if page.title == 'Home' %} active{% endif %}" href="{{ '/index.html' | absolute_url }}">Home</a>
13+
<a class="sidebar-nav-item" href="https://github.com/fvutils/fvutils.github.io/discussions/categories/weekly-updates">News</a>
1314

1415
{% comment %}
1516
The code below dynamically generates a sidebar nav of pages with

index.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ title: Home
1212
</p>
1313
</div>
1414

15+
<div id="weekly-updates-container">
16+
<div class="news-section">
17+
<h2>Weekly Updates</h2>
18+
<p>Loading weekly updates...</p>
19+
</div>
20+
</div>
21+
22+
<script src="{{ '/public/js/discussion-feed.js' | relative_url }}"></script>
23+
1524
<div class="projects-section">
1625
<h2>User-Facing Tools</h2>
1726
<p class="category-intro">
@@ -208,12 +217,4 @@ title: Home
208217
</div>
209218
</div>
210219

211-
<div id="weekly-updates-container">
212-
<div class="news-section">
213-
<h2>Weekly Updates</h2>
214-
<p>Loading weekly updates...</p>
215-
</div>
216-
</div>
217-
218-
<script src="{{ '/public/js/discussion-feed.js' | relative_url }}"></script>
219220

0 commit comments

Comments
 (0)