hexo-next美化
解决不显示访问人数的问题
去掉页面底部“驱动”
比如想去掉“由 Hexo & NexT.Gemini 强力驱动”,在.\themes\next\layout_partials\footer.swig中将以下代码注释掉。1
2
3
4
5
6{%- if theme.footer.powered %}
<div class="powered-by">
{%- set next_site = 'https://theme-next.js.org' if theme.scheme === 'Gemini' else 'https://theme-next.js.org/' + theme.scheme | lower + '/' %}
{{- __('footer.powered', next_url('https://hexo.io', 'Hexo') + ' & ' + next_url(next_site, 'NexT.' + theme.scheme)) }}
</div>
{%- endif %}
头像设置
在next的_config.yml中avatar设置。将头像图片放在/source/images/中,修改url地址。1
2
3
4
5
6
7
8# Sidebar Avatar
avatar:
# Replace the default image and set the url here.
url: /images/header.jpg
# If true, the avatar will be displayed in circle.
rounded: true
# If true, the avatar will be rotated with the cursor.
rotated: true
背景图片、页面透明化、阴影、圆角、动画
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Way2BeBetter!
评论