Jony/post.php

55 lines
3.1 KiB
PHP
Raw Normal View History

2021-01-22 10:37:16 +00:00
<!DOCTYPE html>
2021-01-24 02:45:15 +00:00
<html lang="zh-CN">
2021-01-22 10:37:16 +00:00
<head>
<?php $this->need('public/include.php'); ?>
2021-01-27 05:00:55 +00:00
<!-- 文章页需要用到的CSS及JS -->
2021-02-04 12:30:07 +00:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-tomorrow.css">
2021-03-04 03:35:32 +00:00
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.post.min.css'); ?>">
2021-02-07 09:32:06 +00:00
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
2021-02-04 13:27:57 +00:00
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/prism/prism.js"></script>
2021-03-04 03:35:32 +00:00
<script src="<?php $this->options->themeUrl('assets/js/joe.post&page.min.js'); ?>"></script>
2021-01-22 10:37:16 +00:00
</head>
<body>
<div id="Joe">
<?php $this->need('public/header.php'); ?>
<div class="joe_container joe_bread">
<ul class="joe_bread__bread">
<li class="item">
2021-03-01 14:35:10 +00:00
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
<path d="M307.867 805.441h408.266V575.792c0-15.31 29.344-22.046 44.654-22.046 15.336 0 27.762 12.426 27.762 27.762v277.544c0 15.335-12.426 27.762-27.762 27.762h-499.59c-15.31 0-27.762-12.427-27.762-27.762V581.507c0-15.31 12.426-27.762 27.762-27.762 15.31 0 46.67 6.71 46.67 22.046v229.65zM205.8 524.758c-10.845 10.845-56.851 3.93-67.696-6.89a27.762 27.762 0 0 1-.025-39.295l353.253-353.227a27.762 27.762 0 0 1 39.296 0L883.93 478.573a27.813 27.813 0 0 1-12.478 46.491c-9.568 2.552-46.236 6.686-53.253-.331L512 218.559 205.8 524.758z" />
2021-01-22 10:37:16 +00:00
</svg>
<a href="<?php $this->options->siteUrl(); ?>" class="link" title="首页">首页</a>
</li>
<li class="line">/</li>
<?php if (sizeof($this->categories) > 0) : ?>
<li class="item">
<a class="link" href="<?php echo $this->categories[0]['permalink']; ?>" title="<?php echo $this->categories[0]['name']; ?>"><?php echo $this->categories[0]['name']; ?></a>
</li>
<li class="line">/</li>
<?php endif; ?>
<li class="item">正文</li>
</ul>
</div>
<div class="joe_container">
2021-01-23 10:30:17 +00:00
<div class="joe_main joe_post">
2021-01-24 02:45:15 +00:00
<div class="joe_detail" data-cid="<?php echo $this->cid ?>">
2021-03-06 07:03:39 +00:00
<?php $this->need('public/batten.php'); ?>
2021-01-24 02:45:15 +00:00
<?php $this->need('public/article.php'); ?>
2021-01-25 10:36:43 +00:00
<?php $this->need('public/handle.php'); ?>
<?php $this->need('public/copyright.php'); ?>
2021-01-24 02:45:15 +00:00
</div>
2021-01-27 05:00:55 +00:00
<ul class="joe_post__pagination">
<?php $this->theNext('<li class="joe_post__pagination-item prev">%s</li>', '', ['title' => '上一篇']); ?>
<?php $this->thePrev('<li class="joe_post__pagination-item next">%s</li>', '', ['title' => '下一篇']); ?>
</ul>
2021-01-26 06:19:52 +00:00
<?php $this->need('public/comment.php'); ?>
2021-01-22 10:37:16 +00:00
</div>
<?php $this->need('public/aside.php'); ?>
</div>
<?php $this->need('public/footer.php'); ?>
</div>
</body>
</html>