diff options
Diffstat (limited to 'wiki/features/other-parameters.md')
-rw-r--r-- | wiki/features/other-parameters.md | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/wiki/features/other-parameters.md b/wiki/features/other-parameters.md new file mode 100644 index 0000000..7950598 --- /dev/null +++ b/wiki/features/other-parameters.md @@ -0,0 +1,82 @@ +--- +title: "Other Parameters" +date: "2024-10-08" +summary: "Other Parameters parameters" +description: "Other Parameters parameters" +toc: false +readTime: false +autonumber: true +math: false +showTags: false +--- + +Miscellaneous settings. + +## Home Meta Description + +You can specify the homepage meta description with the following paramer: + +```toml +[params] +description = "Your description" +``` + +## Breadcrumbs + +Show breadcrumbs on pages. + +```toml +[params] +breadcrumbs = true +``` + +## Comments + +Enable comments on your posts using [Giscus](https://giscus.app/). + +```toml +[params.giscus] +enable = false +repo = "your/repo" +repoid = "id" +category = "category" +categoryid = "categoryId" +mapping = "pathname" +theme = "preferred_color_scheme" +``` + +Tip: use `preferred_color_scheme` theme to have a consistent dark and light appearance. + +## Umami + +You can include [Umami](https://umami.is/) in your website as follows: + +```toml +[params.umami] +enable = true +websiteId = "unique-website-id" +jsLocation = "http://example.org/umami.js" +``` + + +## Favicons + +The following favicons are included in the head of the website: +- `favicon.ico` +- `favicon-16xng` +- `favicon-32x32.png` +- `android-chrome-192x192.png` +- `apple-touch-icon.png` + +You must override the existing one in your static folder. + +You can also specify a subdirectory of /static if you prefer +using the following param: + +```toml +[params] +faviconPath = 'your-path' +``` + +You can easily generate favicons using [this website](https://realfavicongenerator.net/) starting from your image. +[Here](https://github.com/tomfran/tomfran.github.io/tree/main/static) you can see an example of icons overriding default ones. |