Skip to content

Commit 6a63a64

Browse files
committed
fix: bug fix by copilot
1 parent 2a65e87 commit 6a63a64

File tree

3 files changed

+18
-30
lines changed

3 files changed

+18
-30
lines changed

CHANGELOG.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626

2727
### Security
2828

29-
## [0.1.0] - 2025-01-01
29+
## [0.1.0] - 2025-12-24
3030

3131
### Added
3232

33-
<!-- Describe the feature set of the initial release here -->
34-
-
35-
-
36-
-
33+
- Initial resume template based on the [JSON Resume](https://jsonresume.org/) schema
34+
- Support for resume sections: work, education, projects, publications, certifications, awards, volunteer, skills, interests, languages, references
35+
- [Nerd Fonts](https://www.nerdfonts.com/) icon support for contact information (email, phone, URL, location)
36+
- Multi-language (i18n) support with built-in translations for: `en-US`, `zh-CN`, `zh-HK`, `zh-TW`, `ja-JP`, `es-ES`, `fr-FR`, `de-DE`, `ru-RU`, `ko-KR`
37+
- Template package with a ready-to-use `main.typ` example
38+
39+
### Changed
40+
41+
- Locale file naming convention updated to `{locale}.jsume.json` (e.g., `en-US.jsume.json`, `zh-CN.jsume.json`)
42+
- Enabled Typst template section in package configuration
3743

3844
<!--
3945
Below are the target URLs for each version
@@ -42,5 +48,5 @@ to the corresponding tag on GitHub, or the diff
4248
in comparison to the previous release
4349
-->
4450

45-
[Unreleased]: https://github.com/<author>/<my-package>/compare/v0.1.0...HEAD
46-
[0.1.0]: https://github.com/<author>/<my-package>/releases/tag/v0.1.0
51+
[Unreleased]: https://github.com/jsume/jsume-typst/compare/v0.1.0...HEAD
52+
[0.1.0]: https://github.com/jsume/jsume-typst/releases/tag/v0.1.0

src/components/sections.typ

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,31 +42,13 @@
4242
align(position)[
4343
#{
4444
let gap = 0.2em
45-
let items = (
46-
[
47-
#nf-icon("map")
48-
#h(0.4em)
49-
#contact_item(location)
50-
],
51-
[
52-
#nf-icon("phone")
53-
#h(0.4em)
54-
#contact_item(phone, link-type: "tel:"),
55-
],
56-
[
57-
#nf-icon("email")
58-
#h(0.4em)
59-
#contact_item(email, link-type: "mailto:")
60-
],
61-
[
62-
#nf-icon("web")
63-
#h(0.4em)
64-
#contact_item(url, link-type: "https://")
65-
],
66-
)
45+
let items = ()
46+
if location != "" { items.push([#nf-icon("map") #h(0.4em) #contact_item(location)]) }
47+
if phone != "" { items.push([#nf-icon("phone") #h(0.4em) #contact_item(phone, link-type: "tel:")]) }
48+
if email != "" { items.push([#nf-icon("email") #h(0.4em) #contact_item(email, link-type: "mailto:")]) }
49+
if url != "" { items.push([#nf-icon("web") #h(0.4em) #underline(offset: 0.3em)[#link(url)[#url]]]) }
6750

6851
items
69-
.filter(x => x != none)
7052
.join([
7153
#show "|": sep => {
7254
h(gap)

tests/test1/ref/1.png

-109 Bytes
Loading

0 commit comments

Comments
 (0)