optimize project site
This commit is contained in:
parent
654842a411
commit
4305aac1ac
2 changed files with 26 additions and 8 deletions
|
@ -15,6 +15,14 @@ type = text
|
||||||
label = Begrüßungstext
|
label = Begrüßungstext
|
||||||
type = markdown
|
type = markdown
|
||||||
|
|
||||||
|
[fields.title2]
|
||||||
|
label = Title nach Begruessung
|
||||||
|
type = string
|
||||||
|
|
||||||
|
[fields.description]
|
||||||
|
label = Description nach Begruessung
|
||||||
|
type = markdown
|
||||||
|
|
||||||
[fields.link]
|
[fields.link]
|
||||||
label = RSS Feed
|
label = RSS Feed
|
||||||
type = string
|
type = string
|
||||||
|
@ -30,3 +38,8 @@ order_by = -pub_date, title
|
||||||
[pagination]
|
[pagination]
|
||||||
enabled = yes
|
enabled = yes
|
||||||
per_page = 9999
|
per_page = 9999
|
||||||
|
|
||||||
|
[fields.desc]
|
||||||
|
label = HTML HEAD Description
|
||||||
|
type = string
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% from "macros/projekt.html" import render_blog_post %}
|
{% from "macros/projekt.html" import render_blog_post %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title
|
||||||
|
%}{{ this.title }}{%
|
||||||
|
endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<section id="four" class="wrapper style1 special fade-up">
|
<section id="four" class="wrapper style1 special fade-up">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -11,9 +13,13 @@
|
||||||
<section id="content">
|
<section id="content">
|
||||||
{{ this.begruessung }}
|
{{ this.begruessung }}
|
||||||
</section>
|
</section>
|
||||||
<div class="row uniform">
|
<header class="major">
|
||||||
|
<h2>{{ this.title2 }}</h2>
|
||||||
|
{{ this.description2 }}
|
||||||
|
</header>
|
||||||
<div class="box alt">
|
<div class="box alt">
|
||||||
{% for child in this.pagination.items|sort(attribute='number', reverse = True)%}
|
<div class="row uniform">{%
|
||||||
|
for child in this.pagination.items|sort(attribute='number', reverse = True)%}
|
||||||
{{ render_blog_post(child, from_index=true) }}
|
{{ render_blog_post(child, from_index=true) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,9 +34,8 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block expand_description %}
|
{% block expand_description %}
|
||||||
<meta name="description" content="{%
|
<meta name="description" content="{%
|
||||||
if this.description %}{{ this.description }}{% else %}{%
|
if this.desc %}{{ this.desc }}{% else %}{%
|
||||||
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
{% endif %}" />
|
{% endif %}" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue