Template Journal - Source Excerpt 02
Summary
This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-journal.php so readers can inspect the evidence without opening the full source file.
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-journal.php
<li><a href="<?php echo esc_url(add_query_arg('track', $slug, $journal_url)); ?>"><?php echo esc_html($track['name']); ?></a></li>
<?php endforeach; ?>
</ul>
</article>
<?php foreach ($reference_links as $group => $items) : ?>
<article class="card foundation-panel foundation-panel--compact">
<p class="eyebrow"><?php echo esc_html('institution' === $group ? __('Reference File', 'antichrist-engine') : ('publication' === $group ? __('Publication Links', 'antichrist-engine') : __('Participation', 'antichrist-engine'))); ?></p>
<ul class="membership-links">
<?php foreach ($items as $item) : ?>
<li><a href="<?php echo esc_url($item['url']); ?>"><?php echo esc_html($item['label']); ?></a></li>
<?php endforeach; ?>
</ul>
</article>
<?php endforeach; ?>
<article class="card foundation-panel foundation-panel--compact">
<p class="eyebrow"><?php esc_html_e('Public Assurances', 'antichrist-engine'); ?></p>
<ul class="foundation-list foundation-list--tight">
<?php foreach (array_slice($assurances, 0, 3) as $assurance) : ?>
<li><?php echo esc_html($assurance['title']); ?></li>
<?php endforeach; ?>
</ul>
</article>
</aside>
<div class="foundation-layout__main">
<article <?php post_class('page-article card foundation-panel foundation-prose'); ?>>
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Archive Brief', 'antichrist-engine'); ?></p>
<h2 class="entry-title"><?php the_title(); ?></h2>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<div class="foundation-panel-grid">
<?php if ($selected_publication_count > 0) : ?>
<section class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Archive Metrics', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($journal_copy['metrics_title']); ?></h2>
</header>
<div class="publication-stat-grid">
<article class="publication-stat-card statement-card">
<span><?php echo esc_html($journal_copy['metrics']['published_files']['label']); ?></span>
<strong><?php echo esc_html($publication_metric_display); ?></strong>
<p><?php echo esc_html($journal_copy['metrics']['published_files']['summary']); ?></p>
</article>
<article class="publication-stat-card statement-card">
<span><?php echo esc_html($journal_copy['metrics']['archive_pages']['label']); ?></span>
<strong><?php echo esc_html(number_format_i18n(max(1, (int) $journal_query->max_num_pages))); ?></strong>
<p><?php echo esc_html($journal_copy['metrics']['archive_pages']['summary']); ?></p>
</article>
<article class="publication-stat-card statement-card">
<span><?php echo esc_html($journal_copy['metrics']['active_topics']['label']); ?></span>
<strong><?php echo esc_html(number_format_i18n($active_topics)); ?></strong>
<p><?php echo esc_html($journal_copy['metrics']['active_topics']['summary']); ?></p>
</article>
</div>
</section>
<?php else : ?>
<section class="card foundation-panel publication-empty-state">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Archive In Formation', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($journal_copy['staged_routes_title']); ?></h2>
<p><?php echo esc_html($journal_copy['staged_routes_summary']); ?></p>
</header>
<?php antichrist_engine_render_publication_empty_routes($empty_routes); ?>
</section>
<?php endif; ?>
<section id="journal-map" class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Publication Map', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($journal_copy['map_title']); ?></h2>
<p><?php echo esc_html($journal_copy['map_summary']); ?></p>
</header>
<div class="statement-grid">
<?php foreach ($journal_map as $route) : ?>
<article class="statement-card journal-route-card">
<p class="eyebrow"><?php echo esc_html($route['eyebrow']); ?></p>
<h3><?php echo esc_html($route['title']); ?></h3>
<p><?php echo esc_html($route['summary']); ?></p>
<a class="text-link" href="<?php echo esc_url('#' . $route['anchor']); ?>"><?php echo esc_html($route['cta']); ?></a>
</article>
<?php endforeach; ?>
</div>
</section>
</div>
<?php if ($selected_track && $selected_series) : ?>
<section class="card foundation-panel journal-track-focus">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Track Focus', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($selected_series['name']); ?></h2>
<p><?php echo esc_html($selected_series['signal'] ?? $selected_series['description']); ?></p>
</header>
<div class="publication-stat-grid">
<article class="publication-stat-card statement-card">
<span><?php esc_html_e('Audience', 'antichrist-engine'); ?></span>
<strong class="metric-value--status"><?php esc_html_e('Defined', 'antichrist-engine'); ?></strong>
<p><?php echo esc_html($selected_series['audience'] ?? ''); ?></p>
</article>
<article class="publication-stat-card statement-card">
<span><?php esc_html_e('Track Role', 'antichrist-engine'); ?></span>
<strong class="metric-value--status"><?php echo esc_html($selected_series['classification'] ?? ''); ?></strong>
<p><?php echo esc_html($selected_series['description'] ?? ''); ?></p>
</article>
<article class="publication-stat-card statement-card">
<span><?php esc_html_e('Current Cycle', 'antichrist-engine'); ?></span>
<strong class="metric-value--status"><?php esc_html_e('Live', 'antichrist-engine'); ?></strong>
<p><?php echo esc_html($selected_series['current_cycle'] ?? ''); ?></p>
</article>
</div>
<div class="hero__actions">
<a class="button" href="<?php echo esc_url($journal_url); ?>"><?php esc_html_e('View all journal files', 'antichrist-engine'); ?></a>
<?php if (!empty($selected_series['related_cta']) && $resolve_track_related_url($selected_series)) : ?>
<a class="button button--ghost" href="<?php echo esc_url($resolve_track_related_url($selected_series)); ?>"><?php echo esc_html($selected_series['related_cta']); ?></a>
<?php endif; ?>
</div>
</section>
<?php endif; ?>
<?php if ($flagship_track) : ?>
<section id="flagship-track" class="card foundation-panel foundation-panel--official">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Flagship Track', 'antichrist-engine'); ?></p>