This has been working fine before, but I just updated all my composer files and now I'm having a bit of an issue with Laravel Blade. Laravel version is 5.4.28.
I have this partial (calculator/leopardgeckos/partials/ogtags.blade.php):
<link rel="canonical" href="http://ift.tt/2uadfEV" />
<meta property="fb:app_id" content="1795251550755689">
<meta property="og:url" content="http://ift.tt/2uadfEV" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_GB" />
<meta property="og:title" content="ReptiMate - Leopard Gecko & African Fat Tail Gecko Genetics Calculator" />
<meta property="og:description" content="ReptiMate Calculator was built from the ground up to create an accurate genetics calculator for Leopard Geckos & African Fat Tailed Geckos. You'll get a list of outcomes including percentage chance of recessive genes being carried over, a punnet square of genetics and also a percentage table denoting likelihood of certain combos hatching." />
<meta property="og:image" content="" />
And I'm trying to call it in my layout file like so:
@yield('ogtags', View::make('calculator.leopardgeckos.partials.ogtags'))
So if nothing is set in the ogtags section in other template files, it defaults to this partial.
I can't work out what's causing my error, this has been working fine for a while now. Has anyone else come across this at all?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2v8TUBv
via IFTTT
Aucun commentaire:
Enregistrer un commentaire