farallon/page-links.php

32 lines
988 B
PHP
Raw Permalink Normal View History

2024-05-17 15:47:27 +08:00
<?php
/**
* 友情链接
*
* @package custom
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<section class="site--main">
<header class="archive--header">
<h1 class="post--single__title"><?php $this->title() ?></h1>
2024-06-05 15:59:42 +08:00
<h2 class="post--single__subtitle"><?php $this->content(); ?> </h2>
2024-05-17 15:47:27 +08:00
</header>
<div class="graph u-marginBottom30">
<?php $this->content(); ?>
</div>
<div class="template--linksWrap">
<ul class="link-items">
<?php
Links_Plugin::output('<li class="link-item"><a class="link-item-inner effect-apollo" href="{url}" target="_blank">
<span class="sitename"><strong>{name}</strong>{title}</span>
</a></li>');
?>
</ul>
</div>
2024-05-18 15:06:04 +08:00
<article class="post--single">
2024-05-17 18:23:58 +08:00
<?php if ($this->allow('comment')): ?>
<?php $this->need('comments.php'); ?>
2024-05-18 15:06:04 +08:00
<?php endif; ?>
</article>
2024-05-17 15:47:27 +08:00
</section>
2024-06-05 15:59:42 +08:00
<?php $this->need('footer.php'); ?>