Skip to content

Commit f81fa7c

Browse files
Refactor: use dot in versions filepath
1 parent 7f49f9e commit f81fa7c

File tree

116 files changed

+3
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+3
-8
lines changed

content/versions/v3-0-3/_index.md renamed to content/versions/v3.0.3/_index.md

+1-1

content/versions/v3-0-3/deploy/upgrade.md renamed to content/versions/v3.0.3/deploy/upgrade.md

+1-1

layouts/partials/version-picker.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,13 @@
3333
class="language-options hx-hidden hx-z-20 hx-max-h-64 hx-overflow-auto hx-rounded-md hx-ring-1 hx-ring-black/5 hx-bg-white hx-py-1 hx-text-sm hx-shadow-lg dark:hx-ring-white/20 dark:hx-bg-neutral-800"
3434
style="position: fixed; inset: auto auto 0px 0px; margin: 0px; min-width: 100px;"
3535
>
36-
37-
3836
{{ range $versions }}
39-
40-
4137
<li class="hx-flex hx-flex-col">
4238
<a
4339
{{ if eq . $lastVersion }}
4440
href="/"
4541
{{else}}
46-
{{ $uri := (replace . "." "-" ) }}
47-
href="/versions/v{{ $uri }}"
42+
href="/versions/v{{ . }}"
4843
{{ end }}
4944
class="hx-text-gray-800 dark:hx-text-gray-100 hover:hx-bg-primary-50 hover:hx-text-primary-600 hover:dark:hx-bg-primary-500/10 hover:dark:hx-text-primary-600 hx-relative hx-cursor-pointer hx-whitespace-nowrap hx-py-1.5 hx-transition-colors ltr:hx-pl-3 ltr:hx-pr-9 rtl:hx-pr-3 rtl:hx-pl-9"
5045
>

0 commit comments

Comments
 (0)