-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict between Aardvark SEO tags and Yield tag #150
Comments
We are experiencing the same problem here. Would be pretty improtant to fix this. Otherwise we are not able to use the plugin on the page. |
@AndrewHaine @jackwakefield
If i return the view with the helper function "view", all my sections will be rendered correctly. Just with the "View::make" implementation they will be cleared somehow. |
Hi there, Please could I confirm the following:
I'm currently unable to replicate this on a fresh Statamic 3.3.59 instance with Aardvark 2.0.30 with either the Thanks, |
Hi @AndrewHaine Here are my details:
The issue is kinda weird. If you add one yield / section-pair it works fine. We have 2 yield tags in the header and with the tag inserted in the header it will display only one of them. With the response changed to the "view()" helper it will display both of them. |
We are closing this issue as we are unable to replicate, and it seems to refer to a version of Aardvark for which we are no longer fixing bugs. If this is still an issue in the latest version of Aardvark, please let us know, along with further details of how to reproduce. |
When I added the Aardvark SEO tags to my layout view, the yield tag I was using in that layout stopped working.
The Yield tag itself was rendering fallback content on the page, which seems to mean that there was a clash that was causing the Aardvark SEO tags to somehow cause the section content from within {{ template_content }} to not be pulled through into the Yield tag.
Here's my layout file (the Yield tag is in the header):
And here's the corresponding Section tag from the page view file, which should be sending it's contents to the Yield tag to replace the fallback content:
{{ section:header_color }}is-lemon{{ /section:header_color }}
The text was updated successfully, but these errors were encountered: