fix up og tags / title tag

This commit is contained in:
Tomáš Mládek 2020-12-19 00:12:58 +01:00
parent d82cb9435d
commit 3c7636a0b4
3 changed files with 3 additions and 5 deletions

View file

@ -10,13 +10,13 @@
<link rel="stylesheet" type="text/css" href="{% static "main.css" %}">
<link rel="icon" type="image/png" href="{% static "favicon.png" %}">
{% 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:site_name" content="The /-\ Pile"/>
<meta property="og:image" content="{% static "favicon.png" %}"/>
</head>
<body>

View file

@ -108,8 +108,7 @@
{% endblock %}
{% block meta-og %}
<title>The /-\ pile: {{ document.title }}</title>
<meta property="og:title" content="The /-\ Pile: {{ document.title }}"/>
<meta property="og:title" content="{{ document.title }}"/>
<meta property="og:url" content="{% url "pile:document" document.id %}"/>
<meta property="og:description" content="{{ document.plain_description }}"/>
<meta property="og:type" content="article"/>

View file

@ -1,7 +1,6 @@
{% extends "front_base.html" %}
{% block title %}{% spaceless %}
{% if tag %}
: Filed under "{{ tag.name }}"
{% elif untagged %}
@ -41,7 +40,7 @@
{% block meta-og %}
{% if tag %}
<meta property="og:title" content="The /-\ Pile: Documents under &quot;{{ tag.name }}&quot;"/>
<meta property="og:title" content="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"/>