Comments (2)
I moved the content from the guide to the language configuration and made a reference to it, so it can be found better.
from hinode.
I think it would be good to add to the Hinode documentation, how to disable multi language support. It took me some time to figure out the Hugo pages had that info (I know you did link to that page).
Even though Dutch is my native language, it is too much work to support it next to English, so I wanted to disable the drop-down. The missing information would be to add disableLanguages = ['nl']
to config.toml
, so that only one language is left.
This would probably go hand in hand with the defaultContentLanguageInSubdir = false
setting and contentDir = "content"
in languages.toml
. The latter option only if you do not want want to keep the content in the content/en
folder.
Maybe there is another option to disable it, but I could not figure it out (besides hacking the navbar partial).
Update: I see there is information about this in the guide about documentation.
from hinode.
Related Issues (20)
- [BUG] Fix menu icons HOT 1
- [BUG] Error while running pristine site with hugo v0.123.8 HOT 2
- Add layouts for author pages
- [BUG] Break optional scripts HOT 3
- [BUG] `includeToc: true` does not include a ToC
- [BUG] proper format for the search bar HOT 3
- [BUG] Fix Google Analytics configuration
- [BUG] Automated test not compatible with GHA macOS 14
- npm dependencies conflict in template HOT 9
- Pagination works only in the homepage [BUG] HOT 7
- How I can import the exampleSite content to a clean Hinode installation?
- Add support for native Bootstrap forms
- Make module configurations loosely coupled HOT 3
- [BUG] Support deployment to folder HOT 8
- [BUG] menu items links in navigation bar are incorrect HOT 2
- [BUG] Reduce screen flickering in color mode
- [BUG] Sidebar menu does not support multiple languages HOT 1
- [BUG] Sidebar does not support links to external pages
- [BUG] "Last updated" string is not localized with i18n HOT 2
- Save and get the selected language just as the theme switch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hinode.