{% assign segment = page.id | split: '/' | last %} {% assign info = site.data.syllabus[segment] %} {% include header.html %} {% include logo.html size=50 %} {% include segment/header.html info=info %} {% include segment/index.html info=info %} {{ content }} {% include segment/nav.html segment=segment %} {% include footer.html %}