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.

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. favicon is for your website favicon. Place your favicon in the assets/images folder and put the path here.
  2. logo is for your website logo. Place your logo in the assets/images folder and put the path here.
  3. 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.
  4. author is for the website author name. It is used in the meta author tag.
  5. contact_form_action is for activate your contact form. As Hugo generates a static site, so you need to activate this form by a third-party service. You can use any of them Airform, formspree, or Formsubmit. Go to any of the sites that you preferred, and get your form action from there. Then, paste it here. If you use Airform, your form action will be like this: https://airform.io/your@email.com.
  6. map field is for google map , replace your won gmap API key with gmap_api. map_latitude and map_ongitude field is for your google map location. you can find this here http://maps.google.com

    map_marker is for your map pointer, you can set your won map pointer that you want to show, maintain the png image size with ( 46*58) px.

  7. 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 Font Awesome icon pack for this theme. You can choose more icons from here
Improve this page on Github  — Last updated:  Mon, Sep 13, 2021