Fix broken og tags
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
{% block title %}{{ board.curator_name }} | {{ board.curator_title }} | {{ block.super }}{% endblock %}
|
||||
|
||||
{% block meta_og %}
|
||||
{% block og_tags %}
|
||||
<meta property="og:title" content="{{ board.curator_name }} | {{ board.curator_title }}">
|
||||
<meta property="og:site_name" content="Infomate">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
@@ -1,20 +1,4 @@
|
||||
{% load static %}
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="description" content="{{ settings.APP_DESCRIPTION }}">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
|
||||
{% block meta_og %}
|
||||
<meta property="og:title" content="{{ settings.APP_NAME }}">
|
||||
<meta property="og:site_name" content="Infomate">
|
||||
<meta property="og:url" content="{{ settings.APP_HOST }}">
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:description" content="{{ settings.APP_DESCRIPTION }}">
|
||||
<meta property="og:image" content="{% static "images/cover.jpg" %}">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="{{ settings.APP_NAME }}">
|
||||
<meta name="twitter:description" content="{{ settings.APP_DESCRIPTION }}">
|
||||
<meta name="twitter:image" content="{% static "images/cover.jpg" %}">
|
||||
<meta name="twitter:creator" content="@vas3k">
|
||||
{% endblock %}
|
||||
|
||||
13
templates/common/og.html
Normal file
13
templates/common/og.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% load static %}
|
||||
<meta property="og:title" content="{{ settings.APP_NAME }}">
|
||||
<meta property="og:site_name" content="Infomate">
|
||||
<meta property="og:url" content="{{ settings.APP_HOST }}">
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:description" content="{{ settings.APP_DESCRIPTION }}">
|
||||
<meta property="og:image" content="{% static "images/cover.jpg" %}">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="{{ settings.APP_NAME }}">
|
||||
<meta name="twitter:description" content="{{ settings.APP_DESCRIPTION }}">
|
||||
<meta name="twitter:image" content="{% static "images/cover.jpg" %}">
|
||||
<meta name="twitter:creator" content="@vas3k">
|
||||
@@ -12,6 +12,9 @@
|
||||
{% block meta %}
|
||||
{% include "common/meta.html" %}
|
||||
{% endblock %}
|
||||
{% block og_tags %}
|
||||
{% include "common/og.html" %}
|
||||
{% endblock %}
|
||||
{% include "common/favicon.html" %}
|
||||
{% include "common/css.html" %}
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user