blob: bd742439797815ebe7001cce59e645be0ce7c263 [file] [log] [blame]
<!--
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em">
<ul class="nav nav-pills nav-stacked">
{% for category in site.categories %} <!-- categories -->
{% if category[0] == '入门' %}
<li><a href="#{{ category | first }}" data-toggle="collapse" class="navtitle">入门</a></li>
<div class="collapse in" id="{{ category[0] }}">
<div class="list-group" id="list1">
<ul style="list-style-type:disc">
{% for post in category[1] %}
<li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
{% endfor %}
<ul>
</div>
</div>
{% endif %}
{% endfor %}
{% for category in site.categories %}
{% if category[0] == '安装' %}
<li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">安装</a></li>
<div class="collapse in" id="{{ category[0] }}">
<div class="list-group" id="list2">
<ul style="list-style-type:disc">
{% for post in category[1] %}
<li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
{% endfor %}
<ul>
</div>
</div>
{% endif %}
{% endfor %}
{% for category in site.categories %}
{% if category[0] == '教程' %}
<li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">教程</a></li>
<div class="collapse in" id="{{ category[0] }}">
<div class="list-group" id="list3">
<ul style="list-style-type:disc">
{% for post in category[1] %}
<li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
{% endfor %}
<ul>
</div>
</div>
{% endif %}
{% endfor %}
{% for category in site.categories %}
{% if category[0] == '开发' %}
<li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">开发</a></li>
<div class="collapse in" id="{{ category[0] }}">
<div class="list-group" id="list4">
<ul style="list-style-type:disc">
{% for post in category[1] %}
<li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
{% endfor %}
<ul>
</div>
</div>
{% endif %}
{% endfor %}
{% for category in site.categories %}
{% if category[0] == '如何' %}
<li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">如何</a></li>
<div class="collapse in" id="{{ category[0] }}">
<div class="list-group" id="list5">
<ul style="list-style-type:disc">
{% for post in category[1] %}
<li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
{% endfor %}
<ul>
</div>
</div>
{% endif %}
{% endfor %}
{% for category in site.categories %}
{% if category[0] == '系统api' %}
<li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">系统API</a></li>
<div class="collapse in" id="{{ category[0] }}">
<div class="list-group" id="list6">
<ul style="list-style-type:disc">
{% for post in category[1] %}
<li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
{% endfor %}
<ul>
</div>
</div>
{% endif %}
{% endfor %}
</ul>
</div>