{% if not show_contest_mode %} {% set query_string = request.GET.urlencode() %} {% set problem_feed_url = url('problem_feed') %} {% set problem_list_url = url('problem_list') %} {% if search_query %} {% set problem_feed_url = problem_feed_url + '?' + query_string %} {% set problem_list_url = problem_list_url + '?' + query_string %} {% endif %} {% endif %}