php - Dynamic page title for laravel -


how can post title's page title?

@section('title', '| {{ $post->title }}') 

this return php code in page title!

thanks.

remove single quotes value rendering outputting string:

@section('title', $post->title) 

Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -