Site Information Constants
Constants for the site information to be build.
SITE_DOMAIN#
Config Key: url
Return: string
Default: ''
Website domain url.
Site URL with no slash for last.
SITE_ROOT#
Config Key: siteRoot
Return: string
Default: '/'
Website root directory.
Slash the front and back.
SITE_URL#
Config Key: -
Return: string
Default: ''
The root URL of the website.
Concatenates SITE_DOMAIN and SITE_ROOT.
If SITE_DOMAIN is empty, SITE_URL will also be empty.
Also, the trailing slash of SITE_ROOT will be removed!
example 1
default.yml
example 2
default.yml
example 3
default.yml
SITE_TITLE#
Config Key: title
Return: string
Default: ''
Website title.
SITE_AUTHOR#
Config Key: author
Return: string
Default: ''
Website author.
SITE_DESCRIPTION#
Config Key: description
Return: string
Default: ''
Website description