# Include / import content from another page

**URL:** https://zola.discourse.group/t/include-import-content-from-another-page/1925
**Category:** Support
**Created:** [November 1, 2023, 9:54pm UTC](https://zola.discourse.group/t/include-import-content-from-another-page/1925 "2023-11-01T21:54:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![infogulch](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/infogulch/32/1113_2.png) [@infogulch](https://zola.discourse.group/u/infogulch)
#### Post date: [November 1, 2023, 9:54pm UTC](https://zola.discourse.group/t/include-import-content-from-another-page/1925/1 "2023-11-01T21:54:38Z")

</div>

We’re using zola for htmx docs, and we have a case where we’d like to duplicate the content of a section on both the /docs and /reference pages, perhaps similar to another topic, [Include a page from another page](https://zola.discourse.group/t/include-a-page-from-another-page/771) (see [#1927](https://github.com/bigskysoftware/htmx/pull/1927) for details). In particular, it would be nice to just write the content on one of the pages and import it that section from the first in the second. Of course this doesn’t work out because regular pages are not evaluated as templates.

Is “create a template” still the best answer to this situation? Do you think this is an unreasonable thing to try to solve with zola?

---

<div class="post-metadata">

### Author: ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)
#### Post date: [November 2, 2023, 7:55am UTC](https://zola.discourse.group/t/include-import-content-from-another-page/1925/2 "2023-11-02T07:55:41Z")

</div>

Hm from what you wrote it seems that having a page/section output on multiple paths (not doable currently) would solve the issue without touching templates or am i mistaken and they are different template but with the same content?

---

<div class="post-metadata">

### Author: ![infogulch](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/infogulch/32/1113_2.png) [@infogulch](https://zola.discourse.group/u/infogulch)
#### Post date: [November 2, 2023, 7:37pm UTC](https://zola.discourse.group/t/include-import-content-from-another-page/1925/3 "2023-11-02T19:37:11Z")

</div>

Maybe, but I’m not exactly sure what you mean by “output on multiple paths”.

The basic problem is that we have a heading listing configuration options on the docs page:

[https://htmx.org/docs/#config](https://htmx.org/docs/#config)

And we’d like to duplicate that heading on the reference page, where a list of configuration options is very thematic:

[https://htmx.org/reference/](https://htmx.org/reference/)
