You've already forked wp-bootstrap
v0.1.1 - Bootstrap frontend rendering via Twig templates
Replace FSE block markup on the frontend with proper Bootstrap 5 HTML rendered through Twig templates. The Site Editor remains functional for admin editing while the public site outputs Bootstrap navbar, cards, pagination, grid layout, and responsive components. New PHP classes: TemplateController, ContextBuilder, NavWalker New Twig templates: 20 files (base, pages, partials, components) Enhanced TwigService with WordPress functions and globals Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
views/pages/archive.html.twig
Normal file
12
views/pages/archive.html.twig
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h1 class="mb-2">{{ archive.title|raw }}</h1>
|
||||
{% if archive.description %}
|
||||
<div class="lead text-body-secondary mb-4">{{ archive.description|raw }}</div>
|
||||
{% endif %}
|
||||
|
||||
{% include 'components/post-loop.html.twig' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user