# Headcontribution issue on freemarker template

**URL:** <https://community.bloomreach.com/t/headcontribution-issue-on-freemarker-template/614>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [November 23, 2018, 8:17am UTC](https://community.bloomreach.com/t/headcontribution-issue-on-freemarker-template/614 "2018-11-23T08:17:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lef\_Karamoulas](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/lef_karamoulas/32/82_2.png) [@Lef\_Karamoulas](https://community.bloomreach.com/u/Lef_Karamoulas)\
**Post date:** [November 23, 2018, 8:38am UTC](https://community.bloomreach.com/t/headcontribution-issue-on-freemarker-template/614/2 "2018-11-23T08:38:49Z")

</div>

Hello Bharat,

First as you define a category in your headContribution **s** i would add this category to your headContribution so \<@hst.headContribution keyHint=“demo” category=“htmlHead”\>.

And second it was mentioned in a recent post [1] that headContribution accepts a single element. So wrap each meta tag you want to contribute in \<@hst.headContribution tags

Hope this helps and kind regards.

Lef

[1] [https://community.bloomreach.com/t/multiple-elements-inside-headcontribution-throwing-error/528](https://community.bloomreach.com/t/multiple-elements-inside-headcontribution-throwing-error/528)

---

_[View the full topic](https://community.bloomreach.com/t/headcontribution-issue-on-freemarker-template/614)._
