yufan.me/themes/spectre/layout/_partial/post/footer-info.ejs

21 lines
734 B
Plaintext
Raw Normal View History

2024-06-14 02:15:18 +08:00
<figure class="avatar centered">
<img src="<%= theme.img.avatar %>">
</figure>
<section class="post-footer-date">
<p class="card-subtitle text-gray mb-0">Publish: <%= date(page.date, config.date_format) %>
<% var posted = date(page.date, 'MMM DD, YYYY')
var edited = date(page.updated, 'MMM DD, YYYY')
if (posted !== edited) { %>
<br>Update: <%= date(page.updated, config.date_format) %>
<% } %>
</p>
</section>
<section class="post-footer-action">
<!-- Post Share -->
<%- partial('_partial/menu/post-share') %>
<!-- Post Qrcoe -->
<% if(theme.post.qrcode.enable === true) { %>
<%- partial('_partial/menu/post-qrcode') %>
<% } %>
</section>