%PDF- %PDF-
Mini Shell

Mini Shell

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

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

<head <?= $blog->ogp->enabled ? 'prefix="og: https://ogp.me/ns#"' : "" ?>>
	<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/index.css" type="text/css" />
	<title><?= sanitizeHTML($blog->title) ?></title>
	<?= component("ogp-header", [
		"blog" => $blog,
	], $blog->ogp->enabled) ?>
</head>

<body>
	<?= component("header", [
		"blog" => $blog,
	]) ?>
	<div class="layout">
		<div class="layout__mv"></div>
		<div class="content">
			<div class="container">
				<main class="main">
					<h1 class="page-title">新しい記事</h1>
					<?= component("article-list", [
						"articles" => $articles,
					]) ?>

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

					<?= component("blog-profile", array_merge([
						"name" => $blog->title,
						"description" => $blog->subtitle,
					], $blog_profile)) ?>

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

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

					<?= component("archive-list", [
						"archives" => $archives,
					]) ?>
				</aside>
			</div>
		</div>

	</div>
	<?= component("footer", [
		"blog" => $blog,
		"categories" => $categories,
		"tags" => $tags,
	]) ?>
</body>

</html>

Zerion Mini Shell 1.0