{% extends "Global/layout.html.twig" %}
{% set pagetitle = 'Add a new blog post' | trans %}
{% if blogpost.id %}{% set pagetitle = 'Update the blog post' | trans %}{% endif %}
{% block title %}{{pagetitle}}{% endblock %}
{% block content %}
{% set navigation = [{ "dashboard_index": ('Dashboard' | trans), "dashboard_administrator_blog_post": ('Manage blog posts' | trans), "current":(pagetitle) }] %}
{% include "Global/navigation.html.twig" with navigation %}