aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md')
-rw-r--r--vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md b/vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md
index 2fa9a4528..c3c242312 100644
--- a/vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md
+++ b/vendor/twbs/bootstrap/site/content/docs/5.3/examples/_index.md
@@ -32,11 +32,11 @@ aliases: "/examples/"
</h3>
<p class="text-body-secondary">{{ $example.description }}</p>
<p>
- {{- $htmlIndexLocation := "index.html" -}}
- {{- if $example.htmlIndexLocation -}}
- {{- $htmlIndexLocation = printf "%s/index.html" $example.htmlIndexLocation -}}
+ {{- $indexPath := "index.html" -}}
+ {{- if $example.indexPath -}}
+ {{- $indexPath = $example.indexPath -}}
{{- end }}
- <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs{{ $example.url }}?file={{ $htmlIndexLocation | urlquery }}" target="_blank" rel="noopener">
+ <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs{{ $example.url }}?file={{ $indexPath | urlquery }}" target="_blank" rel="noopener">
<svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg>
Edit in StackBlitz
</a>