Reduce refactor scope
This commit is contained in:
parent
1487ae5284
commit
4cff83268b
1 changed files with 10 additions and 2 deletions
|
@ -15,10 +15,18 @@ layout: default
|
||||||
{{- site.data.locales[lang].tabs[tab_key] | default: page.title -}}
|
{{- site.data.locales[lang].tabs[tab_key] | default: page.title -}}
|
||||||
</h1>
|
</h1>
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{% include refactor-content.html content=content %}
|
{% if page.layout == 'page' %}
|
||||||
|
{% include refactor-content.html content=content %}
|
||||||
|
{% else %}
|
||||||
|
{{ content }}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% include refactor-content.html content=content %}
|
{% if page.layout == 'post' %}
|
||||||
|
{% include refactor-content.html content=content %}
|
||||||
|
{% else %}
|
||||||
|
{{ content }}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div> <!-- #core-wrapper -->
|
</div> <!-- #core-wrapper -->
|
||||||
|
|
Loading…
Reference in a new issue