Add meta to detail page

This commit is contained in:
David Taylor
2016-10-03 23:13:25 +01:00
parent f7ea0cb834
commit eb10c8e21f

View File

@@ -1,6 +1,14 @@
{% extends request.is_ajax|yesno:"base_ajax.html,base.html" %}
{% block title %}{% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }}{% endif %} | {{object.name}}{% endblock %}
{% block extra-head %}
<link rel="alternate" type="application/json+oembed"
href="{{event.get_absolute_url}}oembed"
title="RIGS Event Embed" />
{% endblock %}
{% block content %}
<div class="row">
{% if not request.is_ajax %}