dot-hugo/exampleSite/content/installation/customization/_index.en.md
2020-02-15 17:34:02 +06:00

1.1 KiB

title date lastmod weight draft keywords
Customization 2018-12-29T11:02:05+06:00 2020-01-05T10:42:26+06:00 4 false

Dot has been built to be as configurable as possible.

In config.toml you will find a logo variable. you can change your logo there.

{{% notice tip %}} The size of the logo will adapt automatically {{% /notice %}}

Change the favicon

If your favicon is a png, just drop off your image in your local static/images/ folder and name it favicon.png

If you need to change this default behavior, create a new file in layouts/partials/ named head.html. Then write something like this:

<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />

Change default colors

Dot support change color. You can change the colors from config.toml. You can change the colors of the template as you want.

[params]
  # Change default color scheme with a color name or color code.
  primaryColor = "yourColor"
  secondaryColor = "yourColor"
  textColor = "yourColor"
  textColorDark = "yourColor"
  whiteColor = "yourColor"