_includes/header.html in askclass-course-theme-0.11.1 vs _includes/header.html in askclass-course-theme-0.12.0
- old
+ new
@@ -1,9 +1,13 @@
<head>
{%- include head/meta.html -%}
{%- include head/common.html -%}
{%- if page.collection == 'session' -%}
- <link rel="stylesheet" href="{{ 'assets/css/session.css' | relative_url }}" />
+ {%- if session_data.type == 'Dialog' -%}
+ <link rel="stylesheet" href="{{ 'assets/css/dialog.css' | relative_url }}" />
+ {%- else -%}
+ <link rel="stylesheet" href="{{ 'assets/css/session.css' | relative_url }}" />
+ {%- endif -%}
{%- else -%}
<link rel="stylesheet" href="{{ 'assets/css/segment.css' | relative_url }}" />
{%- endif -%}
</head>