Skip to content

Commit

Permalink
Docs: Fix GitHub link
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Feb 10, 2025
1 parent 3d7026e commit 0a4c33d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{{- if not .Params.blog -}}
{{- if site.Params.GitHubRepo -}}
<a class="btn btn-sm btn-outline-secondary mt-5 float-end"
href="{{- site.Params.GitHubRepo -}}/tree/main/content/{{ .Page.File.Path | replaceRE `\\` "/" }}"
href="{{- site.Params.GitHubRepo -}}/tree/main/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}"
title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a>
{{ end }}
{{ end }}
Expand All @@ -53,7 +53,7 @@
{{- if ne .Lastmod .Date -}}
{{- if not .Params.blog -}}
<div class="text-secondary small"><em>
Last updated {{ .Lastmod.Format "January 2, 2006" }}.
Last updated {{ .Lastmod.Format "January 2, 2006" -}}.
</em></div>
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 0a4c33d

Please sign in to comment.