We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c3175 commit 9d22a85Copy full SHA for 9d22a85
layouts/partials/specs/spec_meta.html
@@ -16,7 +16,7 @@
16
{{- else if eq $attr "date" }}
17
{{ $val = $val.Format "2006-01-02" }}
18
{{- else if (eq $attr "history") }}
19
- {{ $path := index (split $page.File "specs/") 1 }}
+ {{ $path := index (split $page.Path "specs/") 1 }}
20
{{ $link := printf "https://github.com/scientific-python/specs/commits/main/%s" $path }}
21
{{ $val = printf "<a href=\"%s\">%s</a>" $link $link }}
22
{{- end -}}
0 commit comments