移动优先的响应式布局,适配桌面与手机端浏览
hugo-profile — Hugo 作品集模板
作者 gurusabarish
hugo-profile 是一个基于 Hugo 的个人作品集与博客主题,采用移动优先的响应式设计,支持多语言、明暗主题与分类标签,代码以 MIT 许可发布。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
同时支持个人作品集页面与博客文章,含分类和标签
内置英语、西班牙语、法语翻译,可扩展其他语言并显示语言切换器
支持明暗与自动主题色配置,以及 Google Analytics 与 Disqus 评论
提供 Formspree 联系表单集成,需自行配置服务端点
基于 Bootstrap 与 Font Awesome 构建,代码采用 MIT 许可
模板详细介绍
hugo-profile 是面向个人作品集与博客的 Hugo 主题,仓库位于 gurusabarish/hugo-profile,示例站点为 hugo-profile.netlify.app。主题采用移动优先的响应式布局,提供极简风格页面,可展示 About、Education 等个人资料区块,并内置博客、分类与标签支持。
功能方面,主题支持国际化(内置英语、西班牙语、法语翻译,可自行添加语言并在导航栏显示语言切换器)、明暗与自动主题色配置、Google Analytics 统计、Disqus 评论以及 Formspree 联系表单。页面基于 Bootstrap 与 Font Awesome 构建。
使用上需要 Hugo 0.87.0 或更高版本。快速开始流程为:创建站点、将主题克隆到 themes 目录或作为 Git 子模块添加、复制 exampleSite 的 hugo.yaml 到站点根目录,再运行 hugo server。若希望看到完整示例内容,还需把 exampleSite 下的 static 与 content 目录同步到站点根目录,否则图片、博客与画廊区块可能不显示。
限制与注意事项:联系表单依赖 Formspree,真实提交需自行配置服务端点,其额度与费用需单独核对;示例图片、字体、图标等第三方素材的许可需单独确认,不能仅凭代码的 MIT 许可判断;部署到 Netlify 时若未使用模板仓库方式,需要额外配置。README 中记录了一个常见问题:构建时若出现调用 Twitter oEmbed 的 TLS 握手超时错误,可删除示例文件 content/blogs/rich-content.md 中的 tweet 短代码。
适合你的项目吗?
适用场景
- 搭建个人作品集网站,展示简介、教育经历与项目
- 建立个人博客,使用分类与标签组织文章
- 需要多语言展示的个人站点,使用内置翻译或自行添加语言
- 通过 Netlify 部署静态站点,或手动生成 public 目录上传到任意托管平台
适合人群
- 熟悉 Hugo 基本操作、希望快速搭建个人作品集或博客的开发者
- 需要移动端友好、支持明暗主题与多语言的个人站点作者
- 接受使用 Formspree、Disqus、Google Analytics 等外部服务的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需要 Hugo 0.87.0 或更高版本,可用 hugo version 检查
- 2
创建站点后,将主题克隆到 themes 目录或作为 Git 子模块添加,并复制 exampleSite/hugo.yaml 到站点根目录
- 3
首次运行 hugo server 时若内容不完整,需将 exampleSite 下的 static 与 content 同步到站点根目录
- 4
联系表单需自行配置 Formspree 端点,其使用额度与费用需单独核对
- 5
示例图片、字体、图标等第三方素材的许可需单独确认,不能仅凭代码的 MIT 许可判断
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 联系表单依赖第三方服务 Formspree,需自行注册并配置服务端点,其免费额度与费用由 Formspree 决定,需单独核对。
- 统计功能依赖 Google Analytics,需自行创建账号并提供跟踪 ID,属外部服务。
- 评论功能依赖第三方 Disqus,需自行注册站点并配置,属外部服务。
- 推荐部署方式依赖 Netlify 平台;若不使用模板仓库方式,需按 Hugo 文档额外配置。
- 主题使用 Bootstrap 与 Font Awesome 等第三方前端资源,其素材许可需单独确认,不能仅凭代码 MIT 许可判断。
- README 提及 Formspree 表单服务;真实提交需配置服务端点,其使用额度与费用需单独核对。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Contact Form Integration ([FormSpree](https://formspree.io/))
README 原文
Analytics Support ([Google Analytics](https://gohugo.io/templates/internal/#google-analytics))
README 原文
Comment Support ([Disqus](https://gohugo.io/content-management/comments/))
README 原文
Connect the repository to **Netlify**.
README 原文
https://github.com/gurusabarish/hugo-profile/blob/master/LICENSEhttps://github.com/gurusabarish/hugo-profile/blob/master/README.mdBuilt with Bootstrap and Font Awesome
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- Hugo Themes
- 资料与维护参考分
- 资料较完整 · 100 / 100
- 技术栈
- Hugo
- 网站类型
- 作品集 · 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-02-11
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 1fc29fcd3fe0e712217b10f589b700d355c67d52b5d68de91b6c65c23527b02c
2026-10-02T08:10:45.437Z
来源文件 / 仓库# Hugo Profile
[](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile) [](https://github.com/gurusabarish/hugo-profile/network) [](https://github.com/gurusabarish/hugo-profile/stargazers)
[](https://app.netlify.com/sites/hugo-profile/deploys)





**Hugo Profile:** a high-performance, mobile-first Hugo theme for personal portfolios and blogs.
- Example Site: [https://hugo-profile.netlify.app](https://hugo-profile.netlify.app)
- Wiki Page: [https://github.com/gurusabarish/hugo-profile/wiki](https://github.com/gurusabarish/hugo-profile/wiki)
**Features:**
- Fully Responsive
- Minimalist Design
- SEO Friendly
- Internationalization (i18n) Support
- [Light/Dark/Auto Theme Color Configuration](https://github.com/gurusabarish/hugo-profile/wiki/Color-Customization)
- Categories and Tags Support
- Analytics Support ([Google Analytics](https://gohugo.io/templates/internal/#google-analytics))
- Comment Support ([Disqus](https://gohugo.io/content-management/comments/))
- Contact Form Integration ([FormSpree](https://formspree.io/))
- Built with Bootstrap and Font Awesome
## Requirements
- **Hugo version 0.87.0 or higher**
To check your installed version, run:
```bash
hugo version
```
If Hugo is not installed, follow the [official installation guide](https://gohugo.io/installation/) for installation.
## Quick Start
1. Create a new Hugo site:
```bash
hugo new site my-site --format="yaml"
```
This uses a `hugo.yaml` configuration file instead of the default TOML format.
2. Add a theme.
Option A: Clone this repository inside your themes folder.
This allows you to make lots of custom changes.
```bash
cd my-site/themes
git clone https://github.com/gurusabarish/hugo-profile.git
```
Option B: Add as a Git submodule.
This allows you to get automatic or structured updates from the original repository.
```bash
cd my-site
git init
git submodule add https://github.com/gurusabarish/hugo-profile.git themes/hugo-profile
```
3. Copy the example configuration file to your site root:
```bash
cp -f themes/hugo-profile/exampleSite/hugo.yaml ./hugo.yaml
```
4. Start the Hugo development server:
```bash
hugo server
```
5. Recommended: Copy example content and assets.
When you first run `hugo server`, the site may look incomplete — images may be missing and the Blog or Gallery sections might not appear.
This is because their content currently resides in `themes/hugo-profile/exampleSite/`, whereas Hugo expects them in the root-level `static/` (for images) and `content/` (for pages) directories.
To have a complete view of the example site, run:
```bash
rsync -av themes/hugo-profile/exampleSite/static/ ./static/
rsync -av themes/hugo-profile/exampleSite/content/ ./content/
```
You can customize or replace this content to match your own site.
## Content Management
You can now start customizing your site.
To change the site title or homepage content, edit the `hugo.yaml` file in the root directory. This file also controls settings for showing or hiding sections of the site (e.g., About, Education).
To create a new page, for example, in the Blog section, run:
```bash
hugo new content content/blogs/my-post.md
```
This creates a new file in the `content/blogs/` folder with front matter that includes metadata like the date.
Here are some useful resources for your reference:
* [Hugo's Quick Start Guide](https://gohugo.io/getting-started/quick-start/) – About how to create a site, add content, and publish the site.
* [Hugo Content Organization – Giraffe Academy](https://www.mikedane.com/static-site-generators/hugo/content-organization/)
* [Wiki Page](https://github.com/gurusabarish/hugo-profile/wiki) – Tips specific to this theme.
## Internationalization (i18n)
This theme supports multiple languages out of the box. Hugo Profile includes built-in translations for English, Spanish, and French, and you can easily add your own languages.
### Setting Up Multiple Languages
To enable multilingual support, add the following to your `hugo.yaml`:
```yaml
defaultContentLanguage: "en"
defaultContentLanguageInSubdir: false
languages:
en:
languageName: "English"
weight: 1
es:
languageName: "Español"
weight: 2
fr:
languageName: "Français"
weight: 3
```
### How It Works
1. **Translation Files**: The theme includes translation files in the `i18n/` directory:
- `en.toml` - English translations
- `es.toml` - Spanish translations
- `fr.toml` - French translations
2. **Language Switcher**: When you enable multiple languages, a language switcher dropdown automatically appears in the navigation bar, allowing visitors to switch between languages.
3. **Backward Compatibility**: All existing sites continue to work without any changes. The theme automatically falls back to English or your configured language if no multilingual setup is provided.
### Adding a New Language
To add support for a new language (e.g., German):
1. Create a new translation file `i18n/de.toml` in your site root or in the theme:
```toml
[nav_about]
other = "Über uns"
[nav_experience]
other = "Erfahrung"
# Add all other translations...
```
2. Add the language to your `hugo.yaml`:
```yaml
languages:
de:
languageName: "Deutsch"
weight: 4
```
3. (Optional) Create language-specific content in `content/de/` directory.
### Customizing Translations
You can override any translation by adding it to your site's `params.terms` section in `hugo.yaml`:
```yaml
params:
terms:
read: "Custom Read Text"
pageNotFound: "Custom 404 Message"
```
For more information about Hugo's multilingual features, see the [Hugo Multilingual Documentation](https://gohugo.io/content-management/multilingual/).
## Deployment
If you do not require extensive customization, the easiest way to deploy is:
1. Click the **Use this template** button to create your own repository.
2. Connect the repository to **Netlify**.
Whenever you make changes to the files inside the `exampleSite` folder, Netlify will automatically detect and deploy your changes.
---
If you followed the steps in the [Quick Start](#quick-start) section above, you can still deploy your site to Netlify, but you'll need a few additional configurations.
See the **[Host on Netlify](https://gohugo.io/hosting-and-deployment/hosting-on-netlify/)** guide for further information.
---
For manual deployment, run `hugo` to generate the final, ready-to-deploy static site in the `public/` folder, which you can upload to any hosting platform.
It is recommended to delete the `public/` folder before each build to ensure it only contains the latest output:
```bash
rm -rf public/ && hugo
```
## Trouble-Shooting
```
ERROR error calling resources.GetRemote: Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FGoHugoIO%2Fstatus%2F1315233626070503424": net/http: TLS handshake timeout
Built in 10266 ms
Error: error building site: logged 1 error(s)
```
The TLS handshake timeout error can happen due to network issues. If this error persists, you can delete the shortcode example `{{< tweet user="GoHugoIO" id="1315233626070503424" >}}` in the "content/blogs/rich-content.md" file.
## Issues
If you have a question, please [open an issue](https://github.com/gurusabarish/hugo-profile/issues) for help and to help those who come after you. The more information you can provide, the better!
## Contributing
Contributions, issues, and feature requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
## License
Licensed under [MIT](LICENSE)
## 🤝 Support
Give a ⭐️ or buy me a ~`coffee`~ tea if you like this project!
<a href="https://www.buymeacoffee.com/gurusabarish" target="_blank" rel="noopener"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="40" width="145" alt="Buy Me A Coffee"></a>
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

hugo-PaperMod
PaperMod 是 Hugo 生态里知名度较高的主题之一,定位很明确:给博客和轻量作品集站点提供一套干净、响应式的阅读界面。
Hugo · 作品集

LoveIt
❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
Hugo · 博客

hugo-coder
A minimalist blog theme for hugo.
Hugo · 博客

blowfish
Personal Website & Blog Theme for Hugo
Hugo · 博客

hugo-paper
🪺 A simple, clean, customizable Hugo theme
Hugo · 博客

hextra
Hextra 是一个 Hugo 主题,定位在文档站与博客之间:既提供侧边栏导航、目录、面包屑、分页这类文档站结构,也能承载博客内容。
Hugo · 文档
