Add metadata description and open graph tags
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block metadata %}
|
||||
<meta name="description" content="{% if article.description %}{{ article.description }}{% else %}{{ BIO }}{% endif %}">
|
||||
<meta property="og:description" content="{% if article.description %}{{ article.description }}{% else %}{{ BIO }}{% endif %}">
|
||||
<meta property="og:title" content="{{ article.title }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}" />
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="post">
|
||||
<h1 class="post-title">{{ article.title }}</h1>
|
||||
|
||||
Reference in New Issue
Block a user