update profile mode docs

Aditya Telange 2021-02-07 00:05:25 +05:30
parent 717cc06d64
commit 4942f03c4c
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
3 changed files with 13 additions and 10 deletions

@ -163,6 +163,7 @@ params:
profileMode:
enabled: true
title: "<Title>" # optional default will be site title
subtitle: "This is subtitle"
imageUrl: "<image link>" # optional
imageTitle: "<title of image as alt>" # optional
imageWidth: 120 # custom size

@ -147,6 +147,7 @@ params:
profileMode:
enabled: false # needs to be explicitly set
title: ExampleSite
subtitle: "This is subtitle"
imageUrl: "<img location>"
imageWidth: 120
imageHeight: 120

@ -46,15 +46,16 @@
#### profileMode
| name | type | example | Description |
| ----------------------- | ------- | ---------------------------------------------- | ----------- |
| profileMode.enabled | boolean | true \| false | |
| profileMode.title | string | "Title" | |
| profileMode.imageUrl | string | "image.png" \| "https://example.com/image.jpg" | |
| profileMode.imageWidth | string | "" | |
| profileMode.imageHeight | string | "" | |
| profileMode.imageTitle | string | "This image is a picture of .." | |
| profileMode.buttons | - | - | |
| name | type | example | Description |
| ----------------------- | ------- | ---------------------------------------------- | ---------------------------------------------------- |
| profileMode.enabled | boolean | true \| false | For enabling profileMode, needs to be explicitly set |
| profileMode.title | string | "Title" | Title |
| profileMode.subtitle | string | "subtitle here" | Subtitle |
| profileMode.imageUrl | string | "image.png" \| "https://example.com/image.jpg" | Image URL or Link |
| profileMode.imageWidth | string | "150" | Width of image |
| profileMode.imageHeight | string | "150" | Height of image |
| profileMode.imageTitle | string | "This image is a picture of .." | Title of image |
| profileMode.buttons | - | - | [Details](#profileMode.buttons) |
#### assets
@ -97,7 +98,7 @@ socialIcons:
url: "<link2>"
```
####
#### profileMode.buttons
```yml
profileMode: