Skip to content

Commit 340eb27

Browse files
committed
changing list for pages
did not understand the variable
1 parent c4c96d0 commit 340eb27

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

website/_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<!-- Collect the nav links, forms, and other content for toggling -->
1919
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
2020
<ul class="nav navbar-nav">
21-
{% assign pages = site.main_pages | sort:"weight" %}
21+
{% assign pages = site.pages | sort:"weight" %}
2222
{% for my_page in pages %}
2323
{% if my_page.title %}
2424
<li><a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>

website/_layouts/main_page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: default
3+
---
4+
5+
{{ content }}

0 commit comments

Comments
 (0)