{% extends "simple_blog/base.html" %} {% load i18n static simpleblog_tags wagtailcore_tags wagtailsearchpromotions_tags %} {% block body_class %}template-searchresults{% endblock %} {% block title %}{% trans "Search Something" %}{% endblock %} {% block breadcrumb_items %} {% endblock breadcrumb_items %} {% block main_content %} {% get_search_promotions search_query as search_promotions %}

{% trans "Search for" %} {% if search_query %}{{ search_query|title }}{% else %}{% trans "Something" %}{% endif %}

{% trans "Search Article, Series, Video Tutorial or Download Stuff" %}

{% if search_promotions %}

{% trans "Recommended for You.." %}

{% for search_promotion in search_promotions %} {% endfor %}
{% endif %} {% if search_results %}
{% for result in search_results %}

{{ result }}

{% if result.search_description %}
{{ result.search_description }}
{% endif %}
{% endfor %}
{% include 'components/pagination.html' with page_object=search_results %} {% elif search_query %}
{% trans "Ooops, No results found for query" %} "{{ search_query }}"
{% endif %}
{% endblock %} {% block sidebar_body %} {{ block.super }} {% popular_posts title="Popular Posts" %} {% featured_posts title="Featured Posts" %} {% endblock sidebar_body %}