Presentation template
Social network presentation template is defined in the _include/base/social.html
file.
Configuration file
Social network presentation template reads configuration variables from configuration files described below:
-
Site’s configuration file:
_config.yml
Set default values for both site and page-specific configuration variables.
-
Page preamble section of markdown files:
**/*.md
Set custom values for page-specific configuration variables. Page configuration variables defined in page preamble section of markdown files override page configuration variables defined in site’s configuration file.
Configuration variables
Social network presentation template reads data structure from files described below:
-
Component default data file:
_data/base/social.yml
In this file,
jekyll-theme-centos
theme distributes component-specific data structure default values. -
Component data file:
_data/{{ site.component_data_dirname }}/social.yml
In this file, you can customize the component-specific data structure default values distributed by
jekyll-theme-centos
theme.
Social network configuration variables are written in YAML format, following the structure described below:
---
- name: Mastodon
icon: "fa-brands fa-mastodon"
link: "https://fosstodon.org/@centos"
Parameter | Description |
---|---|
name |
The social network name. |
icon |
The social network brand icon. Possible options to use use here are limited to fontawesome freely distributed icons. |
link |
The social network site URL. |