{{ if .File }} {{ $gh_repo := ($.Param "github_repo") -}} {{ $gh_branch := (default "main" ($.Param "github_branch")) -}} {{ $gh_content_path := ($.Param "github_content") -}} {{ $gh_schema_path := ($.Param "github_schema") -}}
{{ $gh_content_path := printf "%s/%s" $gh_branch $gh_content_path -}} {{ $gh_schema_path := printf "%s/%s" $gh_branch $gh_schema_path -}} {{ $viewSchemaURL := printf "%s/tree/%s" $gh_repo $gh_schema_path -}} {{ $viewContentURL := printf "%s/tree/%s" $gh_repo $gh_content_path -}} {{ $editSchemaURL := printf "%s/edit/%s" $gh_repo $gh_schema_path -}} {{ $editContentURL := printf "%s/edit/%s" $gh_repo $gh_content_path -}} {{ $issuesURL := printf "%s/issues/new" $gh_repo -}} Provide feedback Page Content: View source Suggest changes Schema Content: View source Suggest changes {{ with .CurrentSection.AlternativeOutputFormats.Get "print" -}} Print view {{ end }}
{{ end -}}