{% if post.url %} {% assign path = post.path %} {% else %} {% assign path = page.path %} {% endif %} {% assign git_owner = site.git.owner | default: 'github' %} {% assign git_host = site.git.host | default: 'https://github.com/' %} {% assign git_repository = site.git.repository | default: site.github.repository_url | default: 'jekyll' %} {% assign git_branch = site.git.branch | default: site.github.source.branch | default: 'gh-pages' %} suggest edit