Skip to content
Snippets Groups Projects
Verified Commit ad38ed29 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add basic theme.

parent 2626c60a
No related branches found
No related tags found
No related merge requests found
title: Neue Website in Arbeit
slug: neue-website-in-arbeit
category: private
date: 2017-12-25
modified: 2017-12-25
......
......@@ -7,6 +7,7 @@ SITENAME = u'Dominik George'
SITEURL = ''
PATH = 'content'
STATIC_PATHS = ['static']
TIMEZONE = 'Europe/Berlin'
......@@ -31,6 +32,7 @@ SOCIAL = (('XMPP / Jabber', 'xmpp:nik@mercurius.teckids.org'),
('Twitter', 'https://www.twitter.com/Natureshadow'),)
DEFAULT_PAGINATION = 10
SLUGIFY_SOURCE = 'title'
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
{% extends "base.html" %}
{% block title %}{{ article.title }}{% endblock %}
{% block content %}
<h2>{{ article.title }}</h2>
<label>Veröffentlicht am <strong>{{ article.date }}</strong></label>
{{ article.content }}
{% endblock %}
<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% block title %}{% endblock %}</title>
</head>
<body>
<div class="container">
<div id="header">
<h1 id="pagetitle">Dominik George</h1>
<p id="subtitle">Free Software Fellow, Education Enthusiast, sozialliberal</p>
</div>
<div id="menu">
</div>
<div id="page">
{% block content %}{% endblock %}
</div>
<div id="footer">
</div>
</div>
</body>
</html>
{% extends "base.html" %}
{% block title %}{{ SITENAME }}{% endblock %}
{% block content %}
<h2>Blog</h2>
{% for article in articles %}
<h3><a href="/{{ article.slug }}.html">{{ article.title }}</a></h3>
<label>Veröffentlicht am <strong>{{ article.date }}</strong></label>
{{ article.content|truncate(110) }}
{% else %}
No posts yet!
{% endfor %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment