mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-12-03 03:34:29 +01:00
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
<div class="col-md-3" id="post_meta">
|
|
|
|
<!-- date -->
|
|
<% if (item.date) { %>
|
|
<div class="meta-widget">
|
|
<i class="fa fa-clock-o"></i>
|
|
<%= item.date.format(config.date_format) %>
|
|
</div>
|
|
<% } %>
|
|
|
|
<!-- categories -->
|
|
<% if (item.categories && item.categories.length ) { %>
|
|
<div class="meta-widget">
|
|
<a data-toggle="collapse" data-target="#categorys"><i class="fa fa-folder"></i></a>
|
|
<ul id="categorys" class="tag_box list-unstyled collapse in">
|
|
<%- partial('category') %>
|
|
</ul>
|
|
</div>
|
|
<% } %>
|
|
|
|
<!-- tags -->
|
|
<% if(item.tags && item.tags.length ){ %>
|
|
<div class="meta-widget">
|
|
<a data-toggle="collapse" data-target="#tags"><i class="fa fa-tags"></i></a>
|
|
<ul id="tags" class="tag_box list-unstyled collapse in">
|
|
<%- partial('tag') %>
|
|
</ul>
|
|
</div>
|
|
<% } %>
|
|
|
|
<!-- toc -->
|
|
<div class="meta-widget">
|
|
<% if(item.toc){ %>
|
|
<a data-toggle="collapse" data-target="#toc"><i class="fa fa-bars"></i></a>
|
|
<div id="toc" class="toc collapse in">
|
|
<span class="toc-title">目录</span>
|
|
<%- toc(item.content, {class: "toc-article", list_number:false}) %>
|
|
</div>
|
|
<% } %>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</div><!-- col-md-3 -->
|