From 2c6db2d96904bc4e67118911bd1bc2ffe4cb9b7a Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 27 Feb 2019 10:05:31 +0800 Subject: [PATCH] thumbnail --- layout/_partial/meta.ejs | 4 ++-- source/less/_main.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layout/_partial/meta.ejs b/layout/_partial/meta.ejs index 5879702..ac5c9d5 100644 --- a/layout/_partial/meta.ejs +++ b/layout/_partial/meta.ejs @@ -10,8 +10,8 @@ aplayer_server: post.music.server, aplayer_type: post.music.type, aplayer_id: post.music.id, aplayer_volume: '0.7', aplayer_autoplay: false }) %> <% } %> - <% if(post.logo && post.logo.length){ %> - + <% if(post.thumbnail && post.thumbnail.length){ %> + <% } %>
<% if(isPostList){ %> diff --git a/source/less/_main.less b/source/less/_main.less index a4b2ca0..03ffa75 100755 --- a/source/less/_main.less +++ b/source/less/_main.less @@ -292,7 +292,7 @@ margin-bottom: 0.5*@gap; } font-size: @fontsize_small * .95; - .aplayer,.logo{ + .aplayer,.thumbnail{ .enable-trans(); width: 65px; height: 65px; @@ -313,7 +313,7 @@ } } } - .logo{ + .thumbnail{ width: auto; border-radius: 4px; box-shadow: none;