mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +00:00
Reduce refactor scope
This commit is contained in:
parent
1487ae5284
commit
4cff83268b
@ -15,10 +15,18 @@ layout: default
|
||||
{{- site.data.locales[lang].tabs[tab_key] | default: page.title -}}
|
||||
</h1>
|
||||
<div class="post-content">
|
||||
{% include refactor-content.html content=content %}
|
||||
{% if page.layout == 'page' %}
|
||||
{% include refactor-content.html content=content %}
|
||||
{% else %}
|
||||
{{ content }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
{% include refactor-content.html content=content %}
|
||||
{% if page.layout == 'post' %}
|
||||
{% include refactor-content.html content=content %}
|
||||
{% else %}
|
||||
{{ content }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div> <!-- #core-wrapper -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user