{{ if .File }} {{ $pathFormatted := replace .File.Path "\\" "/" -}} {{ $dc_forum_url := ($.Param "discourse_forum_url") -}} {{ $gl_project_repo := ($.Param "gitlab_project_repo") -}} {{ $gl_website_repo := ($.Param "gitlab_website_repo") -}}
{{ if $dc_forum_url -}} {{ $dc_forum_url_issueURL := printf "%s/new-topic" $dc_forum_url -}} {{ T "post_ask_question" }} {{ end -}} {{ if $gl_project_repo -}} {{ $gl_project_issueURL := printf "%s/issues/new" $gl_project_repo -}} {{ T "post_create_project_issue" }} {{ end -}} {{ if $gl_website_repo -}} {{ $gl_website_issueURL := printf "%s/issues/new" $gl_website_repo -}} {{ T "post_create_website_issue" }} {{ end -}} {{ with .CurrentSection.AlternativeOutputFormats.Get "print" -}} {{ T "print_entire_section" }} {{ end }}
{{ end -}}