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