Unverified Commit b8d78ad5 authored by Roland Denis's avatar Roland Denis
Browse files

Fixing HTML issues

Found by validator.w3.org
parent e880b9e7
Pipeline #3640 passed with stages
in 1 minute and 30 seconds
......@@ -118,7 +118,8 @@ TWITTER = {
# Follow-us link
FOLLOW_US_LINK = "mailto:sympa@listes.math.cnrs.fr?subject=subscribe calcul prénom nom&body=(pensez à remplacer prénom et nom dans le sujet)"
# Spaces are not allowed in url, use %20 instead
FOLLOW_US_LINK = "mailto:sympa@listes.math.cnrs.fr?subject=subscribe%20calcul%20prénom%20nom&body=(pensez%20à%20remplacer%20prénom%20et%20nom%20dans%20le%20sujet)"
# Article sort order ('reversed-' prefix to reverse the sort order).
# sort_key is generated by the customs readers from the date and
......@@ -5,7 +5,6 @@
{% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
......@@ -84,7 +83,6 @@
{% block pastille %}
<div class="follow-pastille container-fluid d-flex justify-content-end">
<a class="btn btn-link d-flex align-items-center justify-content-center follow-button"
alt="Bouton pour s'abonner à la mailing list"
target="_blank" href="{{ FOLLOW_US_LINK }}">
<p class="text-button-1">Suivez</p>
......@@ -101,10 +99,10 @@
<div class="container text-center">
<img src="{{ SITEURL }}/theme/img/logo.png" style="width:60px;" alt=""/>
<ul class="list-inline py-3">
<a href="{{ FOLLOW_US_LINK }}"><li class="list-inline-item px-2" id="follow"> Suivez-nous</li></a>
<a href="mailto:calcul-contact@services.cnrs.fr"><li class="list-inline-item px-2"> Contactez-nous </li></a>
<a href="#"><li class="list-inline-item px-2"> <a href="{{ SITEURL }}/pages/mentions-legales.html"> Mentions légales </a></li></a>
<a href="#"><li class="list-inline-item px-2"> Plan du site </li></a>
<li class="list-inline-item px-2" id="follow"><a href="{{ FOLLOW_US_LINK }}"> Suivez-nous</a></li>
<li class="list-inline-item px-2"><a href="mailto:calcul-contact@services.cnrs.fr"> Contactez-nous </a></li>
<li class="list-inline-item px-2"><a href="{{ SITEURL }}/pages/mentions-legales.html"> Mentions légales </a></li>
<li class="list-inline-item px-2"><a href="#"> Plan du site </a></li>
......@@ -23,14 +23,9 @@
<span>{{ article.place }}</span>
{% endif %}
<div class="col-md-3 header-border px-0">
<span>Institut Henri Poincaré</span>
<p class="font-weight-light text-center pt-4">{{article.summary}}</p>
<div class="font-weight-light text-center pt-4">{{article.summary}}</div>
<a href="{{SITEURL}}/{{article.url}}">
<div class="header-btn btn btn-outline-dark detail">
L'événement en détail
......@@ -171,7 +166,7 @@
<div class="container pb-4">
<a class="twitter-timeline" data-width="100%" data-lang="fr" data-tweet-limit="{{ TWITTER['carousel_count'] }}" data-link-color="#000" data-theme="light" href="https://twitter.com/{{TWITTER['user']}}" data-chrome="noheader transparent nofooter nofooter noborders">Tweets by Groupe Calcul</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script async src="https://platform.twitter.com/widgets.js"></script>
......@@ -4,7 +4,7 @@
<div class="container">
<h1 class="my-3">{{ page.title }}</h1>
{% if page.summary %}
<p class="font-weight-light text-center pt-4">{{ page.summary }}</p>
<div class="font-weight-light text-center pt-4">{{ page.summary }}</div>
{% endif %}
<div class="container text-center py-1">
<div class="row d-flex justify-content-center">
Supports Markdown
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