{% extends 'base.html' %}
{% load staticfiles %}
{% load i18n %}
{% load humanize %}
{% block title %} Search {% endblock %}
{% block head %}
{% endblock head %}
{% block main %}
{% trans 'Search' %}
{% include 'search/partial_results_menu.html' with active=active count=count querystring=querystring %}
{% if active == 'feed' %}
{% include 'search/partial_feed_results.html' with results=results %}
{% elif active == 'articles' %}
{% include 'search/partial_articles_results.html' with results=results %}
{% elif active == 'questions' %}
{% include 'search/partial_questions_results.html' with results=results %}
{% elif active == 'users' %}
{% include 'search/partial_users_results.html' with results=results %}
{% endif %}