Displaying content of multiple text files on a single page


#1

So, my page had a block of text followed by a block of images. I then wanted to add another block of text after these images. Is there a way to have two text files in the same page folder? Because, right now I’m getting duplicate text for the obvious reason explained by the following code. How do I redirect to a completely different text file that’s located within the same folder?

<div class="container">
          <div class="columns">
              <div class="column content">
                  <!-- <div class="section-heading">About</div> -->
                  <div class="project-text intro-text2"><?= $page->text()->kirbytext() ?></div>

              </div>
          </div>
      </div>

#2

It’s not possible to have multiple text files in one folder.

I don’t quite understand why you need that and can’t use multiple fields in a single text file?

Or, if you’d rather build your text from multiple building block, use the builder plugin.

But maybe I’m missing something…


#3

Thank you for the quick response! Fixed.