Skip to content

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

Open
@kmyk

Description

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).

Metadata

Assignees

No one assigned

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions