baz_april/squelettes/structure.html

21 lines
1.0 KiB
HTML
Raw Normal View History

2020-02-18 13:23:20 +01:00
[(#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}>
</head>
<INCLURE{fond=body,env}>
</html>