layout | title | subtitle | sponsors | show_sidebar |
---|---|---|---|---|
page |
Sponsors Page |
An example sponsors page |
example_sponsors |
false |
If you have a GitHub sponsors account set up, you can add your username to gh_sponsor
in the _config.yml
file and it will display a link to your profile on the right of the navbar.
gh_sponsor: chrisrhymes
If you would like to create a page to thank your sponsors then create a data file, such as my_sponsors.yml file with the following structure:
- tier_name: Platinum Sponsors
size: large
description: |-
This is the description for the Platinum Tier
sponsors:
- name: Dave McDave
profile: https://github.com/
- name: Sarah Lee-Cheesecake
profile: https://github.com/
- tier_name: Gold Sponsors
description: |-
This is the description for the Gold Tier
sponsors:
- name: Dave McDave
profile: https://github.com/
The tier_name
and description
are required. The size
is not required, but can be overwritten to 'large' or 'small' to increase or decrease the size of the box and the text size.
The sponsors require a name, but not a profile link.
To display the sponsors on your page, set the sponsors to the filename without the extension in the page's front matter
layout: page
title: My Sponsors Page
sponsors: my_sponsors