diff options
Diffstat (limited to 'archive.php')
| -rw-r--r-- | archive.php | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/archive.php b/archive.php deleted file mode 100644 index cb852ae..0000000 --- a/archive.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; -$this->need('includes/head.php'); -$this->need('includes/header.php'); -?> - <main class="main-container container" role="main"> - <div class="post-list"> - <?php if ($this->have()): ?> - <?php else: ?> - <p style="text-align:center">居然没有找到相关内容</p> - <?php endif; ?> - <?php while($this->next()): ?> - <div class="post-item"> - <div class="container-fluid"><div class="row"> - <div class="col-md-6 post-banner-box"> - <a href="<?php $this->permalink(); ?>" class="post-link"> - <div class="post-banner"> - <img src="<?php echo Utils::addLoadingImages($this->options->CDN, $this->options->loading_image, 'normal'); ?>" data-gisrc="<?php Utils::postBanner($this); ?>"> - </div> - </a> - </div> - <div class="col-md-6 post-item-content"> - <a href="<?php $this->permalink(); ?>" class="post-link"> - <h1 class="post-title"><?php $this->sticky(); ?><?php $this->title(); ?></h1> - </a> - <p class="post-excerpt"> - <?php if($this->fields->excerpt && $this->fields->excerpt!='') { - echo $this->fields->excerpt; - }else{ - echo $this->excerpt(130); - } - ?> - </p> - <p class="post-meta"><i class="iconfont icon-block"></i> <?php $this->category(','); ?> <i class="iconfont icon-comments"></i> <?php $this->commentsNum('还没有评论', '仅一条评论', '%d'); ?> <i class="iconfont icon-clock"></i> <?php $this->date(); ?></p> - <p class="post-button-box large-screen"><a href="<?php $this->permalink(); ?>" class="button post-button">Read More</a></p> - </div> - </div></div> - </div> - <br /> - <?php endwhile; ?> - <div class="post-pagenav"> - <span class="post-pagenav-left"><?php $this->pageLink('<i class="iconfont icon-chevron-left"></i>'); ?></span> - <span class="post-pagenav-right"><?php $this->pageLink('<i class="iconfont icon-chevron-right"></i>','next'); ?></span> - </div> - </div> - </div> - </main> -<?php $this->need('includes/footer.php'); ?> |
