styles
styles copied to clipboard
"Edit on GitHub" doesn't work when rendered locally
When the website is rendered locally, the "Edit on GitHub" links don't work.
In the template, the links needed to make this to work use data from the GitHub API through the github-metadata Jekyll plugin. Unless the user who tries to render the site locally has a GitHub PAT available as an environment variable, the metadata are not available to create a functioning link.
Is there a reasonable way to make the link work locally without relying on GitHub metadata?
Is there a reasonable way to make the link work locally without relying on GitHub metadata?
No.
@fmichonneau Did you fixed this? I remember a pull request related to this.
I believe that this is another issue, related to offline browsing, that was "solved" two years ago, but for which the same solution is now documented in a more up to date revision:
https://pawsey-kbuckley.github.io/offline-capable-lesson