summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-13 14:21:11 +0800
committerGitHub <noreply@github.com>2022-08-13 14:21:11 +0800
commitf8cefbddee3b1005d7af569e4fc89c3f6059c008 (patch)
tree8d731045d1be526ddafdf24e2cb2369f4a8b2c84 /index.php
parent31e5c29c1a030d8f8d169b81386e659c1e2fb11f (diff)
init
Diffstat (limited to 'index.php')
-rw-r--r--index.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..3ec2719
--- /dev/null
+++ b/index.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * 你愿意,等我回来吗?
+ *
+ * @package Typecho Theme Ringo
+ * @author memset0, abc1763613206
+ * @version 0.2.4
+ * @link https://github.com/memset0/typecho-theme-ringo
+ */
+
+if (!defined('__TYPECHO_ROOT_DIR__')) exit;
+$this->need('header.php');
+?>
+<div class="col-12" id="main" role="main">
+ <?php /* $access = new Access_Core(); echo $access->overview['pv']['all']['total']; */?>
+ <?php while($this->next()): ?>
+ <article class="post post-atmain" itemscope itemtype="http://schema.org/BlogPosting">
+ <h2 class="post-title" itemprop="name headline"><a itemprop="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
+ <ul class="post-meta">
+ <li><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time></li>
+ <li><?php $this->category(','); ?></li>
+ <li itemprop="interactionCount"><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('0 comment', '1 comment', '%d comments'); ?></a></li>
+ </ul>
+ <div class="post-content" itemprop="articleBody">
+ <?php $this->content(''); ?>
+ </div>
+ </article>
+ <?php endwhile; ?>
+
+ <div class="page-navigator">
+ <span id="previous"><?php $this->pageLink('←'); ?></span>
+ <span id="next"><?php $this->pageLink('→','next'); ?></span>
+ </div>
+</div><!-- end #main-->
+
+<?php $this->need('footer.php'); ?> \ No newline at end of file