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.
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
footer-custom.html
file.footer_text
configuration variable as an alternative solution.