Blueprint source question


I have a KIRBY Site up with a theme I installed but I cannot seem to edit the correct Blueprint .yml file for a post page. Is there way to track down the Bluepring .yml file that is being called up?


The text file usually has the same filename as the blueprint yaml file, e.g. about.yml => about.txt, article.yml => article.txt etc.

1 Like

Thank you so much. This helped me fix my problem.

I have another issue. All my image files show up at the end of a post. Should I re-ask that question as a new topic?

Since we are at it, we might as well try to solve it here. So, what exactly is the problem or rather, what do you want to happen with the images instead?

I have the images interspersed and called up in the text but for some reason at the end of the text they all appear.

Hm, sounds a bit strange. Could you post the template code? And what exactly is in your text file?

<?php snippet('header') ?>
<header class="wrap">
  <h1><?= $page->title()->html() ?></h1>
  <div class="intro text">
    <?= $page->year() ?>
  <hr />

<div class="text wrap">
  <?= $page->text()->kirbytext() ?>

  // Images for the "project" template are sortable. You
  // can change the display by clicking the 'edit' button
  // above the files list in the sidebar.
  foreach($page->images()->sortBy('sort', 'asc') as $image): ?>
      <img src="<?= $image->url() ?>" alt="<?= $page->title()->html() ?>" />
  <?php endforeach ?>

<?php snippet('prevnext') ?>
<?php snippet('footer') ?>

Well, this bit is where the images are rendered, so it’s not surprising they are all at the end?

Sorry, I am fairly new to kirby and coding in general. I’ll comment this out then.

Thanks again!