<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>{% block title %}{{ title }}{% endblock %}</title>
- <link rel="stylesheet" type="text/css" href="{{ media_url }}style/main.css" />
+ <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style/main.css" />
</head>
<body>
<div id="page">
<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>
</ul>