Basic Configuration

Here is the default configuration and basic parameters for your website. You can change those as per your requirements.

Default configuration

In this project folder, you will find a file called config.toml. Open this file in any text editor or IDE.

For maintaining it from forestry, you can find it at the bottom of the left sidebar. The file called Configuration

  1. baseURL field for your website URL / domain. Add your site URL here. Remember, you need to add a trailing slash at the end of the URL.
  2. languageCode defines your global site language. For more information, see Official Hugo Docs.
  3. title is for the main title of your website.
  4. theme sets up the used theme. If your theme is located in my-project/themes/theme-name folder, then the value for this parameter is theme-name.
  5. summaryLength decides how many words are in excerpts of your posts when they are displayed as a preview. The default summaryLength is 70 words.
  6. paginate set the number of posts shown on blog overview pages. If you have more than this amount of posts, pagination will be visible to navigate the next set of posts.
  7. disableLanguages field is for disabling languages. If you don’t want to show one or multiple languages, then you can add the language name here. It will disable those languages from your site. For example, disableLanguages = ["fr"] will disable the french language from your site.

Default Parameters

In this project folder, you will find a file called config.toml. Open this file in any text editor or IDE.

For maintaining it from forestry, you can find it at the bottom of the left sidebar. The file called Parameters

  1. logo is for your website logo. Place your logo in the assets/images folder and put the path here.
  2. description is for your default meta description. It shows on your homepage and other pages that have no meta description on this page front-matter.
  3. author is for the website author name. It is used in the meta author tag.
  4. google_analitycs_id is for turn on google analytics on your site, give your won analytics ID here.
  5. preloader is for your website preloader, which means it will show up until your website loads properly in the background. You can enable or disable preloader by setting the value of enable as true or false. If you want to put any image, logo, or animation as your preloader, give the file location in the preloader = , ex: preloader = images/preloader.gif. If you don’t want any logo or image, leave the preloader field empty. So it will show just a white screen when every component is loading.
  6. navigation_button is for main navigation button, you can enable or disable it.
  7. copyright is for copyright text at the bottom of the page.
  8. social is a loop item for your website’s social icons. You can add a loop item by following the existing loop. We are using the Thimify icon pack for this theme. You can choose more icons from here
Improve this page on Github  — Last updated:  Wed, Sep 15, 2021