carlosperate / jekyll-theme-rtd

Port of the Read the Docs theme to Jekyll to use with GitHub Pages.
https://carlosperate.github.io/jekyll-theme-rtd
BSD 2-Clause "Simplified" License
47 stars 74 forks source link

"Edit on Github" shows with broken URL without the config entry #8

Open carlosperate opened 4 years ago

carlosperate commented 4 years ago

If the github URL has not been set in the _config.yml file the "edit on github" link should not appear if built with Jekyll, and should get the URL from the Github variable if built with GH Pages.

Right now, in GH Pages the link appears, but it is broken.