I am injecting a page using the page inject plugin.
My challenge is that title is being displayed twice. See the output
My control template:
{% block controls %}
I am injecting a page using the page inject plugin.
My challenge is that title is being displayed twice. See the output
My control template:
{% block controls %}
Are you sure you not outputting the title in the content? or the page that has the page inject is not already including the same title?
Yes, i did validate that. This is happening for anything that I pull from the header. I was able to test this using a custom header variable:
variable1: inject me
Content:
Screen Shot 2016-10-10 at 2
Controls Template:
<div class="control">
<h2>{{header.variable1}}</h2>
{% block control %},{{page.content}},{% endblock %}
</div>
Output:
Screen Shot 2016-10-10 at 2
hmm… i’ll have to look into this… can you please create an issue in the page-inject project.
Should be sorted in v1.2.0 of page-inject plugin.
Sweet! I’ve updated my Page Inject plugin and the problem has been solved! Thanks again for your assistance and help!