This is what my transformation looks like to build the items (child pages) in the drop down:
HTML Before for the repeater:
<section class="bg-green p-3 text-center">
<div class="dropdown">
<button class="btn btn--secondary btn--natural dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{% CurrentDocument %}</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
Transformation code:
<div class="dropdown-item" href="{% NodeAlias %}">
<div class="media"><img class="mr-2" src="{% GetAbsoluteUrl(Thumbnail) %}" alt="">
<div class="media-body">
<p>{% DocumentName %}</p>
</div>
</div>
</div>
HTML after for the repeater:
</div>
</div>
</section>
The Path for the repeater is pointed to the parent page and set to only include sub-items.