You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h4align="center">A minimalist Hugo theme for your resume, refreshed for LLM crawlers.</h4>
@@ -7,11 +7,11 @@
7
7
8
8
## Live Demo
9
9
10
-
:point_right:[online-resume][Demo]:point_left:
10
+
:point_right:[bot-ready-resume][Demo]:point_left:
11
11
12
12
## Getting Started
13
13
14
-
Online-Resume is a Hugo theme designed for creating resumes. It enables you to write your resume in YAML file using Markdown and manage it through Git. It can be displayed on a web page and printed as a PDF file directly from the browser.
14
+
Bot Ready Resume is a Hugo theme designed for creating resumes. It enables you to write your resume in YAML file using Markdown and manage it through Git. It can be displayed on a web page and printed as a PDF file directly from the browser.
15
15
16
16
You can deploy it on various platforms that support Hugo or static files, such as GitHub Pages, Cloudflare Pages, Vercel, Netlify, your own hosting service, and others.
17
17
@@ -26,101 +26,89 @@ Features:
26
26
- LLM-friendly output formats (llms.txt, markdown alt content, steering prompts for llms).
27
27
- Modular & responsive content design.
28
28
29
-
### Usage
30
-
31
-
#### Quickly
32
-
33
-
- Create new hugo site and add the theme through git submodule.
- Edit `data/data.yml` file directly to update your resume.
41
-
- Run `hugo server` and open in browser to preview the resume.
42
-
43
-
#### Customization
44
-
45
-
-`data/data.yml`: Edit the resume content.
46
-
-`basic.initials`: Optional field to override auto-parsed initials used in favicons.
47
-
-`llmPrompt`: Optional section to provide additional instructions for LLM consumption via llms.txt.
48
-
-`contact`: For contact icons, use Font Awesome icon classes (e.g., `fa-brands fa-fw fa-github`). Search available icons at [Font Awesome](https://fontawesome.com/icons) using `fa-solid` for regular icons or `fa-brands` for brand logos. Additional custom icons are available in `static/assets/icons/css/all.css`.
49
-
-`static/images/profile.png`: Your profile photo.
50
-
-`static/images/favicon-32x32.png` and `static/favicon.ico`: Optional fallback favicons for older browsers (SVG favicons are auto-generated).
51
-
-`hugo.yml`: Website and theme style settings.
52
-
-`params.themeColor`: Theme color in OKLCH format (e.g., `"oklch(0.490 0.203 317.8)"`) or hex format (e.g., `"#1DA1F2"`). The remainder of colors are dynamically created in `colors.html`.
#### How to hide the specified section in the resume?
75
+
See the [exampleSite](exampleSite/) directory for a complete configuration reference.
102
76
103
-
If there is no content you want to keep in the section, you can remove it directly. If you want to keep the content, you can set the value of the `show` option of the section to `false`.
77
+
## FAQ
104
78
79
+
#### How do I change section order or visibility?
105
80
81
+
Each section in `data/data.yml` has an `order` field (lower numbers appear first) and a `show` field (`true`/`false`).
106
82
107
-
#### How to create a resume in other languages?
83
+
#### How do I enable LLM-friendly output?
108
84
109
-
For example, if you already have an English version resume and you want to create a Chinese version.
110
-
- Copy a `data.yml` file in the `data` folder named `cn.yml` and edit the content.
111
-
- Create `layouts/page` directories through `mkdir -p layouts/page`.
112
-
- Copy `index.html` file in the theme layouts directory to above directory `cp themes/online-resume/layouts/index.html layouts/page/cn.html`
113
-
- Change the `{{- partial "common.html" (dict "Site" .Site "data" .Site.Data.data) }}` in the `cn.html` to `{{- partial "common.html" (dict "Site" .Site "data" .Site.Data.cn) }}`.
114
-
- Create `content` directory in root directory and create a markdown file named `cn.md`, add front matter `layout: cn` in `cn.md`.
115
-
- Run `hugo server` and you can preview the Chinese version of your resume by visiting `https://YOUR_RESUME_URL/cn`.
85
+
The exampleSite includes LLM features by default. The theme generates:
86
+
-`/llms.txt` endpoint for structured LLM consumption
87
+
- Markdown alt content for accessibility
88
+
- Optional HTML comment guidance for LLMs
89
+
90
+
Enable/disable via `params.llms.txt` and `params.llmHeader` in `hugo.yml`.
91
+
92
+
#### How does dark mode work?
116
93
94
+
Dark mode automatically detects system preference, stores user preference in localStorage, and provides a manual toggle. It switches to light mode when printing and updates the favicon accordingly.
95
+
96
+
#### What are OKLCH colors?
97
+
98
+
OKLCH is a modern color space that provides better perceptual uniformity. Format: `"oklch(L C H)"` where L=Lightness (0-1), C=Chroma (0-0.4), H=Hue (0-360). Example: `"oklch(0.490 0.203 317.8)"` for purple. Hex colors also work.
99
+
100
+
#### How do I add a language version?
101
+
102
+
Create a new data file (e.g., `data/cn.yml`), create a layout file that references it, and add a content page with the corresponding layout. See the README for detailed steps or check the Hugo multilingual documentation.
103
+
104
+
#### How are favicons generated?
117
105
118
-
## Others
106
+
Favicons auto-generate from your name (e.g., "John Doe" → "JD"), using theme colors with light/dark variants. Override via `basic.initials` in `data.yml`. 1-3 characters works best.
119
107
120
-
- Original Hugo Version: [tarrex/hugo-theme-online-resume][Base Version]
0 commit comments