Skip to content

Consistently reference theme_root_icon #163

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

Merged
merged 6 commits into from
Jan 12, 2024

Conversation

mbudisic
Copy link
Contributor

@mbudisic mbudisic commented Jan 9, 2024

Removed explicit py.svg references in layout.html with theme_root_icon paths.

This pull request changes paths lines 17 and 103 to match line 74 in the base branch.

Removed explicit py.svg references with theme_root_icon paths
@ghost
Copy link

ghost commented Jan 9, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@hugovk
Copy link
Member

hugovk commented Jan 10, 2024

Good idea.

Although "Logo" isn't a great alt text, can we also add something like root_icon_alt_text to the config?

@mbudisic mbudisic force-pushed the layout_reads_root_icon branch from 310da0a to 7c36c8e Compare January 10, 2024 20:40
… layout.html

This fixes a partial integration of root_icon and adds the new variable root_icon_alt_text
@mbudisic mbudisic force-pushed the layout_reads_root_icon branch from 7c36c8e to 099019d Compare January 10, 2024 20:47
Capitalization fix

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks!

@mbudisic
Copy link
Contributor Author

Thank you for suggestions!

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Copy link
Member

@AA-Turner AA-Turner left a comment

Choose a reason for hiding this comment

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

Per the documentation:

This, however, is not the preferred way to concatenate strings! For string concatenation, have a look-see at the ~ operator.

https://jinja.palletsprojects.com/en/3.1.x/templates/#other-operators

~ (tilde)

Converts all operands into strings and concatenates them.

As

@AA-Turner AA-Turner changed the title layout.html references theme_root_icon consistently Consistently reference theme_root_icon Jan 12, 2024
@mbudisic mbudisic requested a review from AA-Turner January 12, 2024 17:36
@AA-Turner AA-Turner merged commit beb868f into python:main Jan 12, 2024
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.

4 participants