手机端查看效果优化

pull/5/head
jinqilin721 2020-04-07 11:57:49 +08:00
parent 7841881721
commit 93bd990184
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<#if is_post?? || is_page?? || is_sheet??> <#if is_post?? || is_page?? || is_sheet??>
<#else > <#else >
<#if post.thumbnail?? && post.thumbnail!='' && (settings.post_thumbnail_enable?? && settings.post_thumbnail_enable)> <#if post.thumbnail?? && post.thumbnail!='' && (settings.post_thumbnail_enable?? && settings.post_thumbnail_enable)>
<div class="card-image"> <div class="card-image is-hidden-mobile">
<#if index> <#if index>
<a href="${post.fullPath!}"> <a href="${post.fullPath!}">
<img class="thumbnail" src="${post.thumbnail!}" alt="${post.title!}"> <img class="thumbnail" src="${post.thumbnail!}" alt="${post.title!}">
@ -25,7 +25,7 @@
datetime="${post.createTime!}">${post.createTime?string["yyyy-MM-dd EE"]}</time> datetime="${post.createTime!}">${post.createTime?string["yyyy-MM-dd EE"]}</time>
<#if index> <#if index>
<#if post.categories?? && post.categories?size gt 0> <#if post.categories?? && post.categories?size gt 0>
<div class="level-item"> <div class="level-item is-hidden-mobile">
<#list post.categories as category> <#list post.categories as category>
<a class="has-link-grey -link" <a class="has-link-grey -link"
href="${category.fullPath!}">${category.name!}&emsp;</a>&nbsp; href="${category.fullPath!}">${category.name!}&emsp;</a>&nbsp;
@ -34,7 +34,7 @@
</#if> </#if>
<#else> <#else>
<#if categories?? && categories?size gt 0> <#if categories?? && categories?size gt 0>
<div class="level-item"> <div class="level-item is-hidden-mobile">
<#list categories as category> <#list categories as category>
<a class="has-link-grey -link" <a class="has-link-grey -link"
href="${category.fullPath!}">${category.name!}&emsp;</a>&nbsp; href="${category.fullPath!}">${category.name!}&emsp;</a>&nbsp;