Skip to content
Snippets Groups Projects
Commit 8d455c1a authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add gitignore and stylesheet.

parent 4564d889
No related branches found
No related tags found
No related merge requests found
*~
......@@ -15,7 +15,7 @@ nav {
}
img#logo {
height: 100%;
height: 60px;
}
nav {
......@@ -24,7 +24,7 @@ nav {
color: #777777;
}
.nav-wrapper > ul > li > a{
.nav-wrapper > ul > li > a {
color: #777777;
}
......
static/img/logo_de.png

51 KiB

static/img/logo_en.png

50.7 KiB

{% extends "base.html" %}
{% block title %}{{ article.title|striptags }} - {{ SITETITLE }}{% endblock %}
{% block head %}
{{ super() }}
{% for keyword in article.keywords %}
<meta name="keywords" content="{{keyword}}" />
{% endfor %}
{% if article.description %}
{% for description in article.description %}
<meta name="description" content="{{description}}" />
{% endfor %}
{% elif article.summary %}
<meta name="description" content="{{ article.summary|striptags }}" />
{% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
<link rel='stylesheet' type='text/css' href="/theme/css/article.css" />
<meta itemprop='url' content='{{ SITEURL }}/{{ article.url }}' />
<meta itemprop='name' content='{{ SITENAME }} - {{ article.title|striptags }}' />
<meta property='og:url' content='{{ SITEURL }}/{{ article.url }}' />
<meta property='og:title' content='{{ SITENAME }} - {{ article.title|striptags }}' />
<meta property='og:image' content='{{ SITELOGO }}' />
{% if article.authors %}
{% for author in article.authors %}
<meta itemprop='author' content='{{ author }}' />
<meta property='og:author' content='{{ author }}' />
{% endfor %}
{% endif %}
{% if article.summary %}
<meta itemprop='description' content="{{ article.summary|striptags }}" />
<meta property='og:description' content="{{ article.summary|striptags }}" />
{% else %}
<meta itemprop='description' content="{{ article.content|striptags|truncate() }}" />
<meta property='og:description' content="{{ article.content|striptags|truncate() }}" />
{% endif %}
{% endblock head %}
{% block content %}
<section id="content" class="body">
<div class='container'>
<div class='row clearfix'>
<div class='column full'>
{# <header> #}
<h2 class="entry-title">
<a href="/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
{# </header> #}
<div class="post-info">
<abbr class="published" title="{{ article.date.isoformat() }}">
{{ article.locale_date }}
</abbr>
{% if article.modified %}
<abbr class="modified" title="{{ article.modified.isoformat() }}">
{{ article.locale_modified }}
</abbr>
{% endif %}
{% if article.authors %}
<address class="vcard author">
by {% for author in article.authors %}
<a class="url fn" href="/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</address>
{% endif %}
</div><!-- /.post-info -->
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->
</div>
</div>
</div>
</section>
{% endblock content %}
......@@ -8,7 +8,7 @@
<meta name="description" content="{{ DESCRIPTION }}" />
<meta name="author" content="Teckids e.V." />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/materialize.min.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/static/style.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.css" />
<title>
{{ SITENAME }}
......@@ -21,9 +21,9 @@
<div class="nav-wrapper">
<!-- Brand and toggle get grouped for better mobile display -->
<a class="brand-logo" href="{{ SITEURL }}">
Schul-Frei
<img id="logo" src="{{ SITELOGO }}" alt="{{ SITENAME }}">
</a>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<!-- Collect the nav links, forms, and other content for toggling -->
<ul class="right hide-on-med-and-down">
{% for name, link in LINKS %}
......@@ -32,6 +32,13 @@
</li>
{% endfor %}
</ul>
<ul class="sidenav" id="mobile-demo">
{% for name, link in LINKS %}
<li>
<a href="{{ link }}">{{ name }}</a>
</li>
{% endfor %}
</ul>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
......
......@@ -8,7 +8,7 @@
<meta name="description" content="{{ DESCRIPTION }}" />
<meta name="author" content="Teckids e.V." />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/materialize.min.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ STATIC }}/style.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.css" />
<title>
{{ SITENAME }}
......@@ -21,9 +21,9 @@
<div class="nav-wrapper">
<!-- Brand and toggle get grouped for better mobile display -->
<a class="brand-logo" href="{{ SITEURL }}">
Schul-Frei
<img id="logo" src="/{{ SITELOGO }}" alt="{{ SITENAME }}">
</a>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<!-- Collect the nav links, forms, and other content for toggling -->
<ul class="right hide-on-med-and-down">
{% for name, link in LINKS %}
......@@ -32,6 +32,13 @@
</li>
{% endfor %}
</ul>
<ul class="sidenav" id="mobile-demo">
{% for name, link in LINKS %}
<li>
<a href="{{ link }}">{{ name }}</a>
</li>
{% endfor %}
</ul>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
......
{% extends 'base.html' %}
{% block content %}
<h2>{{ SITETITLE }}</h2>
{% 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