Fix adresses image et url og

This commit is contained in:
Jean-Marie Favreau 2024-11-29 21:43:22 +01:00
parent ec707bf272
commit 084b3dfb25

View File

@ -1,5 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
{% load event_extra %}
{% load cache %}
{% load contactmessages_extra %}
{% load utils_extra %}
{% load duplicated_extra %}
{% load rimports_extra %}
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -9,7 +15,7 @@
{% load static %} {% load static %}
<meta property="og:title" content="Pommes de lune — {% block og_title %}{% endblock %}" /> <meta property="og:title" content="Pommes de lune — {% block og_title %}{% endblock %}" />
<meta property="og:description" content="{% block og_description %}Événements culturels à Clermont-Ferrand et aux environs{% endblock %}" /> <meta property="og:description" content="{% block og_description %}Événements culturels à Clermont-Ferrand et aux environs{% endblock %}" />
<meta property="og:image" content="{% block og_image %}{% get_media_prefix %}/screenshot.png{% endblock %}" /> <meta property="og:image" content="{% block og_image %}https://{{ request.get_host }}{% get_media_prefix %}screenshot.png{% endblock %}" />
<meta property="og:url" content="{{ request.build_absolute_uri }}" /> <meta property="og:url" content="{{ request.build_absolute_uri }}" />
{% if debug %} {% if debug %}
@ -27,12 +33,7 @@
{% block entete_header %} {% block entete_header %}
{% endblock %} {% endblock %}
</head> </head>
{% load event_extra %}
{% load cache %}
{% load contactmessages_extra %}
{% load utils_extra %}
{% load duplicated_extra %}
{% load rimports_extra %}
<body class="{% block body-class %}contenu{% endblock %}"> <body class="{% block body-class %}contenu{% endblock %}">
<div id="boutons-fixes"> <div id="boutons-fixes">
<ul> <ul>