# Correct format to print a variable inside a partial template?

**URL:** <https://discourse.gohugo.io/t/correct-format-to-print-a-variable-inside-a-partial-template/50072>\
**Category:** support\
**Created:** [May 29, 2024, 11:00pm UTC](https://discourse.gohugo.io/t/correct-format-to-print-a-variable-inside-a-partial-template/50072 "2024-05-29T23:00:33Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [May 30, 2024, 4:30pm UTC](https://discourse.gohugo.io/t/correct-format-to-print-a-variable-inside-a-partial-template/50072/16 "2024-05-30T16:30:07Z")

</div>

A post was split to a new topic: [Select menus based on directory structure](https://discourse.gohugo.io/t/select-menus-based-on-directory-structure/50084)

---

_[View the full topic](https://discourse.gohugo.io/t/correct-format-to-print-a-variable-inside-a-partial-template/50072)._
