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.
- 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.
- languageCode defines your global site language. For more information, see Official Hugo Docs.
- title is for the main title of your website.
- theme sets up the used theme. If your theme is located in
my-project/themes/theme-name
folder, then the value for this parameter istheme-name
. - 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. - googleAnalytics add your Google Analytics ID to enable analytics on all pages. # example: UA-123-45. For more info, read the article. If you want another third-party analytics, you can contact us for custom service.
Default Parameters
In this project folder, you will find a file called config.toml
. Open this file in any text editor or IDE.
- logo is for your website logo. Place your logo in the
assets/images
folder and put the path here. - logo_width defines the width of the logo in pixels. It doesn’t work with .svg file.
- 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.
- author is for the website author name. It is used in the meta author tag.
- image is used as the fallback for
open graph
andtwitter card
if a page has no image of its own. - 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
. - 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