-
-
Notifications
You must be signed in to change notification settings - Fork 334
Custom Settings
Matěj Šmíd edited this page Feb 15, 2017
·
28 revisions
Maybe some Pelican settings not work properly.
Name | What does it do? |
---|---|
SITETITLE | Site title to show in sidebar. |
SITESUBTITLE | Short description to show below subtitle. |
SITELOGO | Profile picture to show above author name (absolute url). |
SITEDESCRIPTION | Site description to use in meta tags. |
BROWSER_COLOR | Browser color configuration, based on google developers reference. |
OG_LOCALE | language_TERRITORY for Open Graph. Default is en_US . |
COPYRIGHT_YEAR | Copyright year to display on footer. |
CC_LICENSE | Creative Commons License to show on footer. Has to be a dict with the fields name (e.g. CC-BY-SA ), slug (e.g. by-sa ), and version (e.g. 4.0 ). |
MENUITEMS | A list of tuples (Title, URL) for additional menu items to appear on main menu. |
LINKS | A list of tuples (Title, URL) for links to appear on the sidebar menu. |
SOCIAL | A list of tuples (name, URL) to appear in the "social" section. |
MAIN_MENU | If True show main menu. |
ROBOTS | Robots meta tag value. |
CUSTOM_CSS | Path to a CSS file. Need to be used with EXTRA_PATH_METADATA. |
USE_LESS | Use LESS files instead of CSS (avoid on production, it's for testing purpose) |
FAVICON | Path to favicon.ico |
PYGMENTS_STYLE | Code Highlight style. More info. |
ADD_THIS_ID | AddThis public id. |
DISQUS_SITENAME | Disqus website's shortname to activate Disqus. |
DUOSHUO_SITENAME | duoshuo website's shortname to activate duoshuo comment plugin. |
GOOGLE_ANALYTICS | Activate Google Analytics. |
GUAGES | Activate Guag.es analytics. |
GOOGLE_TAG_MANAGER | Activate Google Tag Manager. |
STATUSCAKE | Show StatusCake Uptime badge on footer. |
PIWIK_SITE_ID | ID for the monitored website. You can find the ID in the Piwik admin interface > Settings > Websites. |
PIWIK_URL | URL to your Piwik server - without ‘http://‘ at the beginning. |
HOME_HIDE_TAGS | Hide article tags in Home. |
PAGES_SORT_ATTRIBUTE | Allows to specify how page links will be sorted. 'title' by default. |
GITHUB_CORNER_URL | Link to a Github repo to be displayed in the right top corner (see Github Corners). |