Skip to content

Commit c8f5c9f

Browse files
authored
dev: update Hextra to v0.10.2 (#6016)
1 parent 9de0799 commit c8f5c9f

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

docs/assets/css/custom.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@
3232
.hextra-nav-container a[title="Support us"]:hover {
3333
transform: scale(1.3, 1.3);
3434
}
35+
36+
.hextra-footer .social-media {
37+
transition: ease-in-out 0.2s;
38+
}
39+
40+
.hextra-footer .social-media :hover{
41+
transform: translateY(-2px);
42+
}

docs/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/golangci/docs
22

33
go 1.24.0
44

5-
require github.com/imfing/hextra v0.10.1 // indirect
5+
require github.com/imfing/hextra v0.10.2 // indirect

docs/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/hugo.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ menu:
5858
weight: 5
5959
params:
6060
type: search
61-
- name: GitHub
61+
- name: Theme Toggle
6262
weight: 6
63+
params:
64+
type: theme-toggle
65+
- name: GitHub
66+
weight: 7
6367
url: "https://github.com/golangci/golangci-lint"
6468
params:
6569
icon: github

docs/layouts/_partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
{{- range .Site.Params.footer.links -}}
3737
{{- $external := strings.HasPrefix .url "http" -}}
38-
<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">
38+
<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">
3939
<span class="hx:text-center">
4040
{{- partial "utils/icon.html" (dict "name" .icon "attributes" "height=20") -}}
4141
</span>

0 commit comments

Comments
 (0)