-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdemoRedDot.html
44 lines (40 loc) · 1.66 KB
/
demoRedDot.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
<html>
<head>
<script type="text/javascript" src="scripts/XRegExp.js"></script>
<script type="text/javascript" src="scripts/shCore.js"></script>
<link href="styles/shCore.css" rel="stylesheet" type="text/css" />
<link href="styles/shThemeDefault.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/shBrushRedDot.js"></script>
<link href="styles/shCoreRedDot.css" rel="stylesheet" type="text/css" />
</head>
<body>
<pre class="brush: RedDot">
<!IoRedDotOpenPage><a href="<%infoBackLink%>">BACK</a><br/><br/>
<hr/>
<!IoRangeDynLink><%anchorDymanic%><br/><!/IoRangeDynLink>
<%!! Store:Get(test) !!%>
<li>
<!-- Render link to the current index page -->
<a href="<%!! Context:CurrentIndex.GetUrl() !!%>">
<%!! Context:CurrentIndex.Page.Headline !!%>
</a>
<reddot:cms>
<if>
If the current index has child pages
<query valuea="Context:CurrentIndex.HasChildren()" operator="==" valueb="Bool:True">
<htmltext>
<!-- Render list and call next level -->
<ul>
<navigation:nextlevel>
</ul>
</htmltext>
</query>
</if>
</reddot:cms>
</li>
</pre>
<script type='text/javascript'>
SyntaxHighlighter.all();
</script>
</body>
</html>