# Right way to populate llms.txt / .md content when using custom pages and/or templates?

**URL:** <https://forum.ghost.org/t/right-way-to-populate-llms-txt-md-content-when-using-custom-pages-and-or-templates/63478>\
**Category:** Themes\
**Created:** [August 1, 2026, 4:13pm UTC](https://forum.ghost.org/t/right-way-to-populate-llms-txt-md-content-when-using-custom-pages-and-or-templates/63478 "2026-08-01T16:13:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngeorger](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ngeorger/32/24496_2.png) [@ngeorger](https://forum.ghost.org/u/ngeorger)\
**Post date:** [August 1, 2026, 4:13pm UTC](https://forum.ghost.org/t/right-way-to-populate-llms-txt-md-content-when-using-custom-pages-and-or-templates/63478/1 "2026-08-01T16:13:36Z")

</div>

I have some custom templates to display some contents, like a Tags table and Recommendations which I can’t guess how I can “pass” the actual content when they are rendered for the llms and md “modes”.

Example 1:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/5/a/5ab67eda5b5358206de5debd587561f24e40c9c3.png)

The actual “normal” content for /tags/:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/c/c/cc64d8e8b054d425282af7e904c1a32abb64618a.png)

The custom template for /tags/:

> <https://github.com/sredevopsorg/sredevopsorg-ghost-theme/blob/main/page-tags.hbs>

Any ideas on how this could be done? Thanks! \<3
