summaryrefslogtreecommitdiff
path: root/links.php
blob: 4244c23b711cdec0b8469f91c375858a58ce39c8 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
 * 友情链接
 *
 * @package custom
 */
$this->need('includes/head.php');
$this->need('includes/header.php'); ?>

  <main class="container" id="pjax-container"><div class="row">
    <!-- 主体 -->
    <div class="col-md-8">
	  <!-- 面包屑 -->
	  <div class="item post-bread">
	    <i class="glyphicon glyphicon-folder-close"></i> <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a> / <?php $this->title() ?>
	  </div>
	  <br />
	  
	  <article class="item">
	    <?php if($this->fields->banner && $this->fields->banner!='') :?>
		<div class="post-banner">
	      <div class="media-banner" style="background-position:center center;background:url(<?php $this->fields->banner(); ?>);background-repeat:no-repeat;background-size:cover;"></div>
		</div>
		<?php endif; ?>
		<h1 style="text-align:Center"><?php $this->title() ?></h1>
		<hr />
		<div class="links-box">
		  <div class="row" style="margin-top:20px;">
		    <?php Links_Plugin::output("SHOW_MIX"); ?>
		  </div>
		</div>
		
		<hr />
		
		<div class="post-content">
          <?php $this->need('post/post-content.php'); ?>
		</div>
	  </article>
	  
	  <?php $this->need('includes/comments.php'); ?>
	</div>
	
	<!-- 侧边栏 -->
	<div class="col-md-4">
	  <?php $this->need('includes/sidebar.php'); ?>
	</div>
	
    <?php $this->need('includes/toolbar.php'); ?>
  </div></main>

<?php $this->need('includes/footer.php'); ?>