diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-05 00:57:34 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-05 00:57:34 +0800 |
| commit | a4d7eb3419dc9288054555b03949ad3597788cb2 (patch) | |
| tree | 74077b0438cbaae72d73c0931b255e02443120b9 /layouts/partials/breadcrumbs.html | |
| parent | 8c344920f128d0bdb61f2992956e0c05c044629b (diff) | |
just replace absLangURL with absURL, stop using DisableLanguageSwitch
start from this commit, PaperModX will no longer support multi language site,
post still have language, but there won't be /zh, /zh/archives pages
Diffstat (limited to 'layouts/partials/breadcrumbs.html')
| -rw-r--r-- | layouts/partials/breadcrumbs.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 7e8257b..c6b313f 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -3,7 +3,7 @@ {{- $url := replace .Parent.Permalink (printf "%s" site.BaseURL) "" }} {{- $lang_url := strings.TrimPrefix (printf "%s/" .Lang) $url -}} - <a href="{{ "" | absLangURL }}">{{ i18n "home" | default "Home" }}</a> + <a href="{{ "" | absURL }}">{{ i18n "home" | default "Home" }}</a> {{- $scratch := newScratch }} {{- range $index, $element := split $lang_url "/" }} |
