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

Disable logo by default + add logo only if the user provide it #336

Merged
merged 4 commits into from
Jun 5, 2021

Conversation

Kaligule
Copy link
Contributor

@Kaligule Kaligule commented Jun 1, 2021

Issue

There is no related issue.

Description

Logos are not shown by default. (I figured this is a sensible default because most people don't have a personal logo. Especially not in different light/dark version. But I would be happy to discuss this point.

Logos can be enabled again with (toml)

[params.logo]
enable = true

or (yaml)

params.logo.enable: true

Test Evidence

no_logo

@hossainemruz
Copy link
Member

Let's keep logo enabled by default. We can have a parameter to disable it. Or, if the logos are not provided, then disable it instead of defaulting to theme logo.

@Kaligule
Copy link
Contributor Author

Kaligule commented Jun 3, 2021

Seems reasonable. I will see when I can work on this.

Copy link
Member

@hossainemruz hossainemruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Kaligule . I have made some changes to the PR. Now, the logo will be added only if the user provide it. It won't default to theme logo anymore.

@hossainemruz hossainemruz changed the title Disable logo by default, allow to enable with params.logo.enable Disable logo by default + add logo only if the user provide it instead of defaulting to theme logo Jun 5, 2021
@hossainemruz hossainemruz changed the title Disable logo by default + add logo only if the user provide it instead of defaulting to theme logo Disable logo by default + add logo only if the user provide it Jun 5, 2021
Signed-off-by: hossainemruz <[email protected]>
@hossainemruz hossainemruz merged commit 08a09d5 into hugo-toha:main Jun 5, 2021
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.

2 participants