Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
backup
  • Loading branch information
barretlee committed Feb 25, 2018
1 parent 012d8ab commit b6ddc96
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blog/_config.yml
Expand Up @@ -165,7 +165,7 @@ image_minifier:
lazyload:
enable: true
onlypost: true
# loadingImg: https://img.alicdn.com/tps/TB13WjkHVXXXXX0XVXXXXXXXXXX-900-500.jpg_500x500.jpg
loadingImg: //img.alicdn.com/tfs/TB1oyqGa_tYBeNjy1XdXXXXyVXa-300-300.png


# webpack_config: 'themes/hexo-theme-moustache/webpack.config.js'
Expand Up @@ -14,3 +14,4 @@ date: 2018-02-10 21:26:00

### 发展趋势


File renamed without changes.
Expand Up @@ -25,7 +25,7 @@
<a href="<%- url_for(p.path) %>"><%- p.title %></a>
<span class="aria-readonly">发表时间为<%- moment(p.date).format("YYYY年MM月DD日")%></span>
<div class="relative-box">
<% if(img) {%><a href="<%- url_for(p.path) %>" class="relative-img-wrapper" style="background-image:url(<%- img %>);"></a><% } %>
<% if(img) {%><a href="<%- url_for(p.path) %>" class="relative-img-wrapper"><img src="//img.alicdn.com/tfs/TB1oyqGa_tYBeNjy1XdXXXXyVXa-300-300.png" style="width:100%" data-original="<%- img %>"/></a><% } %>
<span class="aria-readonly">文章概要 </span><%- excerpt %>
</div>
</li>
Expand Down
Expand Up @@ -512,9 +512,10 @@ table td, table th {
overflow: hidden;
}
a.relative-img-wrapper {
display: flex;
float: right;
width: 200px;
height: 120px;
max-height: 120px;
margin-left: 10px;
margin-top: 7px;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion hexo-admin
Submodule hexo-admin updated from 1c0f6a to c8f77e

0 comments on commit b6ddc96

Please sign in to comment.