You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
1.1 KiB

[(#VAL{_Z_DOCTYPE}|defined|?{#VAL{_Z_DOCTYPE}|constant}|sinon{<!DOCTYPE HTML>})][
(#SET{class,[page_(#ENV{type-page,page})[ #ENV{type-page,page}_(#ENV{composition,''})]][ composition_(#ENV{composition})]})]
<html class="[(#GET{class})][ (#LANG_DIR)][ (#LANG)] no-js" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head>
<script type='text/javascript'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);/*]]>*/</script>
[(#REM) Preciser le charset avant tout]
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[(#REM) Debut du head particulier a chaque page
pour inserer un title, des css particulieres(mais surchargees), ou des js *inline*
]<INCLURE{fond=head/#ENV{type-page},env}>[
(#REM) Partie commune a toutes les pages, sans env
]<INCLURE{fond=inclure/head}>[
(#REM) Javascripts spécifiques à certaines pages
]<INCLURE{fond=head_js/#ENV{type-page},env}>[
(#REM) Head spécifique à un thème, vide par défaut, surchargeable
]<INCLURE{fond=inclure/head-theme}>
</head>
<INCLURE{fond=body,env}>
</html>