{% extends 'base.html' %} {% block title %}Welcome to my blog{% endblock %} {% block content %}

Categories

{% if categories %} {% else %}

There are no posts.

{% endif %}

Posts

{% if posts %} {% else %}

There are no posts.

{% endif %} {% endblock %}