Config Options

Few config options provides by DeepThought theme.

satchlj published on
2 min, 276 words

Categories: Documentation

DeepThought theme provides some config option like option to add favicon to your site, add avatar for profile, setup social links for the profile etc

Site Configurations

Author Details

You can configure author details in [] of config.toml file.

name = "<your_name>"
avatar = "<path_to_avatar>"

Favicon Setup

You can configure favicon in [extra.favicon] of config.toml file. You can use something like realfavicongenerator to generate your favicon.

favicon_16x16 = "/icons/favicon-16x16.png"
favicon_32x32 = "/icons/favicon-32x32.png"
apple_touch_icon = "/icons/apple-touch-icon.png"
safari_pinned_tab = "/icons/safari-pinned-tab.svg"
webmanifest = "/icons/site.webmanifest"

You can configure social links in [] of config.toml file.

facebook = "<facebook_username>"
github = "<github_username>"
keybase = "<keybase_username>"
linkedin = "<linkedin_username>"
stackoverflow = "<stackoverflow_userid>"
twitter = "<twitter_username>"

Google Analytics Setup

DeepThought support google analytics out of the box. You can configure google in [] of config.toml file.

google = "<your_gtag>"

Disqus Comments Setup

DeepThought support disqus commenting out of the box. You can configure disqus in [extra.commenting] of config.toml file.

disqus = "<your_disqus>"

Mapbox Setup

DeepThought support mapbox out of the box to add maps in your posts. You can configure access_token in [extra.mapbox] of config.toml file.

access_token = "<your_access_token>"

Section Configurations

Apart from standard config you can also add a description in your file for your sections that appears in listing.

description = "Blog posts accumulated over the time."

Page Configurations

Enable Table Of Content

In order to enable toc for your post change as below code snippet in your page.

toc = true

Enable Comments

In order to enable comments for your post change as below code snippet in your page.

comments = true