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.
- 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
. - summaryLength decides how many words are in excerpts of your posts when they are displayed as a preview. The default
summaryLength
is 70 words. - 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.
- disqusShortname add your Disqus shortname to enable comments on the blog section. To install Disqus please follow this tutorial.
- 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.
- favicon is for your website favicon. Place your favicon in the
assets/images
folder and put the path here. - 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.
- copyright is for copyright text at the bottom of the page.
- 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
- main_section defines the section names that you want to show on your website. It’s an array, so you can add more sections to show. For more information, see Official docs.
- custom_script You can add any third party scirpt here, like any beacon service. keep in mind, you need to replace all double quote
"
with single quote'
in the script. - cookies you can set cookie consent messege on and set expiry days from here.