-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls_mydoc.txt
52 lines (49 loc) · 1.67 KB
/
urls_mydoc.txt
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
---
layout: none
search: exclude
---
{% include custom/conditions.html %}
{% if site.project == "guide" %}
{% for entry in sidebar %}
{% for subcategory in entry.subcategories %}
{% for item in subcategory.items %} {% if subcategory.type != "frontmatter" %}
{{item.url | replace: "/mydoc/","" | replace: ".html", ""}}:
title: "{{item.title}}"
url: "{{item.url | prepend: '..' }}"
link: "<a href='{{item.url | prepend: ".." }}'>{{item.title}}</a>"
{% endif %}
{% for thirdlevel in item.thirdlevel %}
{% for deeplevel in thirdlevel.thirdlevelitems %} {% if thirdlevel.type != "frontmatter" %}
{{deeplevel.url | replace: "/mydoc/","" | replace: ".html", ""}}:
title: "{{deeplevel.title}}"
url: "{{deeplevel.url | prepend: '..' }}"
link: "<a href='{{deeplevel.url | prepend: '..' }}'>{{deeplevel.title}}</a>"
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% for entry in topnav %}
{% for subcategory in entry.subcategories %}
{% unless subcategory.external_url %}
{{subcategory.url | replace: "/mydoc/","" | replace: ".html", ""}}:
title: "{{subcategory.title}}"
url: "{{subcategory.url | prepend: '..' }}"
link: "<a href='{{subcategory.url | prepend: '..'" }}'>{{subcategory.title}}</a>"
{% endunless %}
{% endfor %}
{% endfor %}
{% for entry in topnav_dropdowns %}
{% for subcategory in entry.subcategories %}
{% for subitem in subcategory.items %}
{% unless subitem.external_url %}
{{subitem.url | replace: "/mydoc/","" | replace: ".html", ""}}:
title: "{{subitem.title}}"
url: "{{subitem.url | prepend: '..' }}"
link: "<a href='{{subitem.url | prepend: '..' }}'>{{subitem.title}}</a>"
{% endunless %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endif %}