Pasar al contenido principal

Visualize Noah's in your template

Visualize Noah's in your template

Enviado por admin el

To view your Noah's design in your template you have to add the variables in your page.html.twig

<div class="noahs-theme-content-wrapper">
{% if noahs_node_html %}
{{noahs_node_html | raw}}
{% else %}
<div class="wrapper-without-noahs">
<div class="container">
{{page.content}}
</div>
</div>
{% endif %}
</div>

 

If you are usiging Noah's PRO add use like this:

{% if noahs_header_html %}
<header role="banner" class="noahs-pro-theme--header">
{{noahs_header_html | raw}}
</header>
{% else %}
<header role="banner" class="noahs-theme--header">
{{page.header}}
</header>
{% endif %}

<div class="noahs-theme-tabs">
<div class="container">
<nav>
{{page.tabs}}
</nav>
</div>
</div>
<div class="noahs-theme-content-wrapper">
{% if noahs_node_html %}
{{noahs_node_html | raw}}
{% else %}
<div class="wrapper-without-noahs">
<div class="container">
{{page.content}}
</div>
</div>
{% endif %}
</div>
{% if noahs_footer_html %}
<footer role="banner" class="noash-pro-theme--footer">
{{noahs_footer_html | raw}}
</footer>
{% else %}
<footer role="banner">
{{page.page}}
</footer>
{% endif %}