-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.mtt
171 lines (157 loc) · 7.81 KB
/
layout.mtt
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en" id="page">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
<meta charset='utf-8'/>
<meta name="viewport" content="width=device-width" />
<title>::title::</title>
<base href="::currentPage.baseHref::"/>
<!-- general css -->
<link rel="stylesheet" type="text/css" href="http://haxe.org/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="css/styles.min.css"/>
<link rel="icon" href="http://haxe.org/favicon.ico"/>
<link rel="canonical" href="::currentPage.absoluteUrl::" />
<meta name="description" content="::currentPage.description::" ::cond currentPage.description != null:: />
<!-- Twitter Card data -->
<meta name="twitter:creator" content="@haxe_org"/>
<!-- Open Graph data -->
<meta property="og:title" content="::title::" />
<meta property="og:description" content="::currentPage.description::" />
<meta property="og:type" content="article" />
<meta property="og:url" content="::currentPage.absoluteUrl::" />
<meta property="og:image" content="http://code.haxe.org/img/share.png" />
<meta property="article:publisher" content="haxe.org" />
<meta property="article:published_time" content="::currentPage.dates.created::" ::cond currentPage.dates!=null && currentPage.dates.created!=null :: />
<meta property="article:modified_time" content="::currentPage.dates.modified::" ::cond currentPage.dates!=null&& currentPage.dates.modified!=null::/>
<meta property="article:section " content="technology" />
<meta property="article:tag" content="::currentPage.tags.join(',')::" ::cond currentPage.tags!=null:: />
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic' rel='stylesheet' type='text/css'/>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400' rel='stylesheet' type='text/css'/>
</head>
<body>
<nav class="section nav dark">
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<button class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse" type="button"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="brand haxe-logo" href="https://haxe.org/"><img alt="Haxe" height="21" onerror="this.src='http://haxe.org/img/haxe-logo-horizontal-on-dark.png'" src="http://haxe.org/img/haxe-logo-horizontal-on-dark.svg" width="107" /></a>
<a class="brand sub ide" href="./">CODE</a>
<div class="nav-collapse collapse">
<ul class="nav">
<!-- required submenu on every subsite -->
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-book"></i> Browse <b class="caret"></b></a>
<ul class="dropdown-menu">
::foreach category sitemap::
<li ::attr class if(category==currentCategory) "active":: ::cond !category.isSerie::><a href="::category.outputPath::">::category.title:: <small class="category-count">(::category.getPageCount()::)</small></a></li>
::end::
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-tags"></i> Tags <b class="caret"></b></a>
<ul class="dropdown-menu">
::foreach tag tags.keys()::<li ::cond tags.get(tag).length>1:: ::attr class if(tag==currentPage.customData.tag) "active"::><a href="tag/::tag::.html" rel="tag"><i class="fa fa-tag"></i> ::getTagTitle(tag):: <small class="category-count">(::tags.get(tag).length::)</small></a></li>::end::
</ul>
</li>
<li class="divider"></li>
<!-- required submenu on every subsite, put class="active" on -->
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="/documentation/">Learn Haxe <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="https://haxe.org/documentation/" rel="external">Introduction</a>
</li>
<li class="divider"></li>
<li>
<a href="https://haxe.org/manual/" rel="external">Manual</a>
</li>
<li>
<a href="http://api.haxe.org" rel="external">API Documentation</a>
</li>
<li class="divider"></li>
<li>
<a href="http://try.haxe.org" rel="external">Try Haxe</a>
</li>
<li>
<a href="https://lib.haxe.org" rel="external">Haxelib</a>
</li>
<li class="active">
<a href="http://code.haxe.org" rel="external">Code Cookbook</a>
</li>
</ul>
</li>
<li class=" dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Connect <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="https://github.com/HaxeFoundation" rel="external"><i class="fa fa-github"></i> Github</a>
</li>
<li>
<a href="https://github.com/HaxeFoundation/haxe/issues" rel="external"><i class="fa fa-github"></i> Bug reports</a>
</li>
<li>
<a href="http://stackoverflow.com/questions/tagged/haxe" rel="external"><i class="fa fa-stack-exchange"></i> Stack Overflow</a>
</li>
<li>
<a href="http://groups.google.com/group/haxelang?hl=en" rel="external"><i class="fa fa-envelope-o"></i> Google Groups</a>
</li>
<li>
<a href="http://webchat.freenode.net/?channels=haxe" rel="external nofollow"><i class="fa fa-comments-o"></i> IRC</a>
</li>
<li>
<a href="https://haxe.org/blog" rel="external"><i class="fa fa-rss"></i> Blog</a>
</li>
<li class="divider"></li>
<li>
<a href="https://plus.google.com/communities/103302587329918132234" rel="external"><i class="fa fa-google-plus"></i> Google+</a>
</li>
<li>
<a href="https://www.facebook.com/haxe.org/" rel="external"><i class="fa fa-facebook"></i> Facebook</a>
</li>
<li>
<a href="https://twitter.com/search?q=%23haxe" rel="external"><i class="fa fa-twitter"></i> #haxe</a>
</li>
<li>
<a href="https://twitter.com/haxelang" rel="external"><i class="fa fa-twitter"></i> @haxelang</a>
</li>
<li>
<a href="https://twitter.com/haxe_org" rel="external"><i class="fa fa-twitter"></i> @haxe_org</a>
</li>
<li class="divider"></li>
<li>
<a href="https://haxe.org/foundation/contact.html" rel="external">Contact</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
<div class="main-content">
::raw __content__::
</div>
<footer class="section dark site-footer">
<div class="container">
<div class="copyright">
<p>
©::DateTools.format(now, "%Y"):: <a class="hf-link" href="https://haxe.org/foundation/" rel="external" title="Haxe Foundation Website">Haxe Foundation</a> |
<a href="https://github.com/HaxeFoundation/code-cookbook" title="Haxe Code Cookbook on Github" rel="external">Code Cookbook on Github</a>
</p>
<p class="last-modified">Last modified: ::DateTools.format(now, "%d-%m-%Y")::</p>
</div>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css"/>
<!-- link rel="stylesheet" type="text/css" href="http://haxe.org/css/style.css"/ -->
<!-- navigation css -->
<link rel="stylesheet" type="text/css" href="css/haxe-nav.min.css"/>
<script src="http://haxe.org/js/jquery.min.js"></script>
<script src="http://haxe.org/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/highlighter.min.css"/>
<script src="js/highlighter.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-74262827-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>