We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would allow links and line-breaks to be used:
[params] description = 'A portfolio for <a href="https://www.my-company.com">work</a><br>A tech blog for fun'
Which would render like:
I believe the change could be small as well; the description can be piped into the safeHTML function inside layouts/sidebar/title.html like so:
safeHTML
layouts/sidebar/title.html
<div class="sidebar-about"> <!-- ... --> <p class="lead"> {{ with .Site.Params.description }}{{. | safeHTML}}{{end}} <!-- ^^^^^^^^^^ new change --> </p> </div>
The text was updated successfully, but these errors were encountered:
Thank you, @jcoffa! Great suggestion, and an easy copy/paste solution.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This would allow links and line-breaks to be used:
Which would render like:
I believe the change could be small as well; the description can be piped into the
safeHTML
function insidelayouts/sidebar/title.html
like so:The text was updated successfully, but these errors were encountered: