{{ with .CurrentSection }}
{{ .Permalink }}
{{ end }}
Get the permalink for a specific section:
{{ with site.GetPage "/blog/foo/foo-2" }}
{{ .Permalink }}
{{ end }}
When you configure your project with one language, there is one “site.”
When you configure your project with multiple languages, there is one “site” per language.
When you do something like .Site.GetPage (or site.GetPage to avoid context issues), it is already tied to a specific language (site).