Hi! At the bottom of each page, I want to add that lastmod and the link to edit the file directly on github:
Like this:
Last updated on {{ .Lastmod.Format "2006-01-02" }} - <a href="{{$.Site.Data.config.GitHubLink}}/{{.File.Path}}" rel="noopener">Edit Source</a>
When I click edit source, I get a 404 on github since the output is full of %5 to replace the /
in the file path. How do I get the correct output to the github file using {{ .File.Path }}?