# exampleSite of theme not rendering properly as a module

**URL:** <https://discourse.gohugo.io/t/examplesite-of-theme-not-rendering-properly-as-a-module/54618>\
**Category:** support\
**Tags:** modules, assets, shortcodes\
**Created:** [May 4, 2025, 11:30am UTC](https://discourse.gohugo.io/t/examplesite-of-theme-not-rendering-properly-as-a-module/54618 "2025-05-04T11:30:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [May 4, 2025, 1:38pm UTC](https://discourse.gohugo.io/t/examplesite-of-theme-not-rendering-properly-as-a-module/54618/3 "2025-05-04T13:38:54Z")

</div>

when i clone your theme and serve your exampleSite it is styled. so for the js issue if it’s there please provide a pointer.

you are serving from a subfolder, but use absolute pathes in the image src attr.

have look at this post and the referenced article

> [@Best practice for linking between pages?](https://discourse.gohugo.io/t/best-practice-for-linking-between-pages/54423/2):
>
> Enable the [embedded link render hook](https://gohugo.io/render-hooks/links/#default): [markup.goldmark.renderHooks.link] enableDefault = true Then reference the target page using its [logical path](https://gohugo.io/quick-reference/glossary/#logical-path). Consider this content structure: content/ ├── posts/ │ ├── post-3/ │ │ ├── bryce-canyon.jpg │ │ └── index.md │ ├── \_index.md │ ├── post-1.md │ └── post-2.md └── \_index.md To link from anywhere to post-1: [post 1](/posts/post-1) To link from anywhere to post-3: [post 3](/posts/post-3) I would enable the [embedded image render h…](https://gohugo.io/render-hooks/images/#default)

---

_[View the full topic](https://discourse.gohugo.io/t/examplesite-of-theme-not-rendering-properly-as-a-module/54618)._
