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

Support multiline for .Site.Params.subtitle #192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

slqy123
Copy link

@slqy123 slqy123 commented Oct 6, 2024

This PR add multiline support for .Site.Params.subtitle, which is also supported by the original hexo theme

Since rendering raw HTML code is not allowed in hugo, this PR changes params.subtile to a list, and use range to render texts. But a string type is still ok, at least in v0.135.0 I have tested.

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