Blueprint output of structure field with pages

following blueprint configuration i have made.
the things filled right in the txt file.

  featuredpages:
label: Read my Dear
help: 
type: structure
style: table
fields:
  reading:
    label: Extract
    type: select
    options: query
    query: 
      page: /
      fetch: pages
      template: referenz
  theme:
    label: Topic
    type: text
    help: Editorial, Corporate, Storytelling, freies Stück

now i cant output my data to my template. i tried the loop way, but i didnt achieve anything.
cn you help me.

<?php // get all structure fields
		$featuredpages = $page->featuredpages()->toStructure(); ?>
		<ul class="pages"> 
			<?php foreach($featuredpages as $feature): ?>
			<li>
			  <h4><?php echo $feature->reading()->html() ?></h4>
			  <p> <?php echo $feature->theme()->html() ?></p>
			 <a href="<?php echo $feature->reading()->url() ?>"> Read on my dear </a>
			</li>
			<?php endforeach ?>
		 </ul>

Your code is fine, apart from the link. You have to fetch the page before you can output the link to it.

if($reading = $feature->reading()->toPage()):
echo $reading->url();
endif;

For this to work, you should store the URI of the page instead of the default UID, though.

  query: 
      page: /
      fetch: pages
      value: '{{uri}}'
      template: referenz

nice… thanks.
it works