Skip to content

Conversation

whytox
Copy link

@whytox whytox commented Jun 23, 2025

What does this PR change? What problem does it solve?

This PR call the emojify function in .Title properties across the theme.

I wanted to use emoji in titles, but the enableEmoji configuration params only work for content, so emojis
were not displayed on titles.

As said before, this PR solves this problem by calling emojify on titles; this is done vboth for single posts (single.html),
and in the posts list (list.html).

Was the change discussed in an issue or in the Discussions before?

Don't know.

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

Copy link

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.

1 participant