meta tags post template
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
<title>FET</title>
|
<title>FET</title>
|
||||||
<link rel="stylesheet" href="{% static 'app.css' %}">
|
<link rel="stylesheet" href="{% static 'app.css' %}">
|
||||||
<script src="https://kit.fontawesome.com/dbe3c89a9d.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/dbe3c89a9d.js" crossorigin="anonymous"></script>
|
||||||
|
{% block extraheader %}
|
||||||
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body style="min-height:100%; position:relative">
|
<body style="min-height:100%; position:relative">
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% load post_helpers %}
|
{% load post_helpers %}
|
||||||
{% load admin_urls %}
|
{% load admin_urls %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block extraheader %}
|
||||||
|
<meta content="{{ post.imageurl }}" property="og:image">
|
||||||
|
<meta content="{{ post.title }}" property="og:title">
|
||||||
|
<meta content="article" property="og:type">
|
||||||
|
<meta content="" property="og:url">
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="large-article-header" style="background-image:url('{{ post.imageurl }}')">
|
<div class="large-article-header" style="background-image:url('{{ post.imageurl }}')">
|
||||||
|
|||||||
Reference in New Issue
Block a user