diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/index.html b/templates/index.html index c7e55b6..8de7317 100644 --- a/templates/index.html +++ b/templates/index.html @@ -25,14 +25,9 @@ <nav> <h1>{{ macros::nav_item(name=config.title, url=config.base_url) }}</h1> <ul> - {% set root = get_section(path="_index.md") %} - {% set pages = root.pages | sort(attribute="title") %} - {% for p in pages %}<li>{{ macros::nav_item(name=p.title,url=p.permalink) }}</li>{% endfor %} - {% set subsections = root.subsections | sort %} - {% for p in subsections %} - {% set s = get_section(path=p) %} - <li>{{ macros::nav_item(name=s.title,url=s.permalink) }}</li> - {% endfor %} + <li>{{ macros::nav_item(name="Projects",url=get_url(path="@/projects.md") ) }}</li> + <li>{{ macros::nav_item(name="Posts",url=get_url(path="@/posts/_index.md") ) }}</li> + <li>{{ macros::nav_item(name="About",url=get_url(path="@/about.md") ) }}</li> </ul> </nav> </header> |