diff --git a/lps/blog/templates/blog/blog_index_page.html b/lps/blog/templates/blog/blog_index_page.html index 033ed49..35f5563 100644 --- a/lps/blog/templates/blog/blog_index_page.html +++ b/lps/blog/templates/blog/blog_index_page.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% load wagtailcore_tags navigation_tags wagtailimages_tags %} {% block content %} -

{{ page.title }}

- {% if page.introduction or page.image %} +
+

{{ page.title }}

+ {% if page.introduction %}

{{ page.introduction }}

{% endif %} +
+ {% if page.image %}
- {% if page.introduction %}

{{ page.introduction }}

{% endif %} - {% if page.image %} - {% srcset_image page.image width-{510,700,950,1200,1450} %} - {% endif %} + {% srcset_image page.image width-{510,700,950,1200,1450} %}
{% endif %}
diff --git a/lps/home/templates/home/home_page.html b/lps/home/templates/home/home_page.html index 02ece25..9f17d98 100644 --- a/lps/home/templates/home/home_page.html +++ b/lps/home/templates/home/home_page.html @@ -2,12 +2,13 @@ {% load wagtailcore_tags wagtailimages_tags %} {% block body_class %}template-homepage{% endblock %} {% block content %} -

{{ page.title }}

-
+
+

{{ page.title }}

{{ page.hero_text }}

+
+
{% srcset_image page.image width-{510,700,950,1200,1450} %}
-
{{ page.body|richtext }}
diff --git a/lps/lps/static/css/lps.css b/lps/lps/static/css/lps.css index cdd46e8..c0798e2 100644 --- a/lps/lps/static/css/lps.css +++ b/lps/lps/static/css/lps.css @@ -6,10 +6,6 @@ h1, h2, h3, h4, h5, h6 { --pico-font-weight: 600; } -nav img { - height: 100%; -} - main img { width: 100%; } diff --git a/lps/lps/templates/footer.html b/lps/lps/templates/footer.html index 5f1b0e3..5420b3a 100644 --- a/lps/lps/templates/footer.html +++ b/lps/lps/templates/footer.html @@ -15,3 +15,8 @@
+
+

+ Accès administrateur +

+
diff --git a/lps/lps/templates/nav.html b/lps/lps/templates/nav.html index f4ceb34..2156326 100644 --- a/lps/lps/templates/nav.html +++ b/lps/lps/templates/nav.html @@ -4,7 +4,6 @@ {% if search_results.has_previous %} - Previous + Précédent {% endif %} {% if search_results.has_next %} - Next + Suivant {% endif %} {% elif search_query %} - No results found + Aucun résultat {% endif %} {% endblock %}