Add menu links
This commit is contained in:
parent
6881587450
commit
da534d3210
|
@ -1,2 +1,9 @@
|
|||
name: Sculpin Demo
|
||||
locale: en
|
||||
main_menu:
|
||||
-
|
||||
title: Home
|
||||
href: /
|
||||
-
|
||||
title: Talks
|
||||
href: /talks/
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
{% extends 'app' %}
|
||||
|
||||
{% block body %}
|
||||
<nav>
|
||||
{% for link in site.main_menu %}
|
||||
<a href="{{ link.href }}">{{ link.title }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue