{% extends 'bootstrap/base.html' %} {% block title %} {% if title %}{{ title }} - ScoDoc{% else %}Welcome to ScoDoc{% endif %} {% endblock %} {% block navbar %} Toggle navigation ScoDoc Home Hello {% if current_user.is_anonymous %} Login {% else %} {{current_user.user_name}} Logout {% endif %} {% endblock %} {% block content %}