diff options
| author | Julien Déramond <[email protected]> | 2023-04-05 08:10:47 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-05 09:10:47 +0300 |
| commit | d0cc42c009c2f680e2fdfd3df4cf06b90d0bfd09 (patch) | |
| tree | df87e51483f2260d5278805e4f4eef32438e2636 /site/content/docs/5.3/examples | |
| parent | b62fd60a6dd3e5171bf045e7dc0750fdd45a0b27 (diff) | |
| download | bootstrap-d0cc42c009c2f680e2fdfd3df4cf06b90d0bfd09.tar.xz bootstrap-d0cc42c009c2f680e2fdfd3df4cf06b90d0bfd09.zip | |
Docs: add missing `twbs/examples` and change sorting (#38407)
* Docs: add missing twbs/examples
* Change sorting of examples.yml
---------
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site/content/docs/5.3/examples')
| -rw-r--r-- | site/content/docs/5.3/examples/_index.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/site/content/docs/5.3/examples/_index.md b/site/content/docs/5.3/examples/_index.md index 2fa9a4528..c3c242312 100644 --- a/site/content/docs/5.3/examples/_index.md +++ b/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> |
