prepare first blog article

This commit is contained in:
Nico Schottelius 2019-09-24 23:35:06 +09:00
commit a7ec6f0d03
8 changed files with 64 additions and 20 deletions

View file

@ -1,18 +1,16 @@
<!doctype html>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ '/u/static/style.css'|url }}">
<title>{% block title %}Welcome{% endblock %} — ungleich static cms</title>
<title>{% block title %}Welcome to {% endblock %} ungleich.ch</title>
<body>
<header>
<h1>ungleich static cms</h1>
<h1>{{ self.title() }}</h1>
<nav>
<ul class="nav navbar-nav">
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Welcome</a></li>
{% for href, title in [
['/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>