$language->path()

Returns the path component of the language URL

  • since: Kirby 2.4.0
  • return (string)

Example

<?= $site->language('en')->path() ?>