 /* is it a link into another translation? */}}
      {{- if strings.HasPrefix $path "/" }}
        {{- range $page.AllTranslations }}
          {{- $lang := .Language.Lang }}
          {{- $prefix := printf "/%s" $lang }}
          {{- $suffix := strings.TrimPrefix $prefix $path | default "/" }}
          {{- /* with the second check we check if the prefix was finished;
            eg. /pir/index.html vs. /pirate/index.html, were the latter is
            an external address outside of this site */}}
     