HTML作品集

simplefolio — HTML 作品集模板

作者 sethcottle

simplefolio 是一个单 HTML 文件的作品集模板,无需构建工具或依赖,强调可访问性与自动深浅色模式。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-13查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

单 HTML 文件,无构建工具、无依赖,README 称文件大小约 20KB

02

自动深色/浅色模式,跟随系统偏好并支持手动覆盖

03

README 声明符合 WCAG AAA,包含跳转主内容链接、ARIA 标签、焦点指示和 44x44px 触控目标

04

项目按年份分组,年份标题在启用 JavaScript 时显示相对时间,禁用时回退为年份数字

05

通过 CSS 变量定制颜色,分别提供浅色与深色主题变量

模板详细介绍

simplefolio 是一个作品集模板,整个模板只有一个 index.html 文件,不使用构建工具,也没有依赖。README 说明其定位是“dead-simple, highly accessible”,即结构简单且注重可访问性。模板自带自动深色/浅色模式,跟随系统偏好并支持手动切换;页面使用语义化 HTML,并针对键盘导航和屏幕阅读器做了处理。内容组织上,项目按年份分组,年份标题在 JavaScript 可用时显示“this year”“last year”等相对时间,禁用 JavaScript 时回退为纯年份数字;每个项目条目包含标题、描述和可选标签。样式通过 :root 和 [data-theme="dark"] 中的 CSS 变量控制颜色,字体使用系统字体。README 未提供关于浏览器兼容范围、性能基准或生产环境适用性的具体说明,也未列出任何第三方框架或运行时依赖。

HTML作品集

适合你的项目吗?

适用场景

  • 个人开发者或设计师制作简单的作品集页面
  • 希望直接编辑 HTML 并部署到 GitHub Pages、Netlify、Vercel 等静态托管平台
  • 需要页面具备键盘导航和屏幕阅读器支持的可访问性场景
  • 希望页面自动适配系统深浅色模式,同时允许访客手动切换

适合人群

  • 偏好无构建流程、直接编辑单个 HTML 文件的用户
  • 需要轻量、可访问作品集模板的开发者
  • 使用静态托管服务发布个人页面的用户

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    下载 index.html,编辑姓名、简介、联系方式链接和项目内容

  2. 2

    添加项目时按 README 示例使用 article.project 结构,包含标题、描述和可选标签

  3. 3

    添加年份区块时使用 section.year-section 和带 data-year 的 h2,并保留 year-default、year-relative、year-absolute 三个 span

  4. 4

    修改颜色时编辑 :root 和 [data-theme="dark"] 中的 CSS 变量

  5. 5

    README 未提供 npm 安装或构建命令,部署到静态托管即可

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • README 说明通过其提供的联盟链接注册相关服务(如 DigitalOcean、Fathom Analytics)是支持项目的方式,用户若通过这些链接注册可能涉及第三方付费服务。
  • README 邀请用户加入 Seth's Nook Discord 服务器以获取更新,使用该服务需注册 Discord 账号并遵守其条款。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Signing up through these services through these affiliate links is also a good way to support simplefolio.

README 原文

Join the [Seth's Nook Discord](https://discord.gg/PrAEQFF2fK) server to get updates on simplefolio and more. Use the invite code `PrAEQFF2fK` or click the button below.

README 原文
https://github.com/sethcottle/simplefolio/blob/main/LICENSEhttps://github.com/sethcottle/simplefolio/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-13。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 77 / 100
技术栈
HTML
网站类型
作品集
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2025-09-02
截图检查日期
2026-10-13

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15

查看当时使用的来源资料

SHA-256: 8c6f6961e866b4d2f04d0148bf8ce1e4bec9c22cbf10c23d8a6af5799a90b996

2026-10-13T15:00:03.287Z

来源文件 / 仓库
# simplefolio

A dead-simple, highly accessible portfolio template. No build tools, no dependencies, just a single HTML file that works everywhere.

![License](https://img.shields.io/badge/license-MIT-blue.svg)
![Size](https://img.shields.io/badge/size-~20KB-purple.svg)
![Accessibility](https://img.shields.io/badge/WCAG-AAA-darkgreen.svg)

## Features

- **Automatic dark/light mode**: respects system preferences with manual override
- **Fully accessible**: WCAG AAA compliant, keyboard navigable, screen reader friendly
- **Responsive**: Looks great on all devices
- **Semantic HTML**: properly structured for SEO and accessibility
- **Lightning fast**: single file, no dependencies, under 20KB
- **Easy to customize**: well-commented code, CSS variables for theming
- **Clean typography**: optimal readability with proper link indicators
- **Smart year display**: shows "this year", "last year", etc. (uses JS)

## Quick Start

1. Download `index.html`
2. Edit the content:
   - Add your name
   - Update the bio text
   - Add your contact links
   - Add your projects
3. Deploy anywhere (GitHub Pages, Netlify, Vercel, or any static host)

That's it! No build process, no npm install, just edit and go.

## Adding Content

### Adding a new project

Projects are organized by year, with the most recent years at the top. Each project includes a title, description, and optional metadata tags.

```html
<article class="project">
    <div class="project-title-wrapper">
        <a href="YOUR_PROJECT_URL" class="project-title">Project Name</a>
        <span class="external-icon" aria-hidden="true">↗</span>
    </div>
    <p class="project-description">Brief description of your project.</p>
    <div class="project-meta">
        <span>active</span>
        <span>open source</span>
    </div>
</article>
```

### Adding a new year section

Years are displayed with smart relative time (e.g., "this year", "last year", "2 years ago") when JavaScript is enabled, falling back to just the year number without JS.

```html
<section class="year-section" aria-labelledby="year-2026">
    <h2 id="year-2026" data-year="2026">
        <span class="year-default">2026</span>
        <span class="year-relative"></span>
        <span class="year-absolute"></span>
    </h2>
    <!-- Add projects here -->
</section>
```

## Customization

### Colors

Edit the CSS variables in the `:root` selector:

```css
:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --text-muted: #666666;
    --link: #0066cc;
    --link-hover: #0052a3;
    --border: #e0e0e0;
}
```

### Dark theme colors

```css
[data-theme="dark"] {
    --bg: #1a1a1a;
    --text: #e0e0e0;
    --text-muted: #999999;
    --link: #66b3ff;
    --link-hover: #99ccff;
    --border: #333333;
}
```

### Typography

The template uses system fonts for optimal performance. To change fonts, update the `font-family` in the body selector.

## Accessibility Features

- **Skip to main content** link for keyboard users
- **Proper heading hierarchy** (h1 → h2 → h3)
- **ARIA labels** on all interactive elements
- **Screen reader announcements** for theme changes
- **Focus indicators** meeting WCAG AAA standards
- **Semantic HTML** structure
- **Respects prefers-reduced-motion**
- **Minimum 44x44px touch targets**
- **Proper link underlines** for color-blind users

## Support The Project

You can support simplefolio by contributing through these links:

[![Buy Me A Coffee](https://cdn.cottle.cloud/tabcloser/buttons/button-bmac.svg)](https://buymeacoffee.com/seth)

[![PayPal](https://cdn.cottle.cloud/tabcloser/buttons/button-paypal.svg)](https://www.paypal.com/paypalme/sethcottle)

[![GitHub Sponsors](https://cdn.cottle.cloud/tabcloser/buttons/button-ghs.svg)](https://github.com/sponsors/sethcottle)

Signing up through these services through these affiliate links is also a good way to support simplefolio.

[![Try DigitalOcean](https://cdn.cottle.cloud/tabcloser/buttons/button-do.svg)](https://m.do.co/c/632b45e20266)

[![Try Fathom Analytics](https://cdn.cottle.cloud/tabcloser/buttons/button-fa.svg)](https://usefathom.com/ref/EQVZMV)


## Stay Connected

Join the [Seth's Nook Discord](https://discord.gg/PrAEQFF2fK) server to get updates on simplefolio and more. Use the invite code `PrAEQFF2fK` or click the button below.

[![Discord](https://cdn.cottle.cloud/tabcloser/buttons/button-discord.svg)](https://discord.gg/PrAEQFF2fK)


## License

MIT License - feel free to use this for any purpose.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。