-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidenav.html
More file actions
executable file
·67 lines (58 loc) · 2.13 KB
/
Copy pathsidenav.html
File metadata and controls
executable file
·67 lines (58 loc) · 2.13 KB
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
<!--
@Project: HaiBian
@Author: 听着情歌流泪 <bobo>
@Create Time: 2016-02-27 02:39:38
@Email: bobo.xiao@nmtree.com
@Last modified time: 2016-07-05 20:14:26
@License: MIT
-->
{% assign sorted_pages = site.pages | sort:"order" %}
{% assign status = true %}
<div class="panel panel-default">
<div class="list-group">
{% for p in sorted_pages %}
{% if p.category == false && p.published == status %}
<a href="{{ p.url }}" class="list-group-item {% if p.url == page.url %}active{% endif %}">{{ p.title }}</a>
{% endif %}
{% endfor %}
</div>
</div>
{% assign cate_app_pages = site.pages | sort:"order" %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">天天练APP&H5交互API</h3>
</div>
<div class="list-group">
{% for p in cate_app_pages %}
{% if p.category == 'APP_H5' && p.published == status %}
<a href="{{ p.url }}" class="list-group-item {% if p.url == page.url %}active{% endif %}">{{ p.title }}</a>
{% endif %}
{% endfor %}
</div>
</div>
{% assign cate_pages = site.pages | sort:"order" %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">海边PC站框架 [海豹]</h3>
</div>
<div class="list-group">
{% for p in cate_pages %}
{% if p.category == 'PCUI' && p.published == status %}
<a href="{{ p.url }}" class="list-group-item {% if p.url == page.url %}active{% endif %}">{{ p.title }}</a>
{% endif %}
{% endfor %}
</div>
</div>
{% assign cate_m_pages = site.pages | sort:"order" %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">海边移动站框架 [海像]</h3>
</div>
<div class="list-group">
{% for p in cate_m_pages %}
{% if p.category == 'MUI' && p.published == status %}
<a href="{{ p.url }}" class="list-group-item {% if p.url == page.url %}active{% endif %}">{{ p.title }}</a>
{% endif %}
{% endfor %}
</div>
</div>