Skip to content

Commit

Permalink
Merge commit '1b9e88af174bfcb7fbc2dfcc391d583d3fd88cd6' into theme
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 24, 2024
2 parents f964ccf + 1b9e88a commit f9ef4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shortbread-website/themes/hextra/layouts/partials/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{{- $sourceDir := replace (strings.TrimPrefix .FileInfo.Meta.BaseDir .FileInfo.Meta.SourceRoot) "\\" "/" -}}
{{- $sourceDir = strings.TrimPrefix "/content" $sourceDir -}}
{{- $path := replace .Path "\\" "/" -}}
{{- $editURL = path.Join $editURL $sourceDir $path -}}
{{- $editURL = printf "%s%s/%s" $editURL $sourceDir $path -}}
{{- end -}}
{{- end -}}
<a class="hx-text-xs hx-font-medium hx-text-gray-500 hover:hx-text-gray-900 dark:hx-text-gray-400 dark:hover:hx-text-gray-100 contrast-more:hx-text-gray-800 contrast-more:dark:hx-text-gray-50" href="{{ $editURL }}" target="_blank" rel="noreferer">{{ $editThisPage }}</a>
Expand Down

0 comments on commit f9ef4ff

Please sign in to comment.