Skip to content

Commit 9d22a85

Browse files
Fix link to SPEC history (#590)
Co-authored-by: Jarrod Millman <[email protected]>
1 parent 42c3175 commit 9d22a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/specs/spec_meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{- else if eq $attr "date" }}
1717
{{ $val = $val.Format "2006-01-02" }}
1818
{{- else if (eq $attr "history") }}
19-
{{ $path := index (split $page.File "specs/") 1 }}
19+
{{ $path := index (split $page.Path "specs/") 1 }}
2020
{{ $link := printf "https://github.com/scientific-python/specs/commits/main/%s" $path }}
2121
{{ $val = printf "<a href=\"%s\">%s</a>" $link $link }}
2222
{{- end -}}

0 commit comments

Comments
 (0)