{% ckan_extends %}
{% block head_extras -%}
  <meta property="og:title" content="{{ h.dataset_display_name(pkg) }} - {{ g.site_title }}">
  <meta property="og:description" content="{{ h.get_translated(pkg, 'description')|forceescape|trim }}">
{% endblock -%}

{% block prelude %}
    <div id="main_content" class="prelude-dataset">
        {% set organization = h.get_translated(pkg.organization, 'title') or pkg.organization.name %}
        {% set group_type = pkg.organization.type %}
        {%  link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name, named_route=group_type + '.read'%}
        <h1>{{ h.get_translated(pkg, 'title')  }}</h1>
        <ul class="nav nav-tabs">
            {% block content_primary_nav %}
                {{ h.build_nav_icon('dataset.read', _('Dataset'), id=pkg.name) }}
                {{ h.build_nav_icon('dataset.groups', _('Groups'), id=pkg.name, icon=None) }}
                {% if h.check_access('organization_update', {'id': pkg.organization.id}) %}
                    {{ h.build_nav_icon('dataset.activity', _('Activity Stream'), id=pkg.name, icon=None) }}
                {% endif %}
            {% endblock %}
        </ul>
    </div>
{% endblock %}

{% block secondary_content %}{% endblock %}

{% ckan_extends %}
{% block head_extras -%}
  <meta property="og:title" content="{{ h.dataset_display_name(pkg) }} - {{ g.site_title }}">
  <meta property="og:description" content="{{ h.get_translated(pkg, 'description')|forceescape|trim }}">
{% endblock -%}

{% block prelude %}
    <div id="main_content" class="prelude-dataset">
        {% set organization = h.get_translated(pkg.organization, 'title') or pkg.organization.name %}
        {% set group_type = pkg.organization.type %}
        {%  link_for organization|truncate(30), id=pkg.organization.name, named_route=group_type + '.read'%}
        <h1>{{ h.get_translated(pkg, 'title')  }}</h1>
        <ul class="nav nav-tabs">
            {% block content_primary_nav %}
                {{ h.build_nav_icon('dataset.read', _('Dataset'), id=pkg.name) }}
                {{ h.build_nav_icon('dataset.groups', _('Groups'), id=pkg.name, icon=None) }}
                {% if h.check_access('organization_update', {'id': pkg.organization.id}) %}
                    {{ h.build_nav_icon('dataset.activity', _('Activity Stream'), id=pkg.name, icon=None) }}
                {% endif %}
            {% endblock %}
        </ul>
    </div>
{% endblock %}

{% block secondary_content %}{% endblock %}

Remove unneeded controller and action attributes
Remove unneeded controller and action attributes
