Basic site configuration
Site-wide configuration details and parameters are defined in your project’s configuration file (
config.toml). These include your chosen Hugo theme (Docsy, of course!), project name, community links, Google Analytics configuration, and Markdown parser parameters. See the examples with comments in
hugo.toml in the example project for how to add this information. We recommend copying this hugo.toml and editing it even if you’re just using the theme and not copying the entire Docsy example site, as it includes default values for many parameters that you need to set for your site to build correctly.
You may want to remove or customize some defaults of the copied
hugo.toml file straight away:
hugo.toml file defines content in English, Norwegian and Farsi. You can find out more about how Docsy supports multi-language content in Multi-language support.
If you don’t intend to translate your site, you can remove the language switcher by removing the following lines from
[languages.no] title = "Docsy" description = "Docsy er operativsystem for skyen" languageName ="Norsk" contentDir = "content/no" time_format_default = "02.01.2006" time_format_blog = "02.01.2006" [languages.fa] title = "اسناد گلدی" description = "یک نمونه برای پوسته داکسی" languageName ="فارسی" contentDir = "content/fa" time_format_default = "2006.01.02" time_format_blog = "2006.01.02"
By default, the Docsy example site uses its own Google Custom Search Engine. To disable this site search, delete or comment out the following lines:
# Google Custom Search Engine ID. Remove or comment out to disable search. gcs_engine_id = "011737558837375720776:fsdu1nryfng"
To use your own Custom Search Engine, replace the value in the
gcs_engine_id with the ID of your own search engine. Or choose another search option.
- Add content and customize your site
- Get some ideas from our Example Site and other Examples.
- Publish your site.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.