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

[Proposal] Add Theme variables #5224

Open
stp-ip opened this Issue Sep 18, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@stp-ip

stp-ip commented Sep 18, 2018

We currently have variables around Hugo, Site etc.

For theme developers it would come in handy to generate theme information within the html header or footer more easily to make debugging and usage tracking easier.

Proposing the addition of global Theme variables:

Theme.Name
Theme.URL
Theme.Description
Theme.License
Theme.LicenseURL
Theme.Author
Theme.AuthorURL

In addition a new theme version would be great:

Theme.Version

For Theme.Version a new variable within the theme.toml config file is proposed: version

Furthermore the addition of a specific attribution variable would make attribution easier:

Theme.Attribution

For Theme.Attribution a new variable within the theme.toml config file is proposed: attribution

If this is something worthwhile, we would consider working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment