sample files from a smithsonian project
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{% extends '@layouts/site-container/site-container.twig' %}
|
||||
{% block site_content %}
|
||||
|
||||
{{ page.header }}
|
||||
{{ drupal_entity('block', 'submenu') }}
|
||||
{{ page.navigation }}
|
||||
{{ page.breadcrumb }}
|
||||
{{ page.highlighted }}
|
||||
{{ page.help }}
|
||||
|
||||
<main id="main" class="main" role="main" tabindex="-1">
|
||||
<div class="l-constrain mt-xl mb-3xl">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{{ page.footer }}
|
||||
|
||||
{% endblock %}
|
||||
{% block additional_content %}
|
||||
{% if not is_front %}
|
||||
{% include '@components/social-sharing/social-sharing.twig' with {
|
||||
share_url: url('<current>'),
|
||||
share_title: share_title,
|
||||
share_id: 'social-sharing',
|
||||
} %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,33 @@
|
||||
{% extends '@layouts/site-container/site-container.twig' %}
|
||||
{% block site_content %}
|
||||
|
||||
{{ page.header }}
|
||||
{{ drupal_entity('block', 'submenu') }}
|
||||
{{ page.navigation }}
|
||||
{{ page.breadcrumb }}
|
||||
{{ page.highlighted }}
|
||||
{{ page.help }}
|
||||
|
||||
<main id="main" class="main" role="main" tabindex="-1">
|
||||
{{ page.preface }}
|
||||
{{ page.content }}
|
||||
{% if not is_front %}
|
||||
<a href="#social-sharing" class="visually-hidden focusable">
|
||||
{{ 'Share this page'|t }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ page.postscript }}
|
||||
</main>
|
||||
|
||||
{{ page.footer }}
|
||||
|
||||
{% endblock %}
|
||||
{% block additional_content %}
|
||||
{% if not is_front %}
|
||||
{% include '@components/social-sharing/social-sharing.twig' with {
|
||||
share_url: url('<current>'),
|
||||
share_title: share_title,
|
||||
share_id: 'social-sharing',
|
||||
} %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,18 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display a region.
|
||||
*
|
||||
* Available variables:
|
||||
* - content: The content for this region, typically blocks.
|
||||
* - attributes: HTML attributes for the region div.
|
||||
* - region: The name of the region variable as defined in the theme's
|
||||
* .info.yml file.
|
||||
*
|
||||
* @see template_preprocess_region()
|
||||
*/
|
||||
#}
|
||||
{% include "@layouts/footer/footer.twig" with {
|
||||
footer_social_menu: drupal_menu('social-media'),
|
||||
footer_legal_menu: drupal_menu('footer')
|
||||
}%}
|
||||
@@ -0,0 +1,18 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display a region.
|
||||
*
|
||||
* Available variables:
|
||||
* - content: The content for this region, typically blocks.
|
||||
* - attributes: HTML attributes for the region div.
|
||||
* - region: The name of the region variable as defined in the theme's
|
||||
* .info.yml file.
|
||||
*
|
||||
* @see template_preprocess_region()
|
||||
*/
|
||||
#}
|
||||
{% include "@layouts/header/header.twig" with {
|
||||
header_menu: drupal_menu('main'),
|
||||
header_search: false
|
||||
}%}
|
||||
Reference in New Issue
Block a user