Update models and templates
This commit is contained in:
parent
66d57efe42
commit
b4bc59a800
13 changed files with 86 additions and 18 deletions
|
@ -9,7 +9,7 @@ type = string
|
||||||
|
|
||||||
[fields.description]
|
[fields.description]
|
||||||
label = Description
|
label = Description
|
||||||
type = markdown
|
type = text
|
||||||
|
|
||||||
[fields.spruch]
|
[fields.spruch]
|
||||||
label = Werbespruch
|
label = Werbespruch
|
||||||
|
|
|
@ -15,6 +15,10 @@ type = string
|
||||||
label = Start-Slogan
|
label = Start-Slogan
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
|
[fields.teaser]
|
||||||
|
label = Kurz umrissen: was sieht man hier?
|
||||||
|
type = text
|
||||||
|
|
||||||
[fields.content]
|
[fields.content]
|
||||||
label = Seiteninhalt
|
label = Seiteninhalt
|
||||||
type = markdown
|
type = markdown
|
||||||
|
|
|
@ -15,6 +15,10 @@ type = string
|
||||||
label = Start-Slogan
|
label = Start-Slogan
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
|
[fields.teaser]
|
||||||
|
label = Kurz umrissen: was sieht man hier?
|
||||||
|
type = text
|
||||||
|
|
||||||
[fields.p1]
|
[fields.p1]
|
||||||
label = Überschrift 1. Tabelle
|
label = Überschrift 1. Tabelle
|
||||||
type = string
|
type = string
|
||||||
|
|
|
@ -9,7 +9,7 @@ type = string
|
||||||
|
|
||||||
[fields.description]
|
[fields.description]
|
||||||
label = Description
|
label = Description
|
||||||
type = markdown
|
type = text
|
||||||
|
|
||||||
[fields.link]
|
[fields.link]
|
||||||
label = RSS Feed
|
label = RSS Feed
|
||||||
|
|
|
@ -15,6 +15,10 @@ type = string
|
||||||
label = Start-Slogan
|
label = Start-Slogan
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
|
[fields.teaser]
|
||||||
|
label = Kurz umrissen: was sieht man hier?
|
||||||
|
type = text
|
||||||
|
|
||||||
[fields.precontent]
|
[fields.precontent]
|
||||||
label = Seiteninhalt vor der Map
|
label = Seiteninhalt vor der Map
|
||||||
type = markdown
|
type = markdown
|
||||||
|
|
|
@ -7,6 +7,13 @@
|
||||||
<link rel="import" href="{{ '/youtube-embed.html'|url }}"> {% endif %}
|
<link rel="import" href="{{ '/youtube-embed.html'|url }}"> {% endif %}
|
||||||
{% endblock %}{% endif %}
|
{% endblock %}{% endif %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title %}{{ this.title }}{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.xml %}{{ this.xml }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<!-- Main -->
|
<!-- Main -->
|
||||||
<div id="main" class="wrapper style1">
|
<div id="main" class="wrapper style1">
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header class="major">
|
<header class="major">
|
||||||
<h2>{{ this.title }}</h2>
|
<h2>{{ this.title }}</h2>
|
||||||
{{ this.description }}
|
<p>{{ this.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
<center>
|
<center>
|
||||||
<a href="{{ this.link|url }}" class="button primary fit" >{{ this.spruch }}
|
<a href="{{ this.link|url }}" class="button primary fit" >{{ this.spruch }}
|
||||||
|
@ -27,3 +27,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.description %}{{ this.description }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,13 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{% block title %}Startseite{% endblock %}</title>
|
<title>{% block title %}Startseite{% endblock %}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="stylesheet" href="{{ '/css/main.min.css'|url }}" />
|
<link rel="stylesheet" href="{{ '/css/main.css'|url }}" />
|
||||||
<!--[if lte IE 9]><link rel="stylesheet" href="{{ 'assets/css/ie9.min.css'|url }}" /><![endif]-->
|
<!--[if lte IE 9]><link rel="stylesheet" href="{{ 'assets/css/ie9.css'|url }}" /><![endif]-->
|
||||||
<meta name="description" content="{% if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{% else %}{{ bag('translate', 'de', 'description') }}{% endif %}" />
|
{% block expand_description
|
||||||
|
%}<meta name="description" content="{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}" />{%
|
||||||
|
endblock %}
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/images/icons/apple-touch-icon.png'|url }}">
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/images/icons/apple-touch-icon.png'|url }}">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/images/icons/favicon-32x32.png'|url }}">
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/images/icons/favicon-32x32.png'|url }}">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/images/icons/favicon-16x16.png'|url }}">
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/images/icons/favicon-16x16.png'|url }}">
|
||||||
|
@ -15,13 +19,12 @@
|
||||||
<link rel="shortcut icon" href="{{ '/images/icons/favicon.ico'|url }}">
|
<link rel="shortcut icon" href="{{ '/images/icons/favicon.ico'|url }}">
|
||||||
<meta name="msapplication-TileColor" content="#da532c">
|
<meta name="msapplication-TileColor" content="#da532c">
|
||||||
<meta name="msapplication-config" content="{{ '/images/icons/browserconfig.xml'|url }}">
|
<meta name="msapplication-config" content="{{ '/images/icons/browserconfig.xml'|url }}">
|
||||||
<meta name="theme-color" content="#e64f2d">
|
<meta name="theme-color" content="#e64f2d">{%
|
||||||
{% block expand_header %}{% endblock %}
|
block expand_header %}{% endblock %}
|
||||||
<script src="{{ '/js/jquery.min.js'|url }}"></script>
|
<script src="{{ '/js/jquery.min.js'|url }}"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="{% if this._path == '/' %}landing {% endif %} is-preload">
|
<body class="{% if this._path == '/' %}landing {% endif %} is-preload">
|
||||||
<div id="page-wrapper">
|
<div id="page-wrapper">
|
||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<h1 id="logo">
|
<h1 id="logo">
|
||||||
|
@ -152,14 +155,12 @@
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Main -->
|
<!-- Main -->
|
||||||
{% block body %}{% endblock %}
|
{% block body %}{% endblock %}
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<footer id="footer">
|
<footer id="footer">
|
||||||
<ul class="icons">
|
<ul class="icons">{%
|
||||||
{% for label, icon, href in [
|
for label, icon, href in [
|
||||||
['Twitter', 'fab fa-twitter', "https://twitter.com/toolboxbodensee"],
|
['Twitter', 'fab fa-twitter', "https://twitter.com/toolboxbodensee"],
|
||||||
['Mastodon', 'fab fa-mastodon', "https://chaos.social/@toolbox"],
|
['Mastodon', 'fab fa-mastodon', "https://chaos.social/@toolbox"],
|
||||||
['Facebook', 'fab fa-facebook', "https://www.facebook.com/toolboxbodensee/"],
|
['Facebook', 'fab fa-facebook', "https://www.facebook.com/toolboxbodensee/"],
|
||||||
|
@ -170,13 +171,17 @@
|
||||||
['Telefon', 'fas fa-phone', "tel:+4975449667222"],
|
['Telefon', 'fas fa-phone', "tel:+4975449667222"],
|
||||||
['News', 'fas fa-rss', "https://toolbox-bodensee.de/feed_blog.xml"]
|
['News', 'fas fa-rss', "https://toolbox-bodensee.de/feed_blog.xml"]
|
||||||
] %}
|
] %}
|
||||||
<li><a href="{{ href }}" title="{{ label }}" target="_blank" rel="noopener" class="icon {{ icon }}"></a></li>
|
<li><a href="{{ href }}" title="{{ label }}" target="_blank" rel="noopener" class="icon {{ icon }}"></a></li>{%
|
||||||
{% endfor %}
|
endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="copyright">
|
<ul class="copyright">
|
||||||
<li>©Copyright by Toolbox Bodensee e.V.</li>
|
<li>©Copyright by Toolbox Bodensee e.V.</li>
|
||||||
<li><a href="{{ '/impressum/'|url }}">{% if bag('navigation', this.alt, 'Impressum') %}{{ bag('navigation', this.alt, 'Impressum') }}{% else %}Impressum{% endif %}</a></li>
|
<li><a href="{{ '/impressum/'|url }}">{%
|
||||||
<li><a href="{{ '/datenschutz/'|url }}">{% if bag('navigation', this.alt, 'Datenschutz') %}{{ bag('navigation', this.alt, 'Datenschutz') }}{% else %}Datenschutzerklärung{% endif %}</a></li>
|
if bag('navigation', this.alt, 'Impressum') %}{{ bag('navigation', this.alt, 'Impressum') }}{%
|
||||||
|
else %}Impressum{% endif %}</a></li>
|
||||||
|
<li><a href="{{ '/datenschutz/'|url }}">{%
|
||||||
|
if bag('navigation', this.alt, 'Datenschutz') %}{{ bag('navigation', this.alt, 'Datenschutz') }}{%
|
||||||
|
else %}Datenschutzerklärung{% endif %}</a></li>
|
||||||
<li>Design inspired by <a href="http://html5up.net">HTML5 UP</a> </li>
|
<li>Design inspired by <a href="http://html5up.net">HTML5 UP</a> </li>
|
||||||
<!-- CMS: Lektor | Angepasst durch L3D -->
|
<!-- CMS: Lektor | Angepasst durch L3D -->
|
||||||
<!-- advertising: Grab your waffle from C3WOC! C3WOC ->Great waffles for everypony. https://c3woc.de/ -->
|
<!-- advertising: Grab your waffle from C3WOC! C3WOC ->Great waffles for everypony. https://c3woc.de/ -->
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title %}{{ this.title }}{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.teaser %}{{ this.teaser }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div id="main" class="wrapper style1">
|
<div id="main" class="wrapper style1">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title %}{{ this.title }}{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.teaser %}{{ this.teaser }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div id="main" class="wrapper style1">
|
<div id="main" class="wrapper style1">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
<script src="{{ '/js/webcomponents.min.js'|url }}"></script/>
|
<script src="{{ '/js/webcomponents.min.js'|url }}"></script/>
|
||||||
<link rel="import" href="{{ '/youtube-embed.html'|url }}"> {% endif %}
|
<link rel="import" href="{{ '/youtube-embed.html'|url }}"> {% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.teaser %}{{ this.teaser }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title %}{{ this.title }}{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{{ render_blog_post(this) }}
|
{{ render_blog_post(this) }}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header class="major">
|
<header class="major">
|
||||||
<h2>{{ this.title }}</h2>
|
<h2>{{ this.title }}</h2>
|
||||||
{{ this.description }}
|
<p>{{ this.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
<div class="box alt">
|
<div class="box alt">
|
||||||
<div class="row uniform">
|
<div class="row uniform">
|
||||||
|
@ -25,3 +25,11 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.description %}{{ this.description }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,13 @@
|
||||||
<script src="{{ '/js/leaflet.js'|url }}" integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA==" crossorigin=""></script>
|
<script src="{{ '/js/leaflet.js'|url }}" integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA==" crossorigin=""></script>
|
||||||
<link href="{{ '/css/lightgallery.css'|url }}" rel="stylesheet">
|
<link href="{{ '/css/lightgallery.css'|url }}" rel="stylesheet">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% block expand_description %}
|
||||||
|
<meta name="description" content="{%
|
||||||
|
if this.teaser %}{{ this.teaser }}{% else %}{%
|
||||||
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
||||||
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
||||||
|
{% endif %}" />
|
||||||
|
{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div id="main" class="wrapper style1">
|
<div id="main" class="wrapper style1">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in a new issue