dot-hugo/exampleSite/content/installation/customization/_index.fr.md

55 lines
1.3 KiB
Markdown
Raw Normal View History

2019-01-06 10:40:05 +00:00
---
title: "Customization"
date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00
2019-09-04 11:35:48 +00:00
weight: 4
draft: false
2020-02-15 11:34:02 +00:00
# search related keywords
keywords: [""]
2019-01-06 10:40:05 +00:00
---
2019-09-04 11:35:48 +00:00
**Dot** has been built to be as configurable as possible.
2019-01-06 10:40:05 +00:00
### Change the logo
In `config.toml` you will find a logo variable. you can change your logo there.
2019-09-04 11:35:48 +00:00
{{% notice tip %}}
2019-01-06 10:40:05 +00:00
The size of the logo will adapt automatically
2019-09-04 11:35:48 +00:00
{{% /notice %}}
2019-01-06 10:40:05 +00:00
### 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:
```html
<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />
```
### Change default colors
2019-09-04 11:35:48 +00:00
**Dot** support change color. You can change the colors from `config.toml`. You can change the colors of the template as you want.
2019-01-06 10:40:05 +00:00
```toml
[params]
# Change default color scheme with a color name or color code.
2020-05-27 03:59:21 +00:00
primary_color = "#02007e"
body_color = "#f9f9f9"
text_color = "#636363"
text_color_dark = "#242738"
white_color = "#ffffff"
light_color = "#f8f9fa"
```
### Change default Fonts
```toml
[params]
# font family
font_family = "lato" # Choose font family from : https://fonts.google.com/
2019-01-06 10:40:05 +00:00
```