%= content_for(:header_tags) do %> <%= import_ke(enable_at: true, prettify: false) %> <% end %> <% if @project %> <%= render :partial => 'project_show', locals: {:topics => @topics, :page => 0, project: @project} %> <% elsif @course %> <%= render :partial => 'course_show', :locals => {:topics => @topics, :page => 0, :course => @course} %> <% elsif @contest %> <%= render :partial => 'contest_show', :locals => {:topics => @topics, :page => 0, :contest => @contest} %> <% end %>