You've already forked wc-bootstrap
Initial theme scaffold from wp-theme-template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
32
templates/layouts/page.html.twig
Normal file
32
templates/layouts/page.html.twig
Normal file
@@ -0,0 +1,32 @@
|
||||
{#
|
||||
# Page Layout (Bootstrap 5 Override)
|
||||
#
|
||||
# Layout for standard content pages.
|
||||
#
|
||||
# @package WcBootstrap
|
||||
# @since 0.1.0
|
||||
#}
|
||||
|
||||
{% extends "base.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="mb-4">
|
||||
{% block page_header %}
|
||||
<header class="mb-4">
|
||||
<h1>{{ page_title|default('')|esc_html }}</h1>
|
||||
|
||||
{% block page_description %}
|
||||
{% if page_description is defined %}
|
||||
<p class="lead text-body-secondary">{{ page_description|wp_kses_post }}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
||||
{% block page_content %}
|
||||
<div>
|
||||
{% block content_inner %}{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user