Here is the default arrangement and essential parameters for your site. You can change those according to your necessities.

Default Configuration

In the project folder, there is a file named β€œconfig.toml”. Open the file in any text editor to change the configuration.

  1. baseURL field for your site URL/area. Add your site URL here. 
  2. languageCode characterizes your worldwide site language. For more data, see Official Hugo Docs.
  3. title is the main title of your site .
  4. theme sets up the used theme. Open  my-project/themes folder, you will get another folder. That will be the theme name. Copy that name and use it here to set up the theme.
  5. Paginate is to show pagination after a certain no. of products or items.
  6. summaryLength is used for controlling the length of the summary of the blog feature post, which is shown in the blog list page.
  7. [[menu.main]] is to control the navigation. You can change it and give it a different directory.
  8. [[menu.sitemap]] is used for the footer links. You can give them your own page links.

Parameter Configuration

  1. Logo parameter is for the site logo. This logo is used for the light background.
  2. logoWhite used for the dark background.
  3. [params.address] are for showing the user address. Change email id to set your email address. Also change the phone number to set up a user phone number.
  4. [[]] are for users’ social accounts. Change link under this parameter to setup user social addresses.
  5. Error404Title is the title that shows on the 404 page. Change it to set your own messages for the error page.

Google Analytics Configuration

The easiest way to do this is to insert the template into the head.html file. The head.html file is located at <HUGO ROOT>/themes/terminal/layouts/partials/head.html

Next we can edit our head.html file to include the template for google analytics.Open the /themes/terminal/layouts/partials/head.html Β file. Add the following codes to your head.html file just before the </head> tag to enable the internal Hugo template.

{{ with .Site.Params.googleAnalytics }}
{ "<!-- Global Site Tag (gtag.js) - Google Analytics -->" | safeHTML }}
<script async src="{{ . }}"></script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ . }}')
{{ end }}

Adding these two lines inside <head> will make the google tracking code embed in the HTML of all of your pages. Finally, we need to use that tracking code from earlier. At your config.toml, add the line

googleAnalytics = “G-JZ95FEWF9K”

Now replace the string with your Google Analytics tracking code. After you rebuild the site, everything should work as expected!

NOTE: To get google ANalytics tracking ID please visit and follow the steps.