chore: Add lang to code blocks
This commit is contained in:
@ -26,7 +26,7 @@ git submodule add https://git.exozy.me/daudix/duckquill.git themes/duckquill
|
|||||||
|
|
||||||
and then enable it in your `config.toml`:
|
and then enable it in your `config.toml`:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
theme = "duckquill"
|
theme = "duckquill"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -44,14 +44,14 @@ Duckquill respects chosen accent color everywhere, you can use any HEX color cod
|
|||||||
|
|
||||||
First, change the accent color in `config.toml`:
|
First, change the accent color in `config.toml`:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[extra]
|
[extra]
|
||||||
accent_color = "#HEX_COLOR_CODE"
|
accent_color = "#HEX_COLOR_CODE"
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, paste the following code inside `sass/custom.scss` (inside your site, not the theme):
|
Then, paste the following code inside `sass/custom.scss` (inside your site, not the theme):
|
||||||
|
|
||||||
```
|
```sass
|
||||||
@use "sass:color";
|
@use "sass:color";
|
||||||
|
|
||||||
$accent-color: #HEX_COLOR_CODE;
|
$accent-color: #HEX_COLOR_CODE;
|
||||||
@ -105,7 +105,7 @@ Set any color in `$accent-color` and reload, the accent color should be used now
|
|||||||
|
|
||||||
The `nav_links` are set like the following:
|
The `nav_links` are set like the following:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[extra]
|
[extra]
|
||||||
nav_links = [
|
nav_links = [
|
||||||
{url = "https://example.org", name = "Example"},
|
{url = "https://example.org", name = "Example"},
|
||||||
|
@ -48,14 +48,14 @@ git init
|
|||||||
|
|
||||||
3. Add Duckquill as Git submodule for easy updating:
|
3. Add Duckquill as Git submodule for easy updating:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule add https://git.exozy.me/daudix/duckquill.git themes/duckquill
|
git submodule add https://git.exozy.me/daudix/duckquill.git themes/duckquill
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Edit `config.toml` and enable Duckquill theme:
|
4. Edit `config.toml` and enable Duckquill theme:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
theme = "duckquill"
|
theme = "duckquill"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user