t73f.de

Check-in [c30898b5b2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove link to self for posts
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c30898b5b223febc0851d25b6246d13bfe7948ab
User & Date: dkreuz 2016-04-25 17:17:13
Context
2016-04-25
17:23
Bug fix: categories are in /admin now check-in: e52083d369 user: dkreuz tags: trunk
17:17
Remove link to self for posts check-in: c30898b5b2 user: dkreuz tags: trunk
17:14
Add categories check-in: 3a462c97ca user: dkreuz tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to templates/blog-post.html.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "layout.html" %}
{% from "macros/utils.html" import render_prev_next_post %}
{% from "macros/category.html" import render_category_url %}
{% block title %}{{ this.title }}{% endblock %}
{% block article_class %}blog-post{% endblock %}
{% block body %}
<nav class="blog-post-nav above">{{ render_prev_next_post(this) }}</nav>
<h1 class="blog-post-title"><a href="{{ this|url }}">{{ this.title }}</a></h1>
<p class="blog-post-meta">
{{ this.pub_date|datetimeformat('d. MMMM YYYY, HH:mm') }} Uhr.
Unter
{%- for c in this.categories %}{{ render_category_url(c) }}{%- if loop.last %}{%- else %},{%- endif %}{%- endfor %}
abgelegt.</p>
{{ this.body }}
<nav class="blog-post-nav below">{{ render_prev_next_post(this) }}</nav>
{% endblock %}







|








1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "layout.html" %}
{% from "macros/utils.html" import render_prev_next_post %}
{% from "macros/category.html" import render_category_url %}
{% block title %}{{ this.title }}{% endblock %}
{% block article_class %}blog-post{% endblock %}
{% block body %}
<nav class="blog-post-nav above">{{ render_prev_next_post(this) }}</nav>
<h1 class="blog-post-title">{{ this.title }}</h1>
<p class="blog-post-meta">
{{ this.pub_date|datetimeformat('d. MMMM YYYY, HH:mm') }} Uhr.
Unter
{%- for c in this.categories %}{{ render_category_url(c) }}{%- if loop.last %}{%- else %},{%- endif %}{%- endfor %}
abgelegt.</p>
{{ this.body }}
<nav class="blog-post-nav below">{{ render_prev_next_post(this) }}</nav>
{% endblock %}