🐛 Fixed some configuration & display scripts.

This commit is contained in:
凡梦星尘 2022-08-06 16:15:15 +08:00
parent 1677648167
commit 96ba605026
3 changed files with 12 additions and 7 deletions

View File

@ -4,7 +4,7 @@ NexT.boot = {};
NexT.boot.registerEvents = function() { NexT.boot.registerEvents = function() {
// NexT.utils.registerScrollPercent(); NexT.utils.registerScrollPercent();
// NexT.utils.registerCanIUseTag(); // NexT.utils.registerCanIUseTag();
// Mobile top menu bar. // Mobile top menu bar.

View File

@ -67,7 +67,7 @@ outputFormats:
baseName: "rss" baseName: "rss"
# 自定义生成本地搜索文件 # 自定义生成本地搜索文件
# Custom file of indexes for local search # Custom file of indexes for local search
SearchIndexes: LocalIndexes:
mediaType: application/xml mediaType: application/xml
baseName: searchindexes baseName: searchindexes
isPlainText: true isPlainText: true
@ -81,7 +81,7 @@ outputFormats:
notAlternative: true notAlternative: true
outputs: outputs:
home: ["HTML", "RSS", "SearchIndexes"] home: ["HTML", "RSS", "LocalIndexes"]
#-------------------------------------- #--------------------------------------
# 菜单配置说明 # 菜单配置说明
@ -112,16 +112,21 @@ menus:
pageref: /about.html pageref: /about.html
pre: user pre: user
weight: 2 weight: 2
- identifier: flinks
name: 站点示例
pageref: /flinks.html
pre: thumbs-up
weight: 3
- identifier: archives - identifier: archives
name: 归档 name: 归档
pageref: /archives pageref: /archives
pre: archive pre: archive
weight: 3 weight: 4
- identifier: commonweal - identifier: commonweal
name: 公益 404 name: 公益 404
url: /404.html url: /404.html
pre: heartbeat pre: heartbeat
weight: 4 weight: 5
#----------------------------------------- #-----------------------------------------
# Hugo NexT 主题参数配置 # Hugo NexT 主题参数配置
@ -912,7 +917,7 @@ params:
# Algolia Search # Algolia Search
# For more information: https://www.algolia.com # For more information: https://www.algolia.com
algoliaSearch: algoliaSearch:
enable: true enable: false
appId: #<algolia app id> appId: #<algolia app id>
apiKey: #<algolia api key> apiKey: #<algolia api key>
indexName: #<algolia index name> indexName: #<algolia index name>

View File

@ -1,6 +1,6 @@
--- ---
title: "关于 Hugo NexT 组织" title: "关于 Hugo NexT 组织"
description: "" description: "Hugo NexT 组织介绍说明。"
date: 2022-06-09T20:12:52+08:00 date: 2022-06-09T20:12:52+08:00
lastmod: 2022-06-09T20:12:52+08:00 lastmod: 2022-06-09T20:12:52+08:00