{{ $path := "" }} {{ with .File }} {{ $path = .Path }} {{ else }} {{ $path = .Path }} {{ end }} {{ if not ( or ( in $path "search" ) ( in $path "tags" ) ) }} {{ $pathFormatted := replace $path "\\" "/" }} {{ $gh_repo := ($.Param "github_repo") }} {{ $gh_url := ($.Param "github_url") }} {{ $gh_subdir := ($.Param "github_subdir") }} {{ $gh_project_repo := ($.Param "github_project_repo") }} {{ $gh_branch := (default "master" ($.Param "github_branch")) }}
{{ end }}