{%- assign session_id = page.id | split: '/' | last -%} {%- assign session_data = site.data.sessions[session_id] -%} {%- assign segment_data = site.data.syllabus[session_data.segment] -%} {%- if session_data.width != 'max' -%} {%- assign constraint = 'max-width' -%} {%- endif -%} {% include header.html %} {% include logo_static.html size=50 height=50 %} {% include session/header.html %}
{%- include session/images.html images=session_data.images -%} {%- include session/points.html -%} {%- include session/videos.html videos=session_data.videos -%} {%- include session/sounds.html audio=session_data.audio -%} {{ content }} {%- if page.dialogue -%} {%- include session/conversation.html data=page.dialogue-%} {%- endif -%}
{%- include session/paginator.html -%} {%- include session/content_revealer.html -%} {%- include footer.html -%} {%- include foot/mathjax.html -%}