Skip to content

Commit 3e9ee8d

Browse files
author
Devin Reams
committed
sort the sidebar and bump version
1 parent 85c18ae commit 3e9ee8d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ intro: "I'm [Devin Reams](/about/) and I help customers at [GitHub](https://gith
77

88
email: devin@reams.me
99
url: "http://devin.reams.me"
10-
version: 1.1
10+
version: 1.2
1111

1212
# Build settings
1313
markdown: kramdown
@@ -19,4 +19,4 @@ gems:
1919
- jekyll-mentions
2020
- jemoji
2121
- jekyll-redirect-from
22-
- jekyll-sitemap
22+
- jekyll-sitemap

_includes/sidebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<nav class="sidebar-nav">
1212
<a class="sidebar-nav-item{% if page.title == "Home" %} active{% endif %}" href="/">Home</a>
1313

14-
{% assign pages_list = site.pages %}
14+
{% assign pages_list = site.pages | sort:"url" %}
1515
{% for node in pages_list %}
1616
{% if node.title != null %}
1717
{% if node.layout == "page" %}
@@ -22,7 +22,7 @@
2222

2323
<a class="sidebar-nav-item" href="http://photos.devin.reams.me/">Photos</a>
2424
</nav>
25-
25+
2626
<div class="sidebar-item social-icons">
2727
{% include social.html %}
2828
</div>

0 commit comments

Comments
 (0)