Skip to content

dev: update Hextra to v0.10.2 #6016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@
.hextra-nav-container a[title="Support us"]:hover {
transform: scale(1.3, 1.3);
}

.hextra-footer .social-media {
transition: ease-in-out 0.2s;
}

.hextra-footer .social-media :hover{
transform: translateY(-2px);
}
2 changes: 1 addition & 1 deletion docs/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/golangci/docs

go 1.24.0

require github.com/imfing/hextra v0.10.1 // indirect
require github.com/imfing/hextra v0.10.2 // indirect
4 changes: 2 additions & 2 deletions docs/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ menu:
weight: 5
params:
type: search
- name: GitHub
- name: Theme Toggle
weight: 6
params:
type: theme-toggle
- name: GitHub
weight: 7
url: "https://github.com/golangci/golangci-lint"
params:
icon: github
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/_partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

{{- range .Site.Params.footer.links -}}
{{- $external := strings.HasPrefix .url "http" -}}
<a title="{{ .title }}" href="{{ .url }}" {{ if $external }}target="_blank"{{ end }} class="hx:text-sm hx:contrast-more:text-gray-700 hx:contrast-more:dark:text-gray-100 hx:relative -hx:ml-2 hx:whitespace-nowrap hx:p-1 hx:md:inline-block hx:text-gray-600 hx:hover:text-gray-800 hx:dark:text-gray-400 hx:dark:hover:text-gray-200">
<a title="{{ .title }}" href="{{ .url }}" {{ if $external }}target="_blank"{{ end }} class="social-media hx:text-sm hx:contrast-more:text-gray-700 hx:contrast-more:dark:text-gray-100 hx:relative -hx:ml-2 hx:whitespace-nowrap hx:p-1 hx:md:inline-block hx:text-gray-600 hx:hover:text-gray-800 hx:dark:text-gray-400 hx:dark:hover:text-gray-200">
<span class="hx:text-center">
{{- partial "utils/icon.html" (dict "name" .icon "attributes" "height=20") -}}
</span>
Expand Down
Loading