Add 'web/app/themes/badegg/' from commit 'b31aa7550b02a4516fdf161f53dc7666854c9a14'

git-subtree-dir: web/app/themes/badegg
git-subtree-mainline: b862ff9755
git-subtree-split: b31aa7550b
This commit is contained in:
2025-11-22 17:26:50 +00:00
121 changed files with 28270 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
@if (! post_password_required())
<section id="comments" class="comments">
@if ($responses())
<h2>
{!! $title !!}
</h2>
<ol class="comment-list">
{!! $responses !!}
</ol>
@if ($paginated())
<nav aria-label="Comment">
<ul class="pager">
@if ($previous())
<li class="previous">
{!! $previous !!}
</li>
@endif
@if ($next())
<li class="next">
{!! $next !!}
</li>
@endif
</ul>
</nav>
@endif
@endif
@if ($closed())
<x-alert type="warning">
{!! __('Comments are closed.', 'sage') !!}
</x-alert>
@endif
@php(comment_form())
</section>
@endif

View File

@@ -0,0 +1,7 @@
@php(the_content())
@if ($pagination())
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
@endif

View File

@@ -0,0 +1,15 @@
<article @php(post_class())>
<header>
<h2 class="entry-title">
<a href="{{ get_permalink() }}">
{!! $title !!}
</a>
</h2>
@includeWhen(get_post_type() === 'post', 'partials.entry-meta')
</header>
<div class="entry-summary">
@php(the_excerpt())
</div>
</article>

View File

@@ -0,0 +1,23 @@
<article @php(post_class('h-entry'))>
<header>
<h1 class="p-name">
{!! $title !!}
</h1>
@include('partials.entry-meta')
</header>
<div class="e-content">
@php(the_content())
</div>
@if ($pagination())
<footer>
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
</footer>
@endif
@php(comments_template())
</article>

View File

@@ -0,0 +1,15 @@
<article @php(post_class())>
<header>
<h2 class="entry-title">
<a href="{{ get_permalink() }}">
{!! $title !!}
</a>
</h2>
@include('partials.entry-meta')
</header>
<div class="entry-summary">
@php(the_excerpt())
</div>
</article>

View File

@@ -0,0 +1,10 @@
<time class="dt-published" datetime="{{ get_post_time('c', true) }}">
{{ get_the_date() }}
</time>
<p>
<span>{{ __('By', 'sage') }}</span>
<a href="{{ get_author_posts_url(get_the_author_meta('ID')) }}" class="p-author h-card">
{{ get_the_author() }}
</a>
</p>

View File

@@ -0,0 +1,3 @@
<div class="page-header">
<h1>{!! $title !!}</h1>
</div>