Commit 08bac04c authored by Carl Schwan's avatar Carl Schwan 🚴

Add properly sized card images

parent e2159244
Pipeline #25116 passed with stage
in 2 minutes and 58 seconds
......@@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<meta property="og:image" content="{{ block('image') }}" />
<!-- Twitter card configuration -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:card" content="{% block imageSize %}summary_large_image{% endblock %}" />
<meta name="twitter:site" content="@kdecommunity" />
<meta name="twitter:title" content="{{ block('title') }}" />
<meta name="twitter:description" content="{{ block('description') }}" />
......
......@@ -10,6 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% block description %}{% endblock %}
{% block image %}https://kde.org/products/apps.png{% endblock %}
{% block canonical %}{{ app.request.getSchemeAndHttpHost ~ "/" ~ path('app_main_category_intl', {'_locale': locale, 'category': category.name | lower }) }}{% endblock %}
{% block imageSize %}summary{% endblock %}
{% block body %}
<main class="container">
......
......@@ -10,6 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% block description %}{% trans %}KDE is a community of friendly people who create over 200 apps which run on any Linux desktop, and often other platforms too. Here is the complete list.{% endtrans %}{% endblock %}
{% block image %}https://kde.org/products/apps.png{% endblock %}
{% block canonical %}{{ app.request.getSchemeAndHttpHost }}{% endblock %}
{% block imageSize %}summary{% endblock %}
{% block body %}
<main class="container">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment