Move content below /u/
This commit is contained in:
parent
57d66eb0c1
commit
02bb77010d
8 changed files with 8 additions and 8 deletions
|
@ -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
3
content/u/contents.lr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
title: /u/: the home of ungleich
|
||||||
|
---
|
||||||
|
body: This might be the new index page of ungleich.ch
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue