Create a gist now

Instantly share code, notes, and snippets.

<h1>Answers</h1>
<? foreach($page->children() as $answer): ?>
<article>
<h2><?= html($answer->title()) ?></h2>
<div class="answer">
<?= kirbytext($answer->text()) ?>
</div>
</article>
<? endforeach ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment