Skip to content

Commit

Permalink
chore(website): Set download page dropdown to latest version (vectord…
Browse files Browse the repository at this point in the history
…otdev#18758)

* feat: set to latest version on page load

* feat: add a local dev with hot reload for development

* chore: revert makefile changes
  • Loading branch information
devindford authored Oct 3, 2023
1 parent 8e2032c commit 23745f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/layouts/download/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ $releases := site.Data.docs.releases }}
{{ $versions := site.Data.docs.versions }}
{{ $latest := index $versions 0 }}
<div class="relative max-w-3xl lg:max-w-7xl px-6 lg:px-8 mx-auto">
<div x-data x-init="$store.global.setToLatest()" class="relative max-w-3xl lg:max-w-7xl px-6 lg:px-8 mx-auto">
<div class="my-16">
{{ partial "hero.html" . }}
</div>
Expand Down

0 comments on commit 23745f2

Please sign in to comment.