Sign in

HTML in author bio?

  • This topic has 2 replies, 2 voices, and was last updated 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #752
    elmo

    Hi,

    I’m wondering if there is a way to use html in the author bio. At the moment you get the literal html-tags in the output – they are not parsed. It would be nice to use links in the description.

    Is there a way to make this happen?

    Thanks

    #754
    BobBob
    Support

    Hi,

    You can enter an HTML tag e.g. <a href="url">link</a> and modify the author.hbs , post.hbs  file ‎⁨(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME) by adding one more bracket to {{description}} handlebar e.g. {{{description}}} .

    To preserve the custom code changed from being overwritten the next time your theme is updated, please make sure you have created override files, which are essentially copies of the existing theme files and are stored separately → https://getpublii.com/dev/theme-overrides/

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #764
    elmo

    Awesome! Thank’s for your help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘HTML in author bio?’ is closed to new replies.