forked from chapitreneuf/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacros_page.html
60 lines (55 loc) · 1.76 KB
/
macros_page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<CONTENT VERSION="1.0" LANG="fr" CHARSET="utf-8"/>
/**
* Initialisation de la page.
* Appelle les dépendances communes et initialise les fonctions de base.
*/
<DEFMACRO NAME="PAGE_INIT">
<!--[ Chemins ]-->
<LET VAR="dir_public" GLOBAL="1">tpl/public</LET>
<LET VAR="dir_vendor" GLOBAL="1">[%DIR_PUBLIC]/vendor</LET>
<!--[ Dépendances communes ]-->
<USE MACROFILE="macros_base.html" />
<USE MACROFILE="macros_head.html" />
<USE MACROFILE="macros_nav.html" />
<USE MACROFILE="macros_menu.html" />
<USE MACROFILE="macros_header.html" />
<USE MACROFILE="macros_footer.html" />
<USE MACROFILE="macros_custom.html" />
<!--[ Initialisation des fonctions de base ]-->
<MACRO NAME="BASE_INIT" />
</DEFMACRO>
/**
* Markup début de page.
*/
<DEFMACRO NAME="PAGE_START">
<!DOCTYPE html>
<html lang="[%PAGELANG]">
<head>
<MACRO NAME="HEAD_MAIN" />
</head>
<body class="[%BODY_CLASS]" data-sitelang="[#SITELANG]">
<MACRO NAME="HEADER_MAIN" />
<div id="main-container" class="main-container container">
<div class="row">
<div id="main-menu-container" class="main-menu-container col-md-3 color-bg-2 d-md-block d-none">
<MACRO NAME="MENU_MAIN" />
</div>
<main id="main-content" class='main-content col-md-9 col<IF COND="[%SIDE_CONTENTS]"> col-lg-6 main-content--horsart<ELSE />-lg-9</IF>' role="main">
</DEFMACRO>
/**
* Markup fin de page.
*/
<DEFMACRO NAME="PAGE_END">
</main><!--[ .main-content ]-->
<IF COND="[%SIDE_CONTENTS]">
<div class="col-md-3 color-bg-2 d-none d-md-block d-lg-none"></div>
<div class="col-md-9 col-lg-2 side_contents"> <hr/>
<MACRO NAME="BASE_SIDE_CONTENTS" />
</div>
</IF>
</div><!--[ .row ]-->
</div><!--[ .main-container ]-->
<MACRO NAME="FOOTER_MAIN" />
</body>
</html>
</DEFMACRO>