Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to optionally define website copyright holder name and url usin… #4313

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

raubvogel
Copy link
Contributor

…g site.copyright and site.copyright_url

This is an enhancement or feature.

Summary

In https://github.com/mmistakes/so-simple-theme you can edit the copyright statement by using the site.copyright variable. In https://github.com/mmistakes/minimal-mistakes it is hardcoded in _includes/footer.html to use the site.url and site.title.

The proposed change modifies _includes/footer.html and creates two variables -- site.copyright_url and site.copyright -- which if defined, say

title: My Awesome site
copyright: I did it
copyright_url: "https://example.com"

use them instead. Note that neither need to exist: one can have site.copyright_url without site.copyright or vice-versa.

Context

This is not related to any GitHub issue at all.

@iBug iBug merged commit 0d56036 into mmistakes:master Apr 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants