Added template and content type to body attributes
authorThierry Florac <tflorac@ulthar.net>
Wed, 25 Sep 2019 10:10:16 +0200
changeset 463 7475b50516c8
parent 462 042afdb6a0d1
child 464 6a70ef009b65
Added template and content type to body attributes
src/pyams_default_theme/templates/layout.pt
--- a/src/pyams_default_theme/templates/layout.pt	Wed Sep 25 10:07:52 2019 +0200
+++ b/src/pyams_default_theme/templates/layout.pt	Wed Sep 25 10:10:16 2019 +0200
@@ -7,7 +7,9 @@
 	<!-- End JS extensions -->
 	${tales:resources}
 </head>
-<body class="no-margin no-padding">
+<body class="no-margin no-padding"
+	  data-ams-template="${tales:content_type}"
+	  data-ams-content-type="${tales:data_type}">
 
 	<div class="page">