|
1 | 1 | <divclass="post"id="post"> |
2 | 2 | <divclass="post-cover"style=" |
3 | | -background-image: |
| 3 | +background-image: |
4 | 4 | radial-gradient(ellipseclosest-side,rgba(0, 0, 0, 0.65), #100e17), |
5 | 5 | url(<%-post.cover ||theme.cover %>);"> |
6 | 6 | </div> |
7 | 7 | <divclass="else"> |
8 | | - <p><%-post.date.locale(config.language||'').format("MMMM DD, YYYY")%></p> |
9 | | - <h3><%-link_to(post.path,post.title||"Untitled", {class:"posttitle"})%></h3> |
10 | | -<%if (theme.symbols_count_time.enable) {%> |
| 8 | + <pclass="animated fadeInDown"> |
| 9 | + <ahref="<%- '/categories/' + post.categories.data[0].name %>"><b>「</b><%-post.categories.data[0].name.toUpperCase()%><b> 」</b> </a> |
| 10 | +<%-post.date.locale(config.language||'').format("MMMM DD, YYYY")%> |
| 11 | + </p> |
| 12 | + <h3class="post-title animated fadeInDown"><%-link_to(post.path,post.title||"Untitled", {class:"posttitle"})%></h3> |
| 13 | +<%if (theme.symbols_count_time.enable) {%> |
11 | 14 | <pclass="post-count animated fadeInDown"> |
12 | 15 | <%if (theme.symbols_count_time.wordCount) {%> |
13 | 16 | <span> |
|
33 | 36 | </span> |
34 | 37 | <% }%> |
35 | 38 | </p> |
| 39 | +<%if (post.tags&&post.tags.length){%> |
| 40 | +<%-list_tags(post.tags, { |
| 41 | + show_count:false, |
| 42 | + class:'animated fadeInDown post-tags' |
| 43 | + })%> |
| 44 | +<% }%> |
36 | 45 | <% }%> |
37 | | - <divclass="md-content"> |
| 46 | + <divclass="md-content animated fadeIn"> |
38 | 47 | <%if (theme.html_truncate.enable) {%> |
39 | 48 | <%-htmlTruncate(post.content,theme.html_truncate.postLength, { |
40 | 49 | ellipsis:theme.html_truncate.ellipsis, |
|
45 | 54 | <% }else {%> |
46 | 55 | <%-truncate(strip_html(post.content), { |
47 | 56 | length:500, |
48 | | - omission:'...' |
| 57 | + omission:"..." |
49 | 58 | })%> |
50 | 59 | <% }%> |
51 | | -<spanclass="read-more gradient-text"><%-link_to(post.path,__('read_article','Read article'), {class:"posttitle"})%></span> |
| 60 | + <spanclass="read-more gradient-text"><%-link_to(post.path,__('read_article','Read article'), {class:'posttitle'})%></span> |
52 | 61 | </div> |
53 | | -<%if (post.tags&&post.tags.length){%> |
54 | | -<%-list_tags(post.tags, { |
55 | | - show_count:false, |
56 | | - class:'post-tags' |
57 | | - })%> |
58 | | -<% }%> |
59 | 62 | </div> |
60 | 63 | </div> |
61 | 64 |
|