# WebStack-Hugo **Repository Path**: shenweiyan/WebStack-Hugo ## Basic Information - **Project Name**: WebStack-Hugo - **Description**: WebStack 网址导航 Hugo 主题,无需服务器,支持导航一键配置的纯静态网址导航网站。 - **Primary Language**: Go - **License**: MIT - **Default Branch**: main - **Homepage**: https://webstack-hugo.weiyan.cc/ - **GVP Project**: No ## Statistics - **Stars**: 179 - **Forks**: 96 - **Created**: 2021-12-01 - **Last Updated**: 2025-09-15 ## Categories & Tags **Categories**: site-theme **Tags**: Hugo, 网站主题, 网址导航 ## README > [!NOTE] > **2025年05月17日:更多新功能,请参考: 项目!** ## 一个基于 Hugo 的静态响应式网址导航主题 本项目是基于**纯静态**的网址导航网站 [webstack.cc](https://github.com/WebStackPage/WebStackPage.github.io) 制作的 [Hugo](https://gohugo.io/) 主题,是一个基于 Hugo 的静态响应式网址导航主题。
### 主题开源地址 [**GitHub**](https://github.com/shenweiyan/WebStack-Hugo) | [**Gitee**](https://gitee.com/shenweiyan/WebStack-Hugo) | [**GitCode**](https://gitcode.com/shenweiyan/WebStack-Hugo) ### 主题演示地址 ### 特色功能 这是 Hugo 版 WebStack 主题。可以借助下面的平台直接托管部署,无需服务器。 - [Webify](https://webify.cloudbase.net/) | [Netlify](https://app.netlify.com/) | [Cloudflare Pages](https://pages.cloudflare.com) | [Vercel](https://vercel.com) | [Github Pages](https://pages.github.com/) 总体说一下特点: - 采用了一直以来最喜欢的 Hugo 部署方式,方便高效。 - 主要的配置信息都集成到了 `config.toml`,一键完成各种自定义的配置。 - 导航的各个信息都集成在 `data/webstack.yml` 文件中,方便后续增删改动。 ``` - taxonomy: 科研办公 icon: fas fa-flask fa-lg list: - term: 生物信息 links: - title: NCBI logo: ncbi.jpg url: https://www.ncbi.nlm.nih.gov/ description: National Center for Biotechnology Information. - title: Bioconda logo: bioconda.jpg url: https://anaconda.org/bioconda/ description: "Bioconda :: Anaconda.org." - term: 云服务器 links: - title: 阿里云 logo: 阿里云.jpg url: https://www.aliyun.com/ description: 上云就上阿里云。 - title: 腾讯云 logo: 腾讯云.jpg url: https://cloud.tencent.com/ description: 产业智变,云启未来。 ``` - 做了手机电脑自适应以及夜间模式。 - 增加了搜索功能,以及下拉的热词选项(基于百度 API)。 - 增加了一言、和风天气的 API。 ### 使用说明 这是一个开源的公益项目,你可以拿来制作自己的网址导航,也可以做与导航无关的网站。 WebStack 有非常多的魔改版本,这是其中一个。如果你对本主题进行了一些个性化调整,欢迎在本项目留下你的 [分享](https://github.com/shenweiyan/WebStack-Hugo/issues/10)! ### 安装说明 关于 Windows/Linux 下详细的安装与使用说明,请参考文档《WebStack-Hugo | 一个静态响应式导航主题》。 - [链接1](https://weiyan.cc/tech/discussions-10/) | [链接2](https://github.com/shenweiyan/Digital-Garden/discussions/10) ### 感谢 本主题的部分代码参考了以下几个开源项目,特此感谢。 - [WebStackPage/WebStackPage.github.io](https://github.com/WebStackPage/WebStackPage.github.io) - [liutongxu/liutongxu.github.io](https://github.com/liutongxu/liutongxu.github.io) - [iplaycode/webstack-hugo](https://github.com/iplaycode/webstack-hugo) 感谢以下所有朋友对本主题所做出的贡献。 - [@yuanj82](https://github.com/yuanj82) - [@yanbeiyinhanghang](https://github.com/yinhanghang) - [@jetsung](https://github.com/jetsung) ### 赞赏 如果你觉得本项目对你有所帮助,欢迎请作者喝杯热咖啡 >.< ![donate-wecaht-aliapy](https://kg.weiyan.cc/0000/img/donate.webp) ### Star History [![Star History Chart](https://api.star-history.com/svg?repos=shenweiyan/WebStack-Hugo&type=Date)](https://star-history.com/#shenweiyan/WebStack-Hugo&Date)