Commit 09157a6a authored by moamoak's avatar moamoak

Merge branch 'open_graph' into 'master'

Open graph

See merge request federez/re2o!54
parents aa39918e 45aafd40
......@@ -3,7 +3,6 @@ Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.
Copyright © 2017 Gabriel Détraz
Copyright © 2017 Goulven Kermarec
Copyright © 2017 Augustin Lemesle
......@@ -29,7 +28,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<!DOCTYPE html>
<html lang="fr">
<head>
<head prefix="og: http://ogp.me/ns#">
<meta property="og:title" content="Re2o" />
<meta property="og:type" content="website" />
{% if request.is_secure %}
<meta property="og:url" content="https://{{request.get_host}}" />
<meta property="og:image" content="https://{{request.get_host}}/static/logo/re2o.png"/>
{%else%}
<meta property="og:url" content="http://{{request.get_host}"/>
<meta property="og:image" content="http://{{request.get_host}}/static/logo/re2o.png"/>
{%endif%}
<meta property="og:description" content="Site de gestion de réseau supporté par FedeRez." />
{# Load CSS and JavaScript #}
{% bootstrap_css %}
<link href="/static/css/typeaheadjs.css" rel="stylesheet">
......@@ -102,10 +111,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<a href="{% url 'preferences:display-options' %}">
<span class="glyphicon glyphicon-cog"></span> Preferences
</a>
</li>
</ul>
</li>
</ul>
{% endif %}
</div>
</div>
</div>
</nav>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment