pages-themes / primer

Primer is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/primer/
MIT License
277 stars 261 forks source link

Simplify Footer Text Customization in Jekyll with a 'footer_text' Configuration Option #84

Open rickstaa opened 9 months ago

rickstaa commented 9 months ago

Problem description

Currently, users have the option to customize the footer text for their Jekyll repository by directly modifying the /_layouts/default.html file, which involves copying the entire contents of https://github.com/pages-themes/primer/blob/master/_layouts/default.html and making changes. This approach is intrusive as it hardcodes the footer and the whole layout.

Solution

We propose implementing a footer-custom.html file to offer a less invasive customisation method. This dedicated file would allow users to define their custom footer content while keeping the modification separate from the core layout structure.

Alternative solutions

Alternatively, we could introduce the footer_text configuration value to allow users to modify the footer text easily without overriding the entire layout.

Pull requests