%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/sakura-blog/themes/theme-basic/gray/v1.1.5/templates/pages/search/
Upload File :
Create Path :
Current File : //usr/local/sakura-blog/themes/theme-basic/gray/v1.1.5/templates/pages/search/result-archive.php

<?php
require_once(__DIR__ . "/../../../utils.php");

$title = (new DateTime($year_month))->format("Y年 n月") . "の記事";

?>
<html>

<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1">
	<?php if ($blog->meta_description !== "") { ?>
		<meta name="description" content="<?= sanitizeHTML(nl2empty($blog->meta_description)) ?>" />
	<?php } ?>
	<link rel="stylesheet" href="/assets/css/search_result.css" type="text/css" />
	<title><?= sanitizeHTML($blog->title) ?></title>
</head>

<body>
	<?= component("header", [
		"blog" => $blog,
	]) ?>

	<div class="layout">
		<div class="layout__mv2"></div>
		<div class="content">
			<div class="container">
				<main class="main search-result">
					<h1 class="page-title">
						<span class="speech-bubble white">
							<i class="fa-solid fa-box-archive"></i>
						</span>
						<span class="page-title__text"><?= sanitizeHTML($title) ?></span>
					</h1>

					<?= component("article-list", [
						"articles" => $articles,
					]) ?>

					<?= component("pagination", [
						"page" => $page,
						"total" => $total,
						"total_pages" => $total_pages,
					]) ?>
				</main>
				<aside class="widgets">
					<?= component("blog-profile", $blog_profile) ?>

					<?= component("category-list", [
						"categories" => $categories,
					]) ?>

					<?= component("tag-list", [
						"tags" => $tags,
					]) ?>

					<?= component("archive-list", [
						"archives" => $archives,
					]) ?>
				</aside>
			</div>
		</div>
	</div>
	<?= component("breadcrumb", [
		"items" => [
			["label" => $title, "is_current" => true],
		],
	]) ?>
	<?= component("footer", [
		"blog" => $blog,
		"categories" => $categories,
		"tags" => $tags,
	]) ?>
</body>

</html>

Zerion Mini Shell 1.0