<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">GitStash</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
{% if app.user %}
                <li><a href="{{ path('user', { user: app.user }) }}">Repositories</a></li>
                <li><a href="{{ path('user_settings') }}">Settings</a></li>
                <li><img class="img-rounded"  style="margin-top: 5px;" src="{{ gravatar('jthijssen@noxlogic.nl', 30) }}" /></li>
                <li><a href="{{ path('fos_user_security_logout') }}">Logout</a></li>
{% else %}
                <li><a href="{{ path('fos_user_security_login') }}">Login</a></li>
{% endif %}
            </ul>
        </div>
    </div>
</nav>

<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">GitStash</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
{% if app.user %}
                <li><a href="{{ path('user', { user: app.user }) }}">Repositories</a></li>
                <li><a href="{{ path('user_settings') }}">Settings</a></li>
                <li><img class="img-rounded"  style="margin-top: 5px;" src="{{ gravatar(app.user.email, 30) }}" /></li>
                <li><a href="{{ path('fos_user_security_logout') }}">Logout</a></li>
{% else %}
                <li><a href="{{ path('fos_user_security_login') }}">Login</a></li>
{% endif %}
            </ul>
        </div>
    </div>
</nav>

Add dynamic gravatar instead of hardcoded one
Add dynamic gravatar instead of hardcoded one
