Files
Romhack-Plaza---WordPress-T…/views/base.twig
2026-01-29 19:10:03 +01:00

115 lines
3.2 KiB
Twig

<!DOCTYPE html>
<html {{ fn( 'language_attributes' ) }}>
<head>
{% block head %}
<meta charset="{{ site.charset }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="{{ site.pingback }}">
{{ fn( 'wp_head' ) }}
{% endblock %}
</head>
<body {{ fn( 'body_class' ) }} >
{% block body %}
{% do action('wp_body_open') %}
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content">{{ __( 'Skip to content', 'romhackplaza' )|esc_html }}</a>
<header id="masthead" class="site-header clearfix" role="banner">
{% block header %}
<div class="header-main container clearfix">
<div id="logo" class="site-branding clearfix">
{{ fn( 'the_custom_logo' ) }}
<!-- Site logo -->
{% if is_home %}
<h1 class="site-title"><a href="{{ site.url }}/" rel="home">{{ site.title }}</a></h1>
{% else %}
<p class="site-title"><a href="{{ site.url }}/" rel="home">{{ site.title }}</a></p>
{% endif %}
{% if site.description or conditional_tag.is_customize_preview %}
<p class="site-description">{{ site.description }}</p>
{% endif %}
</div>
{% include 'pieces/menus/secondary.twig' %}
</div>
{% include 'pieces/menus/primary.twig' %}
{% endblock %}
</header>
{# Add Header image here if needed... #}
{# Add Slider if needed #}
<div id="content" class="site-content container clearfix">
<section id="primary" class="content-single content-area">
<main id="main" class="site-main" role="main">
{% block page %}
{% endblock %}
</main>
</section>
{% block sidebar %}
{% if wp_sidebar %}
<section id="secondary" class="sidebar widget-area clearfix" role="complementary">
{{ wp_sidebar }}
</section>
{% endif %}
{% endblock %}
</div>
<div id="footer" class="footer-wrap">
{% block footer %}
<footer id="colophon" class="site-footer container clearfix" role="contentinfo">
{# TODO Add things later... #}
</footer>
{% endblock %}
</div>
</div>
{{ fn( 'wp_footer') }}
{% endblock %}
</body>
</html>