matcornic / matcornic/hugo-theme-learn
Unable to disable the language picker
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.6k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
My site still shows the multi-lingual dropdown even after removing language config and language copies.
baseURL = "/"
languageCode = "en-US"
defaultContentLanguage = "en"
title = "Hugo Learn Documentation"
theme = "hugo-theme-learn-master"
metaDataFormat = "yaml"
defaultContentLanguageInSubdir = true
[params]
editURL = "#"
description = "my site"
author = "me"
showVisitedLinks = true
disableBreadcrumb = false
disableNextPrev = false
disableLanguageSwitchingButton = true
[outputs]
home = [ "HTML", "RSS", "JSON"]
The footer has this setting
{{ if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the footer template condition shown in the issue and compare it with the provided Hugo language configuration. Reproduce the site with language copies removed and disableLanguageSwitchingButton enabled; done means the multilingual dropdown no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100