sky/page.php

20 lines
705 B
PHP
Raw Normal View History

2021-07-25 09:12:40 +08:00
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
2021-08-04 21:34:19 +08:00
<?php if ($this->fields->linkTo): ?>
<script type='text/javascript'>window.location.href = '<?php echo $this->fields->linkTo ?>';</script>
<?php endif; ?>
2021-07-25 09:12:40 +08:00
<div class="col mt-5" id="main" role="main">
<article itemscope itemtype="http://schema.org/BlogPosting">
2021-08-04 18:41:25 +08:00
<h1 class="font-weight-bold post-title" itemprop="name headline"><?php $this->title() ?></h1>
2021-08-04 12:31:53 +08:00
<hr>
2021-07-25 09:12:40 +08:00
<div class="post-content" itemprop="articleBody">
<?php $this->content(); ?>
</div>
</article>
<?php $this->need('comments.php'); ?>
</div><!-- end #main-->
<?php $this->need('footer.php'); ?>