iugu-docs-theme 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/toc_content.liquid +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 387afd454e88347b2ee5628095cedba3de907f641c8924337908674a5b69d5ba
|
4
|
+
data.tar.gz: 9ba61ebd09691271eefacec026f99a270a528f380ac8b045cf459cb32710fedf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6141c99c77f2d335917d0a522f3bed526898e4658ddfc66cb9ad5407830c4f98046eeba522ae6791106e47aa4790a7e6cd297bfb737bb50a064b3d8907252493
|
7
|
+
data.tar.gz: 89137eeb96891f31bb98e7500c54a3f79037bdc01c39d64944ec5b75b96e5f3e04264b5a871e176ee259f168ac38522f0a72bfe90e33caf9d4574479a1a93021
|
@@ -7,7 +7,12 @@
|
|
7
7
|
{% for branch in tree %}
|
8
8
|
{% if branch.title %}
|
9
9
|
<li class="py-1 flex border-l-4 hover:border-neutral-800 justify-between border-neutral-100 dark:border-neutral-900 hover:dark:border-neutral-200 hover:text-black hover:dark:text-white text-neutral-600 dark:text-neutral-400">
|
10
|
-
|
10
|
+
{% if branch.url contains '://' %}
|
11
|
+
<a class="pl-2 toc-h1 font-medium" href="{{ branch.url }}"> {{ branch.title }}</a>
|
12
|
+
{% else %}
|
13
|
+
<a class="pl-2 toc-h1 font-medium" href="{{ site.baseurl }}{{ branch.url }}"> {{ branch.title }}</a>
|
14
|
+
{% endif %}
|
15
|
+
|
11
16
|
{% if branch.method %}
|
12
17
|
<span class="font-semibold {{ site.data.method-colors[branch.method] }} uppercase text-center text-white h-5 w-12 py-0.5 px-1 rounded-md text-[10px]">{{ branch.method }}</span>
|
13
18
|
{% endif %}
|