{{ if not .IsHome }}
{{ $section := default .Section ($.Scratch.Get "section") }}
{{ if .File }}
{{ with .Site.Params.githubContentURL }}
{{ $filePath := $.File.Path }}
{{ if $.Params.from_Rmd }}
{{ $filePath = (replaceRE "[.]md$" ".Rmd" $.File.Path) }}
{{ $filePath = (replace $filePath "\\" "/") }}
{{ end }}
{{ default "Edit this page" (index $.Site.Params.lang.edit $section) }}
{{ end }}
{{ end }}
{{ with .Section }}
{{ default "Subscribe" (index $.Site.Params.lang.subscribe $section) }}
{{ end }}
{{ default "License" (index $.Site.Params.lang.license $section) }}
{{ default "Search" (index $.Site.Params.lang.search $section) }}
{{ default "Back to top" (index $.Site.Params.lang.top $section) }}
{{ end }}