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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/toc_content.liquid +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 076473a2c1c8115f9270f5f3c44cf8dc59685240d63635e1126b5bde837850e7
4
- data.tar.gz: 91d1bd0f38610cfc95a0dcd686bee4e14dbb63b53788beb68859ba4d9570609e
3
+ metadata.gz: 387afd454e88347b2ee5628095cedba3de907f641c8924337908674a5b69d5ba
4
+ data.tar.gz: 9ba61ebd09691271eefacec026f99a270a528f380ac8b045cf459cb32710fedf
5
5
  SHA512:
6
- metadata.gz: 171d56988bdf4ea22020fc92a84a7f792ea074ae0a2115bd94516c7e27440afc47f58402116e0a01035f2d19c0a3f278b197d80e772b1fd85e6b24e55671e788
7
- data.tar.gz: b356e5a4e5c98162b9b0bf7d5f7d917db7f8e8c6622124dea9a2a8eeb9cbdd57cda426414f09d4a4c04115074189ab04160980119751dcec31616cecc013aa18
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
- <a class="pl-2 toc-h1 font-medium" href="{{ site.baseurl }}{{ branch.url }}"> {{ branch.title }}</a>
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 %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iugu-docs-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Negri