Skip to content

Commit a12959e

Browse files
committed
Added the variable home_include in the tpl layout_2_col.tpl
1 parent d6c5d52 commit a12959e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

main/template/default/layout/layout_2_col.tpl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
</article>
2424
{% endif %}
2525

26+
{% if home_include %}
27+
<article id="home-include">
28+
{{ home_include }}
29+
</article>
30+
{% endif %}
31+
2632
{% block page_body %}
2733
{% include 'layout/page_body.tpl'|get_template %}
2834
{% endblock %}
@@ -53,9 +59,13 @@
5359
</article>
5460
{% endif %}
5561

56-
{% include 'layout/hot_courses.tpl'|get_template %}
62+
{% if section_name == 'section-campus' %}
63+
64+
{% include 'layout/hot_courses.tpl'|get_template %}
5765

58-
{% include 'session/sessions_current.tpl'|get_template %}
66+
{% include 'session/sessions_current.tpl'|get_template %}
67+
68+
{% endif %}
5969

6070
{% if plugin_content_bottom %}
6171
<div id="plugin_content_bottom">

0 commit comments

Comments
 (0)