forgotten opengraph tags

This commit is contained in:
Tomáš Mládek 2020-03-19 00:04:29 +01:00
parent 9eb91aaf66
commit 5611978f57
2 changed files with 17 additions and 1 deletions

View file

@ -9,7 +9,14 @@
<link rel="stylesheet" type="text/css" href="{% static "main.css" %}">
<link rel="icon" type="image/png" href="{% static "favicon.png" %}">
{% block meta-og %}{% endblock %}
{% block meta-og %}
<title>The /-\ pile</title>
<meta property="og:title" content="The /-\ Pile"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://pile.sdbs.cz/"/>
<meta property="og:description"
content="This is where we upload the stuff we consider important to the larger conceptual and thematic landscape of what we do: confronting apathy, inter-subjectivity, the human right to self-determination, counter-culture and such..."/>
{% endblock %}
<meta property="og:image" content="{% static "favicon.png" %}"/>
</head>
<body>

View file

@ -1,5 +1,7 @@
{% extends "front_base.html" %}
{% block title %}: Filed under "{{ tag.name }}"{% endblock %}
{% block content %}
{% if tag %}
<div class="text tag-text">
@ -20,3 +22,10 @@
</div>
{% endfor %}
{% endblock %}
{% block meta-og %}
<meta property="og:title" content="The /-\ Pile: Documents under &quot;{{ tag.name }}&quot;"/>
<meta property="og:url" content="{% url "pile:tag" tag.id %}"/>
<meta property="og:description" content="{{ tag.description }}"/>
<meta property="og:type" content="website"/>
{% endblock %}