]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - templates/base.html
New menu code and reorg of URLs
[sommitrealweird.git] / templates / base.html
index 957d995a225d6ddb96c6fe1e131a7de8982d7e2a..384e601df7ffcb4c09243b2ac64e86d736f79001 100644 (file)
                     <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>