Skip to content

Commit

Permalink
docs(basics): update fontSize (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesericdavidson authored Jan 5, 2025
1 parent 69435d3 commit 62bf8f4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions exampleSite/content/posts/theme-documentation-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,6 @@ Set the avatar's size as: `size-xs`, `size-s`, `size-m`, `size-l`, or `size-xl`.
avatarSize = "size-m"
```

### Font size

Set the main font-size for the content. Default is `17.5px`.

```toml
[params]
fontSize = "20px"
```

### Custom Head HTML

Add arbitrary HTML code to the [`<head>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head).
Expand Down Expand Up @@ -304,6 +295,15 @@ Place favicons into the `static/` directory. The following files are supported:

Favicons can be generated using services such as [favicon.io](https://favicon.io), or [realfavicongenerator.net](https://realfavicongenerator.net/).

### Font size

Set the content [`font-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size).

```toml
[params]
fontSize = "17.5px"
```

### Footer

Text to display in the footer section, typically the name of the author or project.
Expand Down

0 comments on commit 62bf8f4

Please sign in to comment.