rpgmakermv存档修改网站_NexT 网站配置——雏形初成

由 IIssNan 开发的 NexT 已经停止维护,我们采用的是社区维护版的 NexT v6 and v7,但原版的中文说明文档是编得极好的,是重要的参考来源^1。

不过由于社区版的和原版已经产生了较大区别,还是更推荐看社区版的说明文档^2。

本文一般是通过修改 主题配置文件 _config.yml来实现各种配置,这种情况下不需要重新渲染发布等操作,修改完后直接保存再刷新网页即可看到效果。

主题设置

3d7c06a48888c30a4d1ae6647d09f4a3.png

Scheme 是 NexT提供的一种特性,借助于 Scheme,NexT为你提供多种不同的外观。同时,几乎所有的配置都可以 在 Scheme 之间共用。目前 NexT支持三种 Scheme,他们是:

  • Muse→ 默认 Scheme,这是 NexT最初的版本,黑白主调,大量留白
  • Mist→ Muse 的紧凑版本,整洁有序的单栏外观
  • Pisces→ 双栏 Scheme,小家碧玉似的清新
  • Gemini→ 看起来像Pisces,但是不同文章直接用块隔开,看起来更舒服

个人比较推荐 Gemini ,其次Mist

Scheme 的切换通过更改 主题配置文件,搜索 scheme 关键字。 你会看到有四行 scheme 的配置,将你需用启用的 scheme 前面注释 # 去除即可。

# Schemes
#scheme: Muse
#scheme: Mist
#scheme: Pisces
scheme: Gemini

菜单设置

可以看到目前为止我们的主题菜单中只有两个默认的选项HomeArchive,我们还可以添加tagaboutcategory等选项^3。

我们先在HexoBlogthemesnext下找到 主题配置文件 _config.yml中找到Menu Settings

# ---------------------------------------------------------------
# Menu Settings
# ---------------------------------------------------------------

# When running the site in a subdirectory (e.g. domain.tld/blog), remove the leading slash from link value (/archives -> archives).
# Usage: `Key: /link/ || icon`
# Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive.
# Value before `||` delimeter is the target link.
# Value after `||` delimeter is the name of FontAwesome icon. If icon (with o
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值