Site logo not display in blog child page

blueprint/site.yml
type: fields
fields:
logo_image:
type: files
label: Logo Image
query: site.images

logo are page as well as display but blog single page in not display

templet/snippet/header.php
site-logo

Please see the documentation of the files field how to properly output a single file:

This my header file but blog single page in not display logo image

image

I want to see the URL like this
‘localhost/mysite/logo.png’ in blog child page

Again, please see the example in the documentation, just replace $page with $site.

And if you would be so kind in the future as to post code as code , not as screenshots, for easier adjustments, thank you!

blueprint/site.yml
type: fields
fields:
logo_image:
type: files
label: Logo Image
query: site.images

header file
<img src="<?php echo $site->logo_image()->toFiles();

my logo image url not found blog in child page in console log
localhost/mysite/blog/logo.png

I want to see the URL like this
‘localhost/mysite/logo.png’ in blog child page

plz help

Not $page page $site, not toFiles() but toFile(), and then you also need the url

$site->logo_image()->toFile()->url()

But see the example how to wrap this in an if statement.

okay Thank you :grinning: