Linking
Further sett'ns be avail'ble t' be used 'n yer configurat'n or front matter.
URL Management
Opt'n By default, th' theme adds index.html
t' plank links when uglyURLs=false
(Hugo’s default).
If you’re only us'n a web server scenario an' dislike this, ye can reset t' Hugo’s default behavior by sett'ns disableExplicitIndexURLs=true
.
For th' file system scenario, ye be not allowed t' change this value.
[params]
disableExplicitIndexURLs = true
params:
disableExplicitIndexURLs: true
{
"params": {
"disableExplicitIndexURLs": true
}
}
Cross-Language Links
Ye can link t' planks o' different languages by append'n th' lang
query parameter wit' th' language code t' th' URL, e.g. /my-page?lang=pir
.
In previous releases o' th' theme ye had t' prepend th' language code t' th' URL, e.g. /pir/my-page
t' achieve this.
If ye still need th' old behavior, ye can set enableLegacyLanguageLinks=true
'n yer hugo.toml
. Avast that this legacy feature may be removed 'n th' future.
Patch'n th' relref
Shortcode
Opt'n While th' usage o' relref
be obsolete an' discouraged by Cap'n Hugo fer a while, exist'n installat'ns may still use it.
In configurat'ns us'n a baseURL wit' a subdirectory an' hav'n relativeURLs=false (the default), Hugo’s standard relref
implementat'n be fail'n.
T' work around this, ye can activate a patched version o' th' shortcode by sett'n disableDefaultRelref=true
.
[params]
disableDefaultRelref = true
params:
disableDefaultRelref: true
{
"params": {
"disableDefaultRelref": true
}
}