prepare first blog article
This commit is contained in:
parent
448f65fbd0
commit
a7ec6f0d03
8 changed files with 64 additions and 20 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue