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
|
||||
|
||||
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]
|
||||
label = Title
|
||||
description = Der Seitentitel und die Überschrift dieser Seite
|
||||
type = string
|
||||
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]
|
||||
label = Author
|
||||
type = string
|
||||
|
@ -1,10 +1,16 @@
|
||||
[model]
|
||||
name = Blog
|
||||
label = Blog
|
||||
hidden = yes
|
||||
hidden = true
|
||||
|
||||
[fields.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
|
||||
|
||||
[children]
|
||||
@ -12,5 +18,5 @@ model = blog-post
|
||||
order_by = -pub_date, title
|
||||
|
||||
[pagination]
|
||||
enabled = yes
|
||||
enabled = true
|
||||
per_page = 10
|
||||
|
@ -5,6 +5,12 @@ inherits = header_with_logo
|
||||
|
||||
[fields.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
|
||||
|
||||
[fields.section]
|
||||
|
@ -5,6 +5,12 @@ inherits = header_slim
|
||||
|
||||
[fields.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
|
||||
|
||||
[fields.body]
|
||||
|
@ -1,10 +1,18 @@
|
||||
{% extends "header_slim.html" %}
|
||||
{% 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__inner_box">
|
||||
<h1>{{ this.title }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
{% block body %}
|
||||
{{ render_blog_post(this) }}
|
||||
{% endblock %}
|
||||
|
@ -2,6 +2,14 @@
|
||||
{% from "macros/blog.html" import render_blog_post %}
|
||||
{% 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 %}
|
||||
<div class="content__box">
|
||||
<div class="content__inner_box">
|
||||
|
@ -1,4 +1,12 @@
|
||||
{% 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 %}
|
||||
<div class="content__box">
|
||||
<div class="content__inner_box -logo_header">
|
||||
|
@ -17,7 +17,7 @@ __ ____________________
|
||||
|
||||
-->
|
||||
<head>
|
||||
{#
|
||||
{#-
|
||||
|
||||
Namensschema der CSS-Klassen nach BEM (Block Element Modifier,
|
||||
http://getbem.com/naming/). Mit der Erweiterung, dass Modifier einzeln
|
||||
@ -31,12 +31,18 @@ __ ____________________
|
||||
dazu ist:
|
||||
|
||||
.navlist__navitem.-active
|
||||
-#}
|
||||
#}
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>Werkkooperative der Technikfreundinnen eG</title>
|
||||
<meta name="description" content="">
|
||||
<title>{% block title %}Werkkooperative der Technikfreundinnen eG{% endblock %} | WTF eG</title>
|
||||
<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 -%}
|
||||
<link rel="stylesheet" href="{{ '/css/reset.css'|asseturl }}">
|
||||
|
@ -1,5 +1,12 @@
|
||||
{% 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 %}
|
||||
<div class="content__box">
|
||||
<div class="content__inner_box">
|
||||
|
Loading…
Reference in New Issue
Block a user