From 62759d52ca25a436beb729e3a4d8018afd30cd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 7 Oct 2018 08:19:44 +0200 Subject: [PATCH] misc: include template name as body class (#27055) --- templates/combo/page_template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/combo/page_template.html b/templates/combo/page_template.html index c90234fe..7b50254c 100644 --- a/templates/combo/page_template.html +++ b/templates/combo/page_template.html @@ -35,7 +35,7 @@ data-api-root="{{ site_base }}/api/" {% endblock %} {% block bodyclasses %} -page-{{ page.slug }} {% if pages %}section-{{pages.0.slug}}{% endif %} +page-{{ page.slug }} page-template-{{ page.template_name }} {% if pages %}section-{{pages.0.slug}}{% endif %} {% skeleton_extra_placeholder extra-body-class %} {% if user.is_authenticated %}authenticated-user{% else %}anonymous-user{% endif %} {% end_skeleton_extra_placeholder %} -- 2.19.1