diff --git a/.gitignore b/.gitignore index fc75fa0..095a556 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,9 @@ exampleSite/* # Exclude special files in content folder exampleSite/content/**/ !exampleSite/content +!exampleSite/content/flinks +!exmapleSite/content/flinks.md +!exampleSite/content/about !exmapleSite/content/about.md !exampleSite/content/archives !exampleSite/content/post @@ -24,6 +27,8 @@ exampleSite/content/**/ !exampleSite/startup.sh data/* +!data/flinks +!data/flinks.yaml !data/config.yaml !data/resources.yaml diff --git a/exampleSite/content/about/index.en-us.md b/exampleSite/content/about/index.en-us.md new file mode 100644 index 0000000..bcf9c7c --- /dev/null +++ b/exampleSite/content/about/index.en-us.md @@ -0,0 +1,27 @@ +--- +title: "About Hugo NexT Organization" + +date: 2025-01-25T18:00:52+08:00 +lastmod: 2025-01-25T18:00:52+08:00 + +share: false +followme: false +nav: false +copyright: false +url: about.html +--- + +The `Hugo NexT` organization is jointly established by numerous friends from around the world who are fond of the `NexT` theme and style. The aim is to continue promoting and enhancing this theme within the `Hugo` engine. We warmly welcome you to join us! + +# Our Vision + +Continuing the classic black-and-white color scheme of `NexT`, it maintains simple usability and powerful functionality. + +# Usage Feedback + +- Join the online discussions on [GitHub Discussions](https://github.com/hugo-next/hugo-theme-next/discussions) or [Gitter](https://gitter.im/hugo-next/community) :beers: +- [GitHub Issues](https://github.com/hugo-next/hugo-theme-next/issues/new?labels=Bug&template=bug-report.md) Submit a bug report :bug: +- [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 diff --git a/exampleSite/content/about.md b/exampleSite/content/about/index.md similarity index 99% rename from exampleSite/content/about.md rename to exampleSite/content/about/index.md index c4e89c7..6485efe 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about/index.md @@ -24,4 +24,5 @@ url: about.html - [GitHub Issues](https://github.com/hugo-next/hugo-theme-next/issues/new?labels=Bug&template=bug-report.md) 提交错误报告 :bug: - [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 diff --git a/exampleSite/content/archives/_index.en-us.md b/exampleSite/content/archives/_index.en-us.md new file mode 100644 index 0000000..7ac9371 --- /dev/null +++ b/exampleSite/content/archives/_index.en-us.md @@ -0,0 +1,3 @@ +--- +date: 2025-01-25T20:46:25+08:00 +--- \ No newline at end of file diff --git a/exampleSite/content/flinks/index.en-us.md b/exampleSite/content/flinks/index.en-us.md new file mode 100644 index 0000000..bf29ccc --- /dev/null +++ b/exampleSite/content/flinks/index.en-us.md @@ -0,0 +1,14 @@ +--- +title: "Demo Sites" +type: flinks +url: flinks.html +--- + +If you want to exchange friendly links on this site, please leave your site information in the comment section. The format reference is as follows: + +```yaml +- name: Hugo-NexT + desc: Hugo NexT Official Site. + avatar: https://hugo-next.eu.org/imgs/hugo_next_avatar.png + link: https://hugo-next.eu.org +``` \ No newline at end of file diff --git a/exampleSite/content/flinks.md b/exampleSite/content/flinks/index.md similarity index 100% rename from exampleSite/content/flinks.md rename to exampleSite/content/flinks/index.md diff --git a/exampleSite/data/flinks/en-us.yaml b/exampleSite/data/flinks/en-us.yaml new file mode 100644 index 0000000..58ec94f --- /dev/null +++ b/exampleSite/data/flinks/en-us.yaml @@ -0,0 +1,37 @@ +# 友情链接 +# Friend's links + +- FLinksTitle: Office Demo Site + FLinksDesc: Example content from the official theme. + FLinksList: + - name: Hugo + desc: The fastest website construction framework in the world! + avatar: https://gohugo.io/favicon-32x32.png + link: https://gohugo.io + timeout: 2 + visible: true + + - name: Hugo-NexT + desc: Hugo NexT Official Site + avatar: https://hugo-next.eu.org/imgs/hugo_next_avatar.png + link: https://hugo-next.eu.org + timeout: 2 + visible: true + + - name: Fanmeng Star Dust Space Station + desc: Even ordinary people have their own dreams! + avatar: https://elkan1788.github.io/imgs/avatar.png + link: https://lisenhui.cn + timeout: 2 + visible: true + + +- FLinksTitle: Hugo NexT Fan Groups + FLinksDesc: Exciting presentation from Hugo NexT theme enthusiasts! + FLinksList: + - name: Ahaji + desc: The first Hugo NexT loyal fan user on the entire network! + avatar: https://a.happy2008.top/imgs/stayhome-small.png + link: https://a.happy2008.top/ + timeout: 2 + visible: true \ No newline at end of file diff --git a/exampleSite/data/flinks.yaml b/exampleSite/data/flinks/zh-cn.yaml similarity index 100% rename from exampleSite/data/flinks.yaml rename to exampleSite/data/flinks/zh-cn.yaml diff --git a/layouts/flinks/single.html b/layouts/flinks/single.html index ae897ea..4b7e3ea 100644 --- a/layouts/flinks/single.html +++ b/layouts/flinks/single.html @@ -7,7 +7,13 @@