Move content below /u/

This commit is contained in:
Nico Schottelius 2019-09-24 21:06:11 +09:00
parent 57d66eb0c1
commit 02bb77010d
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,3 @@
title: Welcome to ungleich static cms!
title: ungleich static cms
---
body:
This is a basic demo website that shows how to use Lektor for a basic
website with some pages and a blog.
body: There is not much - everything is stored below /u/

3
content/u/contents.lr Normal file
View File

@ -0,0 +1,3 @@
title: /u/: the home of ungleich
---
body: This might be the new index page of ungleich.ch

View File

@ -10,9 +10,9 @@
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Welcome</a></li>
{% for href, title in [
['/blog', 'Blog'],
['/projects', 'Projects'],
['/about', 'About']
['/u/blog', 'Blog'],
['/u/projects', 'Projects'],
['/u/about', 'About']
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>