<h1>SommitRealWeird</h1>
</div>
<div id="menu">
- {% block meny %}
+ {% block menu %}
<ul>
- <li>Home</li>
- <li>Development</li>
- <li>Links</li>
- <li>People</li>
- <li>CSS Examples</li>
+ <li><a href="/">Home</a></li>
+ {% for item in content_menu %}
+ <li><a href="{{ item.url }}">{{ item.title }}</a></li>
+ {% endfor %}
<li>Photos</li>
- <li>Blog</li>
+ <li><a href="/blog/">Blog</a></li>
</ul>
{% endblock %}
</div>
</div>
<div id="content">
+ {% block breadcrumb %}
+ <div id="breadcrumb">
+ <p>
+ {% for item in content_breadcrumb %}
+ {% if not forloop.last %}
+ <a href="{{ item.url }}">{{ item.title }}</a> >
+ {%else %}
+ {{ item.title }}
+ {% endif %}
+ {% endfor %}
+ </p>
+ </div>
+ {% endblock %}
+ {% block submenu %}
+ {% if content_submenu %}
+ <div id="submenu">
+ <ul>
+ {% for item in content_submenu %}
+ <li><a href="{{ item.url }}">{{ item.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ {% endif %}
+ {% endblock %}
{% block content %}
{{ content }}
{% endblock %}