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: body: There is not much - everything is stored below /u/
This is a basic demo website that shows how to use Lektor for a basic
website with some pages and a blog.

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