te.Language.Lang) }}
      {{ $gh_repo_path = printf "%s/%s/content/%s/%s" $gh_branch $gh_subdir ($.Site.Language.Lang) $pathFormatted }}
    {{ else if .Site.Language.Lang }}
      {{ $gh_repo_path = printf "%s/content/%s/%s" $gh_branch ($.Site.Language.Lang) $pathFormatted }}
    {{ else if $gh_subdir }}
      {{ $gh_repo_path = printf "%s/%s/content/%s" $gh_branch $gh_subdir $pathFormatted }}
    {{ end }}
    {{ $editURL := printf "%s/edit/%s" $gh_repo $gh_repo_path }}
    {{ $createURL := printf "%s/ed