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
- 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`.
There is an `order` option in each section, you can adjust the order by modifying this, the smaller the value the more forward the position.
75
+
See the [exampleSite](exampleSite/) directory for a complete configuration reference.
100
76
101
-
#### How to hide the specified section in the resume?
77
+
##FAQ
102
78
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`.
79
+
#### How do I change section order or visibility?
104
80
81
+
Each section in `data/data.yml` has an `order` field (lower numbers appear first) and a `show` field (`true`/`false`).
105
82
83
+
#### How do I enable LLM-friendly output?
106
84
107
-
#### How to create a resume in other languages?
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
108
89
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`.
90
+
Enable/disable via `params.llms.txt` and `params.llmHeader` in `hugo.yml`.
116
91
92
+
#### How does dark mode work?
117
93
118
-
## Others
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.
119
95
120
-
- Original Hugo Version: [tarrex/hugo-theme-online-resume][Base Version]
96
+
#### What are OKLCH colors?
121
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.
122
99
123
-
[Demo]: https://nick.bov.ee/bot-ready-resume
100
+
#### How do I add a language version?
124
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.
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.
107
+
108
+
109
+
## Other
110
+
111
+
- This repository was originally forked from: [tarrex/hugo-theme-online-resume](https://github.com/tarrex/hugo-theme-online-resume)
0 commit comments