1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

Add Disqus to each section

This commit is contained in:
Meow J
2016-07-04 20:53:48 +08:00
parent f473a84403
commit 74186e9874
21 changed files with 2376 additions and 1 deletions

14
yeti/nav-sub.html Normal file
View File

@@ -0,0 +1,14 @@
{% if not nav_item.children %}
<li {% if nav_item.active %}class="active"{% endif %}>
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a>
</li>
{% else %}
<li class="dropdown-submenu">
<a tabindex="-1" href="">{{ nav_item.title }}</a>
<ul class="dropdown-menu">
{% for nav_item in nav_item.children %}
{% include "nav-sub.html" %}
{% endfor %}
</ul>
</li>
{% endif %}