Copyright note

Presentation template

Copyright note presentation template is defined in the _includes/base/copyright.html file.

Copyright © 2024 The CentOS Project LegalPrivacySite source

Configuration file

Copyright note presentation template reads configuration variables from configuration files described below:

  1. Site’s configuration file:

    _config.yml
    

    Set default values for both site and page-specific configuration variables.

  2. 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

Copyright note configuration is written in YAML format, following the structure described below:

---
author: "The CentOS Project"
legals:
  - text: "Legal"
    link: "https://www.centos.org/legal"
  - text: "Privacy"
    link: "https://www.centos.org/legal/privacy"
  - text: "Site source"
    link: "https://git.centos.org/centos/centos.org"
Property Description
author The site creator and owner of the copyright.
legals List of links related to legal terms made of text and link elements. These items are presented on the right side of the copyright note.