Add metadata description and open graph tags

This commit is contained in:
Tom Gurion
2017-08-28 18:32:58 +01:00
parent 1d615a6670
commit 6c7fe23989
2 changed files with 19 additions and 1 deletions
+11 -1
View File
@@ -1,10 +1,20 @@
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<html lang="{{ DEFAULT_LANG }}" prefix="og: http://ogp.me/ns#">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Metadata -->
{% block metadata %}
<meta name="description" content="{{ BIO }}" />
<meta property="og:description" content="{{ BIO }}" />
<meta property="og:title" content="{{ SITENAME }}{% if SITESUBTITLE %} | {{ SITESUBTITLE }}{% endif %}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ SITEURL }}" />
{% endblock %}
<meta property="og:image" content="{{ SITEURL }}/images/{{ PROFILE_IMAGE }}" />
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">