Skip to content

Commit d6cae09

Browse files
committed
remove from showcase
1 parent 0b7f20d commit d6cae09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_layouts/api.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
{%- assign indices = unsortedindices | sort: "namespace" -%}
77
{%- assign branches = site.data.branchindex -%}
88
{%- assign types = indices | map: "type" | uniq -%}
9+
{% assign clean_ref = page.ref | remove: '.' %}
910
{%- if page.type == "extension" -%}
10-
{%- assign ref = site.data.extensions[page.ref] -%}
11+
{%- assign ref = site.data.extensions[clean_ref] -%}
1112
{%- else -%}
12-
{%- assign ref = site.data.ref[page.branch][page.ref] -%}
13+
{%- assign ref = site.data.ref[page.branch][clean_ref] -%}
1314
{%- endif -%}
1415

1516
{%- if page.url contains branch -%}

0 commit comments

Comments
 (0)