Commit 08156071 authored by Michal Čihař's avatar Michal Čihař

Better og:description for hosted weblate

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b77ec163
......@@ -45,7 +45,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:site_name" content="{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}" />
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{% if object %}{{ object }}{% else %}{% if page_profile %}{{ page_profile.get_user_name }}{% else %}{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}{% endif %}{% endif %}{% endif %}" />
{% if offer_hosting %}
<meta property="og:description" content="{% trans "Hosted Weblate, the place to translate your software project." %}" />
{% else %}
<meta property="og:description" content="{% trans "This site runs Weblate for translating various software projects." %}" />
{% endif %}
{% block extra_meta %}
{% endblock %}
......
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