Skip to content

Conversation

@ayush-gupta18-hub
Copy link

@ayush-gupta18-hub ayush-gupta18-hub commented Dec 25, 2025

Description

Adds a reusable Zola shortcode named matrix_icon that renders the existing
favicon SVG inline at emoji-size (1em), so it aligns consistently with text
and other emoji-sized icons.

This makes it easier to include the Matrix icon inline in content without
having to insert or manually resize image assets.

The shortcode loads the favicon SVG and wraps it in a small styled span to
ensure consistent size and vertical alignment.

Usage: {{ matrix_icon() }}

Note: While working on this, I confirmed that the site is built with Zola
rather than Hugo, so the helper is implemented as a Zola shortcode.

Related issues

Fixes #3106

Role

Individual contributor

Timeline

No specific deadline — review at your convenience

Signoff

Please sign off your individual commits or whole pull request.
All commits in this PR are signed off.

@ayush-gupta18-hub ayush-gupta18-hub requested a review from a team as a code owner December 25, 2025 20:27
@HarHarLinks HarHarLinks added enhancement This would be an improvement to the website. aesthetic Visual inconsistencies or improvements labels Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aesthetic Visual inconsistencies or improvements enhancement This would be an improvement to the website.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a helper to include an emoji-sized Matrix icon

2 participants