diff --git a/README.md b/README.md index 5c6bb88..de72f6b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ git submodule add https://git.exozy.me/daudix/duckquill.git themes/duckquill and then enable it in your `config.toml`: -``` +```toml 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`: -``` +```toml [extra] accent_color = "#HEX_COLOR_CODE" ``` Then, paste the following code inside `sass/custom.scss` (inside your site, not the theme): -``` +```sass @use "sass:color"; $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: -``` +```toml [extra] nav_links = [ {url = "https://example.org", name = "Example"}, diff --git a/content/_index.md b/content/_index.md index b544b01..4cbfedc 100644 --- a/content/_index.md +++ b/content/_index.md @@ -48,14 +48,14 @@ git init 3. Add Duckquill as Git submodule for easy updating: -``` +```sh git submodule init git submodule add https://git.exozy.me/daudix/duckquill.git themes/duckquill ``` 4. Edit `config.toml` and enable Duckquill theme: -``` +```toml theme = "duckquill" ```