Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"View this file on GitHub" links of the generated document don't wok when the default branch is "main" #366

Open
kmyk opened this issue Jan 2, 2021 · 0 comments
Labels

Comments

@kmyk
Copy link
Member

kmyk commented Jan 2, 2021

Description

The branch name master is hard-coded in the Jekyll template. When users use main for the default branch, this doesn't work.

<li><a href="{{ site.github.repository_url }}/blob/master/{{ page.data.path }}">View this file on GitHub</a></li>

Note: the site.github doesn't have something like default_branch now (#365).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant