{% extends 'templates/main.volt' %} {% block content %} {% set chapter_full_url = full_url({'for':'web.chapter.show','id':chapter.id}) %} {% set course_url = url({'for':'web.course.show','id':chapter.course.id}) %} {% set learning_url = url({'for':'web.chapter.learning','id':chapter.id}) %} {% set live_chats_url = url({'for':'web.live.chats','id':chapter.id}) %} {% set live_stats_url = url({'for':'web.live.stats','id':chapter.id}) %} {% set send_msg_url = url({'for':'web.live.send_msg','id':chapter.id}) %} {% set bind_user_url = url({'for':'web.live.bind_user','id':chapter.id}) %} {% set like_url = url({'for':'web.chapter.like','id':chapter.id}) %} {% set qrcode_url = url({'for':'web.qrcode'},{'text':chapter_full_url}) %}