_layouts/default.html in askclass-course-theme-0.4.0 vs _layouts/default.html in askclass-course-theme-0.5.0
- old
+ new
@@ -1,10 +1,16 @@
<!doctype html>
<html lang="en">
{% include header.html %}
<body>
{% include logo.html %}
- {{ content }}
+ {% if page.url == '/' %}
+ {% include course.html %}
+ {% elsif page.url == '/404' %}
+ <h2 class="center-align">Page not found!</h2>
+ {% else %}
+ {{ content }}
+ {% endif %}
{% include footer.html %}
{% include foot/pwaupdate.html %}
</body>
</html>