# Support Base Templates and Blocks in partial rendering

**URL:** <https://discourse.gohugo.io/t/support-base-templates-and-blocks-in-partial-rendering/40191>\
**Category:** feature\
**Created:** [August 25, 2022, 11:07pm UTC](https://discourse.gohugo.io/t/support-base-templates-and-blocks-in-partial-rendering/40191 "2022-08-25T23:07:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![map](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@map](https://discourse.gohugo.io/u/map)\
**Post date:** [August 25, 2022, 11:07pm UTC](https://discourse.gohugo.io/t/support-base-templates-and-blocks-in-partial-rendering/40191/1 "2022-08-25T23:07:14Z")

</div>

Support Base Templates and Blocks in partial rendering (or have another function/command that does support it)

In the example  
`{{ $page := partial "map.html" $ctx }}`

map.html apparently cannot use a base template so must repeat the content of baseof.html to give the same look/feel to the page. For context see: [How to create multiple views of same content? - #11 by jmooring](https://discourse.gohugo.io/t/how-to-create-multiple-views-of-same-content/40172/11)
