diff --git a/assets/js/utils.js b/assets/js/utils.js index e278601..51691f3 100644 --- a/assets/js/utils.js +++ b/assets/js/utils.js @@ -12,7 +12,7 @@ NexT.utils = { NexT.utils.getCDNResource(NexT.CONFIG.page.music.css) ); - NexT.CONFIG.page.music.js.forEach(function (js) { + NexT.CONFIG.page.music.js.forEach(function(js) { NexT.utils.getScript(NexT.utils.getCDNResource(js), true); }); diff --git a/exampleSite/content/about/index.en-us.md b/exampleSite/content/about/index.en-us.md index bcf9c7c..7a1813a 100644 --- a/exampleSite/content/about/index.en-us.md +++ b/exampleSite/content/about/index.en-us.md @@ -24,4 +24,6 @@ Continuing the classic black-and-white color scheme of `NexT`, it maintains simp - [GitHub Feature](https://github.com/hugo-next/hugo-theme-next/issues/new?labels=Feature+Request&template=feature-request.md) to propose new feature ideas :sparkles: > [!INFO] -> Chinese's users can also join the QQ group for communication: 604710815 \ No newline at end of file +> Chinese's users can also join the QQ group for communication: 604710815 + +{{< music server="netease" type="playlist" id="1982066521" list-max-height="140" >}} \ No newline at end of file diff --git a/exampleSite/content/about/index.md b/exampleSite/content/about/index.md index 6485efe..cf8241f 100644 --- a/exampleSite/content/about/index.md +++ b/exampleSite/content/about/index.md @@ -25,4 +25,6 @@ url: about.html - [GitHub Feature](https://github.com/hugo-next/hugo-theme-next/issues/new?labels=Feature+Request&template=feature-request.md) 表新功能的想法 :sparkles: > [!INFO] -> 同时国内用户也可加入 QQ 群交流: 604710815 \ No newline at end of file +> 同时国内用户也可加入 QQ 群交流: 604710815 + +{{< music server="netease" type="playlist" id="1982066521" list-max-height="140" >}} \ No newline at end of file diff --git a/exampleSite/content/post/02-external-link/index.en-us.md b/exampleSite/content/post/02-external-link/index.en-us.md index 69140a0..3a3e56e 100644 --- a/exampleSite/content/post/02-external-link/index.en-us.md +++ b/exampleSite/content/post/02-external-link/index.en-us.md @@ -18,7 +18,7 @@ extlink: https://gitee.com/hugo-next/hugo-theme-next/ weight: 1 --- -Welcome to the Hugo NexT documentation site! It is from [Theme NexT](https://theme-next.js.org/) The transplanted one is [Hugo](https://gohugo.io/) The high- quality and elegant theme created maintains its easy- to- use features and powerful functionality. +Welcome to the Hugo NexT documentation site! It is from [Theme NexT](https://theme-next.js.org/) The transplanted one is [Hugo](https://gohugo.io/) The high-quality and elegant theme created maintains its easy-to-use features and powerful functionality. diff --git a/exampleSite/content/post/12-shortcodes/index.en-us.md b/exampleSite/content/post/12-shortcodes/index.en-us.md index e98b357..7a9bc7b 100644 --- a/exampleSite/content/post/12-shortcodes/index.en-us.md +++ b/exampleSite/content/post/12-shortcodes/index.en-us.md @@ -1,5 +1,5 @@ --- -title: Custom phrase example +title: "Custom shortcode example" description: "Set commonly used block references, label cards, buttons, and other information as short codes for quick referencing" Keywords: "short code, short code"