完善博客名称显示,优化友链格式

This commit is contained in:
LingZhaoHui 2020-10-08 15:09:24 +08:00
parent ac5b5714c5
commit 7ddc3488d7
4 changed files with 14 additions and 48 deletions

View File

@ -41,7 +41,7 @@
<div class="blog-slider__content">
<div>
<span class="blog-slider__code"
style="display:inline-block">${article.articleUpdateDate?string("yyyy年MM月dd日")}</span>
style="display:inline-block">${article.articleCreateDate?string("yyyy年MM月dd日")}</span>
<#if article.categoryURI??>
<h1 style="display:inline-block"><a class="has-link-black-ter"
href="/category/${article.categoryURI}">${article.articleCategory}</a></h1>
@ -76,7 +76,7 @@
<div class="level article-meta is-size-7 is-uppercase is-mobile is-overflow-x-auto">
<div class="level-left">
<time
class="level-item has-text-grey">${article.articleUpdateDate?string("yyyy年MM月dd日")}</time>
class="level-item has-text-grey">${article.articleCreateDate?string("yyyy年MM月dd日")}</time>
<#if article.articleCategory != "">
<h1 style="display:inline-block"> <a class="has-link-black-ter"
href="/category/${article.categoryURI}">${article.articleCategory}</a></h1>

View File

@ -44,7 +44,7 @@
margin: 10px auto;
display:inline-block;
vertical-align:text-top;
width:230px;
width:49%;
text-align: center;
background-color:#F8F8F8;
height:160px;

View File

@ -569,7 +569,7 @@
<section role="form" class="comment-editor">
<div class="inner">
<div class="commentator">
<img src="https://pic.stackoverflow.wiki/uploadImages/123/113/181/232/2019/12/05/20/41/2740ebc7-da8d-4220-90c5-557f7151d7bc.png"
<img src="https://pic.stackoverflow.wiki/uploadImages/114/246/231/87/2020/06/06/02/26/65e10ea4-41e0-4da8-82fa-a00da2770ce2.png"
class="avatar">
</div>
<form class="comment-form">

View File

@ -28,6 +28,16 @@
<img class="is-rounded" src="${faviconURL}" alt="${blogTitle!}" height="48" width="48"
style="padding: 2px; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
</figure>
<div class="level-right">
<div>
</div>
</div>
</div>
</div>
</nav>
<nav class="level is-mobile" style="margin-bottom:0px ;">
<div class="level-item has-text-centered" style="flex-shrink: 1">
<div class="level">
<div class="level-right">
<div>
<p class="title is-4" style="text-align: center">
@ -80,50 +90,6 @@
</div>
</nav>
<div class="level is-mobile">
<#if usite??>
<#if usite.usiteQQ !=''>
<span class="level-item button is-marginless" target="_blank" title="QQ"
onclick="qq()">
<i class="fab fa-qq"></i>
</span>
</#if>
<#if usite.usiteWeChat !=''>
<span class="level-item button is-marginless" target="_blank" title="WeChat"
onclick="wechat()">
<i class="fab fa-weixin"></i>
</span>
</#if>
<#if usite.usiteWeiBo !=''>
<a class="level-item button is-marginless" target="_blank" title="Weibo"
href="https://weibo.com/${usite.usiteWeiBo}">
<i class="fab fa-weibo"></i>
</a>
</#if>
<#if usite.usiteGitHub !=''>
<a class="level-item button is-marginless" target="_blank" title="Github"
href="https://github.com/${usite.usiteGitHub}">
<i class="fab fa-github"></i>
</a>
</#if>
<#if usite.usiteTwitter !=''>
<a class="level-item button is-marginless" target="_blank" title="Twitter"
href="https://twitter.com/${usite.usiteTwitter}">
<i class="fab fa-twitter"></i>
</a>
</#if>
<#if usite.usiteFacebook !=''>
<a class="level-item button is-marginless" target="_blank" title="Facebook"
href="https://www.facebook.com/${usite.usiteFacebook}">
<i class="fab fa-facebook"></i>
</a>
</#if>
<#if usite.usiteTelegram !=''>
<a class="level-item button is-marginless" target="_blank" title="Telegram"
href="https://telegram.me/${usite.usiteTelegram}">
<i class="fab fa-telegram"></i>
</a>
</#if>
</#if>
</div>
</div>
</div>