Tabs for assignments/exercises/video working, but needs better code reuse in template (index.html).