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:
11
views/partials/meta.html.twig
Normal file
11
views/partials/meta.html.twig
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="text-body-secondary small mb-3">
|
||||
<time datetime="{{ post.date_iso }}">{{ post.date }}</time>
|
||||
<span class="mx-1">·</span>
|
||||
<a href="{{ post.author.url }}" class="text-body-secondary text-decoration-none">{{ post.author.name }}</a>
|
||||
{% if post.categories is defined and post.categories|length > 0 %}
|
||||
<span class="mx-1">·</span>
|
||||
{% for cat in post.categories %}
|
||||
<a href="{{ cat.url }}" class="text-body-secondary text-decoration-none">{{ cat.name }}</a>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user