Browse Source

Move content below /u/

products
Nico Schottelius 3 years ago
parent
commit
02bb77010d
  1. 7
      content/contents.lr
  2. 0
      content/u/about/contents.lr
  3. 0
      content/u/blog/contents.lr
  4. 0
      content/u/blog/first-post/contents.lr
  5. 3
      content/u/contents.lr
  6. 0
      content/u/projects/contents.lr
  7. 6
      templates/layout.html
  8. 0
      ungleich-staticcms.lektorproject

7
content/contents.lr

@ -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/

0
content/about/contents.lr → content/u/about/contents.lr

0
content/blog/contents.lr → content/u/blog/contents.lr

0
content/blog/first-post/contents.lr → content/u/blog/first-post/contents.lr

3
content/u/contents.lr

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

0
content/projects/contents.lr → content/u/projects/contents.lr

6
templates/layout.html

@ -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>

0
ungleich static cms.lektorproject → ungleich-staticcms.lektorproject

Loading…
Cancel
Save