From 58ca3534dd8425116d2c2b14637b2bc22f26c3d8 Mon Sep 17 00:00:00 2001 From: Airscript Date: Sun, 21 Aug 2022 14:06:51 +0000 Subject: [PATCH] feat: add iconWidth support to site --- config.yml | 1 + content/posts/papermod/papermod-installation.md | 1 + content/posts/papermod/papermod-variables.md | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.yml b/config.yml index 3decb44c..7aceaf90 100644 --- a/config.yml +++ b/config.yml @@ -163,6 +163,7 @@ params: # text: "Home" # icon: icon.png # iconHeight: 35 + # iconWidth: 35 # analytics: # google: diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index ff41f240..6ffb8c43 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -186,6 +186,7 @@ params: text: "Home" icon: /apple-touch-icon.png iconHeight: 35 + iconWidth: 35 # profile-mode profileMode: diff --git a/content/posts/papermod/papermod-variables.md b/content/posts/papermod/papermod-variables.md index 29f09113..c3362a61 100644 --- a/content/posts/papermod/papermod-variables.md +++ b/content/posts/papermod/papermod-variables.md @@ -70,7 +70,8 @@ weight: 5 | ------------------ | ------- | ----------------------- | ------------------------------------------------ | | `label.text` | string | 'Home' | To display different label text other than title | | `label.icon` | string | '/apple-touch-icon.png' | To display a logo image in label | -| `label.iconHeight` | integer | 35 | To set size of label logo image | +| `label.iconHeight` | integer | 35 | To set height of label logo image | +| `label.iconWidth` | integer | 35 | To set width of label logo image | #### profileMode