forked from Skywt2003/Writecho
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
30 lines (26 loc) · 756 Bytes
/
Copy pathindex.php
File metadata and controls
30 lines (26 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* 听见笔尖回声。
*
* @package Writecho
* @author SkyWT
* @version 1.0
* @link https://skywt.cn/
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<?php if ($this->options->noticeImgUrl != ''): ?>
<div class="post">
<img src="<?php $this->options->themeurl('img/'.$this->options->noticeImgUrl) ?>">
</div>
<?php endif; ?>
<?php while ($this->next()): ?>
<article class="post">
<a href="<?php $this->permalink() ?>">
<!-- <img src="<?php #$this->fields->titleImgUrl() ?>"> -->
<?php $this->content('<img src="'.$this->options->themeUrl.'/img/'.$this->options->moreImgUrl.'">') ?>
</a>
</article>
<?php endwhile; ?>
<?php $this->need('footer.php'); ?>