_layouts/default.html in askclass-course-theme-0.5.2 vs _layouts/default.html in askclass-course-theme-0.6.0
- old
+ new
@@ -3,11 +3,13 @@
{% include header.html %}
<body>
{% include logo.html %}
{% if page.url == '/' %}
{% include course.html %}
- {% elsif page.url == '/404' %}
+ {% elsif page.url == '/404.html' %}
<h2 class="center-align">Page not found!</h2>
+ {% elsif page.url == '/offline.html' %}
+ <h2 class="center-align">You're Currently Offline</h2>
{% else %}
{{ content }}
{% endif %}
{% include footer.html %}
{% include foot/pwaupdate.html %}