mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
commit
a8149fa6b2
BIN
project/static/og_image.png
Normal file
BIN
project/static/og_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
@ -19,23 +19,28 @@
|
|||||||
<meta property="og:url" content="{{ canonical_url }}" />
|
<meta property="og:url" content="{{ canonical_url }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% set meta_description = 'Mit der offenen Veranstaltungsdatenbank Events einfach bekannt machen!' %}
|
||||||
|
{% set meta_image = url_for('static', filename='android-chrome-512x512.png', _external=True) %}
|
||||||
|
{% set og_image = url_for('static', filename='og_image.png', _external=True) %}
|
||||||
|
{% set twitter_card = 'summary' %}
|
||||||
|
|
||||||
{% if meta %}
|
{% if meta %}
|
||||||
<meta name="description" content="{{ meta['description'] }}">
|
{% set meta_description = meta['description'] %}
|
||||||
<meta property="og:description" content="{{ meta['description'] }}">
|
|
||||||
|
|
||||||
<meta name="twitter:title" content="{{ self.title() }}">
|
|
||||||
{% if 'image' in meta %}
|
{% if 'image' in meta %}
|
||||||
<meta property="og:image" content="{{ meta['image'] }}">
|
{% set meta_image = meta['image'] %}
|
||||||
<meta name="twitter:image" content="{{ meta['image'] }}">
|
{% set og_image = meta['image'] %}
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
{% set twitter_card = 'summary_large_image' %}
|
||||||
{% else %}
|
{% endif %}
|
||||||
<meta name="twitter:card" content="summary">
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% else %}
|
<meta property="og:image" content="{{ og_image }}">
|
||||||
<meta name="description" content="Mit der offenen Veranstaltungsdatenbank Events einfach bekannt machen!">
|
<meta name="twitter:image" content="{{ twitter_image }}">
|
||||||
<meta property="og:description" content="Mit der offenen Veranstaltungsdatenbank Events einfach bekannt machen!">
|
<meta name="twitter:card" content="{{ twitter_card }}">
|
||||||
{% endif %}
|
|
||||||
|
<meta name="description" content="{{ meta_description }}">
|
||||||
|
<meta property="og:description" content="{{ meta_description }}">
|
||||||
|
<meta name="twitter:title" content="{{ self.title() }}">
|
||||||
{%- endblock metas %}
|
{%- endblock metas %}
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='apple-touch-icon.png')}}">
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='apple-touch-icon.png')}}">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user