Skip to main content

Configuration

Here's a list of available confuguration fields:

FieldTypeDescription
templatestringThe url of the CSS template.
i18nstringInternalization strings. Use one of these.
cnamestringOptional. The CNAME.
seoSEOSEO configurations.
userUserUser configurations.
linksArray of LinkA list of links/resources.
socialsArray of SocialOptional. A list of socials to display after the links.
analyticsbooleanOptional. Whether analytics should be enabled or not. Default's false.
scriptsArray of ScriptOptional. A list of scripts to be included in the page.
creditsbooleanOptional. Whether the credits should be displayed or not. Default's true.

User

FieldTypeDescription
namestringThe name to be displayed in the user's information.
biostringA short description of the website.
avatarstringThe url to the user's avatar.

SEO

FieldTypeDescription
titlestringThe website's title.
descriptionstringThe website's description.

Social

FieldTypeDescription
urlstringThe social's url.
iconstringThe social's icon. Use Fontawesome's Icons
targetstringOptional. The target of the anchor element. Default's self.
namestringOptional. The name of the url, will be used as aria-label.
FieldTypeDescription
namestringThe name of the link.
urlstringThe link's url.
iconstringThe link's icon. Use Fontawesome's Icons
targetstringOptional. The target of the anchor element. Default's self.
sameAsbooleanOptional. Whether itemprop="sameAs" should be included in the HTML element or not. Default's false.
privacybooleanOptional. Whether rel="noopener noreferrer" should be included in the HTML element or not. Default's false.
externalbooleanOptional. Whether rel="external" should be included in the HTML element or not. Default's false.

Script

FieldTypeDescription
srcstringThe src attribute of the <script tag
headbooleanOptional. Whether the script should be in the <head> or in the <body> tag. Default's false.
...anyOptional. Any other key-value pair to add as attributes to the <script> tag.