{#
/***@file*Taraisthemeimplementationtodisplayasinglepage.**Thedoctype,html,headandbodytagsarenotinthistemplate.Insteadthey*canbefoundinthehtml.html.twigtemplate.**Availablevariables:**Generalutilityvariables:*-base_path:ThebaseURLpathoftheDrupalinstallation.Willusuallybe*"/"unlessyouhaveinstalledDrupalinasub-directory.*-is_front:Aflagindicatingifthecurrentpageisthefrontpage.*-logged_in:Aflagindicatingiftheuserisregisteredandsignedin.*-is_admin:Aflagindicatingiftheuserhaspermissiontoaccess*administrationpages.**Siteidentity:*-front_page:TheURLofthefrontpage.Usethisinsteadofbase_pathwhen*linkingtothefrontpage.Thisincludesthelanguagedomainorprefix.**Pagecontent(inorderofoccurrenceinthedefaultpage.html.twig):*-node:Fullyloadednode,ifthereisanautomatically-loadednode*associatedwiththepageandthenodeIDisthesecondargumentinthe*pageispath(e.g.node/12345andnode/12345/revisions,butnot*comment/reply/12345).**Regions:*-page.header_top:Itemsfortheheadertopregion.*-page.site_branding:Items(logo/sitename/siteslogan)forthesitebrandingregion.*-page.primary_menu:Itemsfortheprimarymenuregion.*-page.search_box:Itemsforthefullpagesearchregion.*-page.breadcrumb:Itemsforthebreadcrumbregion.*-page.highlighted:Itemsforthehighlightedregion.*-page.content:Themaincontentofthecurrentpage.*-page.content_top:Itemsforthecontenttopregion.*-page.content_bottom:Itemsforthecontentbottomregion.*-page.sidebar_first:Itemsforthefirst/leftsidebar.*-page.sidebar_second:Itemsforthesecond/rightsidebar.*-page.footer_top:Itemsforthefootertopregion.*-page.footer_first:Itemsforthefirstfootercolumn.*-page.footer_second:Itemsforthesecondfootercolumn.*-page.footer_third:Itemsforthethirdfootercolumn.*-page.footer_fourth:Itemsforthefourthfootercolumn.*-page.footer_bottom:Itemsforthefooterbottomregion.**@seetemplate_preprocess_page()*@seehtml.html.twig*/#}{%include'@tara/template-parts/header.html.twig'%}{%include'@tara/template-parts/breadcrumb_region.html.twig'%}{%include'@tara/template-parts/highlighted.html.twig'%}<divid="main-wrapper"class="main-wrapper"><divclass="container"><divclass="main-container"><mainid="main"class="page-content"><aid="main-content"tabindex="-1"></a>{# link is in html.html.twig #}{%include'@tara/template-parts/content_top.html.twig'%}{{page.content}}{%include'@tara/template-parts/content_bottom.html.twig'%}</main>{%include'@tara/template-parts/left_sidebar.html.twig'%}{%include'@tara/template-parts/right_sidebar.html.twig'%}</div>{# /.main-container #}</div>{# /.container #}</div>{# /main-wrapper #}{%include'@tara/template-parts/footer.html.twig'%}
header-top-content.html.twig.twig
<divclass="header-top"><divclass="container"><divclass="header-top-container">
{% if page.header_top %}
<divclass="header-top-left header-top-block">
{% include '@tara/partials/header-top-content.html.twig' with { content: page.header_top } %}
</div><!--/.header-top-left -->
{% endif %}
{% if all_icons_show %}
<divclass="header-top-right header-top-block">
{% include '@tara/template-parts/social-icons.html.twig' %}
</div><!--/.header-top-right -->
{% endif %}
</div><!--/.header-top-container --></div><!--/.container --></div><!--/.header-top -->
Top comments (0)