jpescador / hugo-future-imperfect

A ported theme with some extras for the Hugo static website engine
MIT License
310 stars 228 forks source link

Support HTML in the header of Site.Params.intro #138

Open gavinwray opened 6 years ago

gavinwray commented 6 years ago

Description

Allow users to put HTML in the intro parameters' header in the sidebar. While config.toml states 'HTML is supported within the params' (line 88), safeHTML is not supported for the header in the sidebar.html partial. It is only enabled for the parameters paragraph and about.

How Has This Been Tested?

  1. Edited sidebar.html.
  2. Checked that HTML rendered correctly in the sidebar's intro section.

Hugo Version: v0.39

Types of changes

Checklist: