Here's a list of available confuguration fields:
Field | Type | Description |
---|
i18n | string | Internalization strings. Use one of these. |
cname | string | Optional. The CNAME . |
seo | SEO | SEO configurations. |
user | User | User configurations. |
links | Array of Link | A list of links/resources. |
socials | Array of Social | Optional. A list of socials to display after the links. |
analytics | boolean | Optional. Whether analytics should be enabled or not. Default's false. |
googleSiteVerification | string | Optional. A Google site verification meta tag. Look at this resource to know how to generate one. |
scripts | Array of Script | Optional. A list of scripts to be included in the page. |
credits | boolean | Optional. Whether the credits should be displayed or not. Default's true. |
User
Field | Type | Description |
---|
name | string | The name to be displayed in the user's information. |
bio | string | A short description of the website. |
You can change the avatar displayed in the main page by adding your own user/avatar.png
.
SEO
Field | Type | Description |
---|
title | string | The website's title. |
description | string | The website's description. |
canonical | string | Optional. A canonical tag for the main page. |
og | Array of key-value | Optional. OpenGraph configuration. |
twitter | Array of key-value | Optional. Twitter configuration. |
Social
Field | Type | Description |
---|
url | string | The social's url. |
icon | IconDefinition | The social's icon. Use Fontawesome's Icons |
target | string | Optional. The target of the anchor element. Default's self . |
name | string | Optional. The name of the url, will be used as aria-label . |
Link
Field | Type | Description |
---|
name | string | The name of the link. |
url | string | The link's url. |
icon | IconDefinition | The link's icon. Use Fontawesome's Icons |
target | string | Optional. The target of the anchor element. Default's self . |
sameAs | boolean | Optional. Whether itemprop="sameAs" should be included in the HTML element or not. Default's false. |
privacy | boolean | Optional. Whether rel="noopener noreferrer" should be included in the HTML element or not. Default's false. |
external | boolean | Optional. Whether rel="external" should be included in the HTML element or not. Default's false. |
display | boolean | Optional. Set this to false to not display the link in the list. Default's true. |
short | string | Optional. A shorter version of the url. |
Script
Field | Type | Description |
---|
src | string | The src attribute of the <script tag |
head | boolean | Optional. Whether the script should be in the <head> or in the <body> tag. Default's false. |
... | any | Optional. Any other key-value pair to add as attributes to the <script> tag. |