修改友链
This commit is contained in:
parent
93f32fc016
commit
35e5523b93
@ -13,20 +13,32 @@
|
|||||||
.social
|
.social
|
||||||
ul
|
ul
|
||||||
li
|
li
|
||||||
a(href='https://github.com/yi-ge', target='_blank', rel='external nofollow')
|
a(
|
||||||
Icon(:icon="['fab', 'github']")
|
href='https://github.com/yi-ge',
|
||||||
|
target='_blank',
|
||||||
|
rel='external nofollow'
|
||||||
|
)
|
||||||
|
Icon(:icon='["fab", "github"]')
|
||||||
li
|
li
|
||||||
Icon(:icon="['fab', 'qq']" @click="info('qq')")
|
Icon(:icon='["fab", "qq"]', @click='info("qq")')
|
||||||
li
|
li
|
||||||
Icon(:icon="['fab', 'weixin']" @click="info('weixin')")
|
Icon(:icon='["fab", "weixin"]', @click='info("weixin")')
|
||||||
li
|
li
|
||||||
a(href='http://weibo.com/syxj', target='_blank', rel='external nofollow')
|
a(
|
||||||
Icon(:icon="['fab', 'weibo']")
|
href='http://weibo.com/syxj',
|
||||||
|
target='_blank',
|
||||||
|
rel='external nofollow'
|
||||||
|
)
|
||||||
|
Icon(:icon='["fab", "weibo"]')
|
||||||
li
|
li
|
||||||
Icon(:icon="['fas', 'envelope']" @click="info('email')")
|
Icon(:icon='["fas", "envelope"]', @click='info("email")')
|
||||||
li
|
li
|
||||||
a(href='https://www.wyr.me/rss.xml', target='_blank', rel='external nofollow')
|
a(
|
||||||
Icon(:icon="['fas', 'rss']")
|
href='https://www.wyr.me/rss.xml',
|
||||||
|
target='_blank',
|
||||||
|
rel='external nofollow'
|
||||||
|
)
|
||||||
|
Icon(:icon='["fas", "rss"]')
|
||||||
.social-info-box(v-if='socialInfo')
|
.social-info-box(v-if='socialInfo')
|
||||||
| {{ socialInfo }}
|
| {{ socialInfo }}
|
||||||
#navication.widget.navication
|
#navication.widget.navication
|
||||||
@ -35,62 +47,95 @@
|
|||||||
ul
|
ul
|
||||||
li
|
li
|
||||||
nuxt-link(to='/') 主页
|
nuxt-link(to='/') 主页
|
||||||
li(v-for='(categorys, index) in $store.state.categorys', :key='index', v-show="categorys.name !== '未分类'")
|
li(
|
||||||
nuxt-link(:to="'/' + categorys.slug") {{ categorys.name }}
|
v-for='(categorys, index) in $store.state.categorys',
|
||||||
|
:key='index',
|
||||||
|
v-show='categorys.name !== \'未分类\''
|
||||||
|
)
|
||||||
|
nuxt-link(:to='"/" + categorys.slug') {{ categorys.name }}
|
||||||
li
|
li
|
||||||
a(:href="'https://driver.wyr.me/'" target="_blank") MAC N卡驱动更新提示
|
a(:href='"https://driver.wyr.me/"', target='_blank') MAC N卡驱动更新提示
|
||||||
.search-box
|
.search-box
|
||||||
input.search(type='text', placeholder='搜索', v-model='searchVal', @keyup.enter='search')
|
input.search(
|
||||||
Icon(:icon="['fas', 'search']" @click="search")
|
type='text',
|
||||||
|
placeholder='搜索',
|
||||||
|
v-model='searchVal',
|
||||||
|
@keyup.enter='search'
|
||||||
|
)
|
||||||
|
Icon(:icon='["fas", "search"]', @click='search')
|
||||||
.widget.comment
|
.widget.comment
|
||||||
.widgetTitle
|
.widgetTitle
|
||||||
label 最新评论
|
label 最新评论
|
||||||
ul
|
ul
|
||||||
li(v-for='(newComment, index) in $store.state.newComments', :key='index')
|
li(
|
||||||
|
v-for='(newComment, index) in $store.state.newComments',
|
||||||
|
:key='index'
|
||||||
|
)
|
||||||
strong {{ newComment.comment_author }}:
|
strong {{ newComment.comment_author }}:
|
||||||
span
|
span
|
||||||
nuxt-link(:to="'/post/' + newComment.post.ID + '#comments'" v-html="newComment.comment_content_html")
|
nuxt-link(
|
||||||
|
:to='"/post/" + newComment.post.ID + "#comments"',
|
||||||
|
v-html='newComment.comment_content_html'
|
||||||
|
)
|
||||||
.meta
|
.meta
|
||||||
span
|
span
|
||||||
Icon(:icon="['far', 'clock']")
|
Icon(:icon='["far", "clock"]')
|
||||||
| {{ newComment.comment_date }}
|
| {{ newComment.comment_date }}
|
||||||
span
|
span
|
||||||
| —
|
| —
|
||||||
nuxt-link(:to="'/post/' + newComment.post.ID") {{ newComment.post.post_title }}
|
nuxt-link(:to='"/post/" + newComment.post.ID') {{ newComment.post.post_title }}
|
||||||
.widget.posts
|
.widget.posts
|
||||||
.widgetTitle
|
.widgetTitle
|
||||||
label 热门文章
|
label 热门文章
|
||||||
ul
|
ul
|
||||||
li(v-for='(hotArticle, index) in $store.state.hotArticle', :key='index')
|
li(
|
||||||
.thumbnail(v-if='hotArticle && hotArticle.postimages && hotArticle.postimages[0]')
|
v-for='(hotArticle, index) in $store.state.hotArticle',
|
||||||
img(width='150', :src="hotArticle.postimages[0].guid + '?x-oss-process=image/resize,m_lfit,h_150,w_150'")
|
:key='index'
|
||||||
.detail(:style='hotArticle && hotArticle.postimages && hotArticle.postimages[0] ? "margin-left: 70px" : "margin-left: 0"')
|
)
|
||||||
nuxt-link(:to="'/post/' + hotArticle.ID", :title='hotArticle.post_title') {{ hotArticle.post_title }}
|
.thumbnail(
|
||||||
|
v-if='hotArticle && hotArticle.postimages && hotArticle.postimages[0]'
|
||||||
|
)
|
||||||
|
img(
|
||||||
|
width='150',
|
||||||
|
:src='hotArticle.postimages[0].guid + "?x-oss-process=image/resize,m_lfit,h_150,w_150"'
|
||||||
|
)
|
||||||
|
.detail(
|
||||||
|
:style='hotArticle && hotArticle.postimages && hotArticle.postimages[0] ? "margin-left: 70px" : "margin-left: 0"'
|
||||||
|
)
|
||||||
|
nuxt-link(
|
||||||
|
:to='"/post/" + hotArticle.ID',
|
||||||
|
:title='hotArticle.post_title'
|
||||||
|
) {{ hotArticle.post_title }}
|
||||||
.meta {{ hotArticle.post_modified }}
|
.meta {{ hotArticle.post_modified }}
|
||||||
.widget.links(v-if="$route.path === '/'")
|
.widget.links(v-if='$route.path === "/"')
|
||||||
.widgetTitle
|
.widgetTitle
|
||||||
label 友情链接
|
label 友情链接
|
||||||
.links
|
.links
|
||||||
ul
|
ul
|
||||||
li
|
li
|
||||||
a(href="https://wintc.top/" target="_blank") 木马tc个人博客
|
a(href='https://wintc.top/', target='_blank') 沐码小站
|
||||||
li
|
li
|
||||||
a(href="https://johnsonlee.site/" target="_blank") Johnson Blog
|
a(href='https://johnsonlee.site/', target='_blank') Johnson Blog
|
||||||
li
|
li
|
||||||
a(href="https://www.lzhpo.com/" target="_blank") 会打篮球的程序猿
|
a(href='https://www.lzhpo.com/', target='_blank') 会打篮球的程序猿
|
||||||
li
|
li
|
||||||
a(href="https://www.lfhacks.com/" target="_blank") LFhacks
|
a(href='https://www.lfhacks.com/', target='_blank') LFhacks
|
||||||
li
|
li
|
||||||
a(href="https://www.ixiqin.com/" target="_blank") 西秦公子
|
a(href='https://www.ixiqin.com/', target='_blank') 西秦公子
|
||||||
li
|
li
|
||||||
a(href="https://8code.net/" target="_blank") 前端视角
|
a(href='https://8code.net/', target='_blank') 前端视角
|
||||||
li
|
li
|
||||||
a(href="http://www.zzfly.net/" target="_blank") 烟花易冷
|
a(href='http://www.zzfly.net/', target='_blank') 烟花易冷
|
||||||
#tags.widget.tags
|
#tags.widget.tags
|
||||||
.widgetTitle
|
.widgetTitle
|
||||||
label 标签
|
label 标签
|
||||||
.tagcloud
|
.tagcloud
|
||||||
nuxt-link(:to="'/tag/' + tag.slug", :title='tag.name', v-for='tag in $store.state.tags', :key='tag.term_id') {{ tag.name }}
|
nuxt-link(
|
||||||
|
:to='"/tag/" + tag.slug',
|
||||||
|
:title='tag.name',
|
||||||
|
v-for='tag in $store.state.tags',
|
||||||
|
:key='tag.term_id'
|
||||||
|
) {{ tag.name }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user