forked from ag_kommunikation/webseite
Add OG Atributes
This commit is contained in:
parent
6908b15201
commit
e4dbe88e4e
BIN
assets/images/og_unicorn.png
(Stored with Git LFS)
Normal file
BIN
assets/images/og_unicorn.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -67,3 +67,5 @@ body:
|
|||||||
## Hacker-Kompetenz von bester Genossenschaft
|
## Hacker-Kompetenz von bester Genossenschaft
|
||||||
|
|
||||||
Als ein erster, großartiger Erfolg ist zu werten, dass die WTF eG vom Start weg etwa 200 Genossinnen und Genossen vereinigt, die alle sehr gern – einzeln oder im Team – ihre digitalen Kompetenzen der Wirtschaft zur Verfügung stellen.
|
Als ein erster, großartiger Erfolg ist zu werten, dass die WTF eG vom Start weg etwa 200 Genossinnen und Genossen vereinigt, die alle sehr gern – einzeln oder im Team – ihre digitalen Kompetenzen der Wirtschaft zur Verfügung stellen.
|
||||||
|
---
|
||||||
|
meta_description: Die Hackergenossenschaft für chaosnahes Wirtschaften.
|
||||||
|
@ -5,9 +5,15 @@ hidden = yes
|
|||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
|
description = Der Seitentitel und die Überschrift dieser Seite
|
||||||
type = string
|
type = string
|
||||||
size = large
|
size = large
|
||||||
|
|
||||||
|
[fields.meta_description]
|
||||||
|
label = Meta Beschreibung
|
||||||
|
description = Hier kommt die Beschreibung rein, die von Suchmachinen, Seitencrawlern und Previews auf diese Seite generiert werden
|
||||||
|
type = string
|
||||||
|
|
||||||
[fields.author]
|
[fields.author]
|
||||||
label = Author
|
label = Author
|
||||||
type = string
|
type = string
|
||||||
|
@ -1,10 +1,16 @@
|
|||||||
[model]
|
[model]
|
||||||
name = Blog
|
name = Blog
|
||||||
label = Blog
|
label = Blog
|
||||||
hidden = yes
|
hidden = true
|
||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
|
description = Der Seitentitel und die Überschrift dieser Seite
|
||||||
|
type = string
|
||||||
|
|
||||||
|
[fields.meta_description]
|
||||||
|
label = Meta Beschreibung
|
||||||
|
description = Hier kommt die Beschreibung rein, die von Suchmachinen, Seitencrawlern und Previews auf diese Seite generiert werden
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
[children]
|
[children]
|
||||||
@ -12,5 +18,5 @@ model = blog-post
|
|||||||
order_by = -pub_date, title
|
order_by = -pub_date, title
|
||||||
|
|
||||||
[pagination]
|
[pagination]
|
||||||
enabled = yes
|
enabled = true
|
||||||
per_page = 10
|
per_page = 10
|
||||||
|
@ -5,6 +5,12 @@ inherits = header_with_logo
|
|||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
|
description = Der Seitentitel und die Überschrift dieser Seite
|
||||||
|
type = string
|
||||||
|
|
||||||
|
[fields.meta_description]
|
||||||
|
label = Meta Beschreibung
|
||||||
|
description = Hier kommt die Beschreibung rein, die von Suchmachinen, Seitencrawlern und Previews auf diese Seite generiert werden
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
[fields.section]
|
[fields.section]
|
||||||
|
@ -5,6 +5,12 @@ inherits = header_slim
|
|||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
|
description = Der Seitentitel und die Überschrift dieser Seite
|
||||||
|
type = string
|
||||||
|
|
||||||
|
[fields.meta_description]
|
||||||
|
label = Meta Beschreibung
|
||||||
|
description = Hier kommt die Beschreibung rein, die von Suchmachinen, Seitencrawlern und Previews auf diese Seite generiert werden
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
[fields.body]
|
[fields.body]
|
||||||
|
@ -1,10 +1,18 @@
|
|||||||
{% extends "header_slim.html" %}
|
{% extends "header_slim.html" %}
|
||||||
{% from "macros/blog.html" import render_blog_post %}
|
{% from "macros/blog.html" import render_blog_post %}
|
||||||
|
{%- block title -%}{{ this.title }}{%- endblock -%}
|
||||||
|
{%- block meta_description -%}
|
||||||
|
{%- if this.meta_description is defined and this.meta_description != "" -%}
|
||||||
|
{{ this.meta_description }}
|
||||||
|
{%- else -%}
|
||||||
|
Werkkooperative der Technikfreundinnen eG
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endblock -%}
|
||||||
|
{% block body %}
|
||||||
<div class="content__box">
|
<div class="content__box">
|
||||||
<div class="content__inner_box">
|
<div class="content__inner_box">
|
||||||
<h1>{{ this.title }}</h1>
|
<h1>{{ this.title }}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% block body %}
|
|
||||||
{{ render_blog_post(this) }}
|
{{ render_blog_post(this) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -2,6 +2,14 @@
|
|||||||
{% from "macros/blog.html" import render_blog_post %}
|
{% from "macros/blog.html" import render_blog_post %}
|
||||||
{% from "macros/pagination.html" import render_pagination %}
|
{% from "macros/pagination.html" import render_pagination %}
|
||||||
|
|
||||||
|
{%- block title -%}{{ this.title }}{%- endblock -%}
|
||||||
|
{%- block meta_description -%}
|
||||||
|
{%- if this.meta_description is defined and this.meta_description != "" -%}
|
||||||
|
{{ this.meta_description }}
|
||||||
|
{%- else -%}
|
||||||
|
Werkkooperative der Technikfreundinnen eG
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endblock -%}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="content__box">
|
<div class="content__box">
|
||||||
<div class="content__inner_box">
|
<div class="content__inner_box">
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
{% extends "header_with_logo.html" %}
|
{% extends "header_with_logo.html" %}
|
||||||
|
{%- block title -%}{{ this.title }}{%- endblock -%}
|
||||||
|
{%- block meta_description -%}
|
||||||
|
{%- if this.meta_description is defined and this.meta_description != "" -%}
|
||||||
|
{{ this.meta_description }}
|
||||||
|
{%- else -%}
|
||||||
|
Werkkooperative der Technikfreundinnen eG
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endblock -%}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="content__box">
|
<div class="content__box">
|
||||||
<div class="content__inner_box -logo_header">
|
<div class="content__inner_box -logo_header">
|
||||||
|
@ -17,7 +17,7 @@ __ ____________________
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<head>
|
<head>
|
||||||
{#
|
{#-
|
||||||
|
|
||||||
Namensschema der CSS-Klassen nach BEM (Block Element Modifier,
|
Namensschema der CSS-Klassen nach BEM (Block Element Modifier,
|
||||||
http://getbem.com/naming/). Mit der Erweiterung, dass Modifier einzeln
|
http://getbem.com/naming/). Mit der Erweiterung, dass Modifier einzeln
|
||||||
@ -31,12 +31,18 @@ __ ____________________
|
|||||||
dazu ist:
|
dazu ist:
|
||||||
|
|
||||||
.navlist__navitem.-active
|
.navlist__navitem.-active
|
||||||
-#}
|
#}
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<title>Werkkooperative der Technikfreundinnen eG</title>
|
<title>{% block title %}Werkkooperative der Technikfreundinnen eG{% endblock %} | WTF eG</title>
|
||||||
<meta name="description" content="">
|
<meta name="description" content="{% block meta_description %}{% endblock %}">
|
||||||
|
{#- OG Values
|
||||||
|
https://ogp.me/ #}
|
||||||
|
<meta property="og:title" content="{{ self.title() }}"> />
|
||||||
|
<meta property="og:description" content="{{ self.meta_description() }}"> />
|
||||||
|
<meta property="og:url" content="{{ this | url(external=true) }}"> />
|
||||||
|
<meta property="og:image" content="{% block meta_image %}{{ '/images/og_unicorn.png'|asseturl }}{% endblock %}"> />
|
||||||
|
|
||||||
{% if '/css/reset.css'|asseturl is defined -%}
|
{% if '/css/reset.css'|asseturl is defined -%}
|
||||||
<link rel="stylesheet" href="{{ '/css/reset.css'|asseturl }}">
|
<link rel="stylesheet" href="{{ '/css/reset.css'|asseturl }}">
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
{% extends "header_slim.html" %}
|
{% extends "header_slim.html" %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{%- block title -%}{{ this.title }}{%- endblock -%}
|
||||||
|
{%- block meta_description -%}
|
||||||
|
{%- if this.meta_description is defined and this.meta_description != "" -%}
|
||||||
|
{{ this.meta_description }}
|
||||||
|
{%- else -%}
|
||||||
|
Werkkooperative der Technikfreundinnen eG
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endblock -%}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="content__box">
|
<div class="content__box">
|
||||||
<div class="content__inner_box">
|
<div class="content__inner_box">
|
||||||
|
Loading…
Reference in New Issue
Block a user