feat: Improve plain text CV formatting
- Center name and title in header - Add decorative box border around title - Add dash prefix to all contact items - Add spacing between all sections for readability - Fix title centering for emoji width in terminals
This commit is contained in:
+51
-36
@@ -1,33 +1,42 @@
|
||||
================================================================================
|
||||
{{if .Icons}} 📄 CURRICULUM VITAE
|
||||
{{else}} CURRICULUM VITAE
|
||||
{{if .Icons}} 📄 CURRICULUM VITAE
|
||||
{{else}} CURRICULUM VITAE
|
||||
{{end}}================================================================================
|
||||
|
||||
{{if .Icons}}👤 {{end}}{{.CV.Personal.Name}}
|
||||
{{.CV.Personal.Title}}
|
||||
{{if .Icons}} 👤 {{.CV.Personal.Name}}
|
||||
{{else}} {{.CV.Personal.Name}}
|
||||
{{end}}
|
||||
┌─────────────────────────────────────────────┐
|
||||
│ {{.CV.Personal.Title}} │
|
||||
└─────────────────────────────────────────────┘
|
||||
|
||||
{{if .Icons}}📍{{else}}Location:{{end}} {{.CV.Personal.Location}}
|
||||
{{if .Icons}}📧{{else}}Email: {{end}} {{.CV.Personal.Email}}
|
||||
{{if .Icons}}📱{{else}}Phone: {{end}} {{.CV.Personal.Phone}}
|
||||
{{if .Icons}}💼{{else}}LinkedIn:{{end}} {{.CV.Personal.LinkedIn}}
|
||||
{{if .Icons}}💻{{else}}GitHub: {{end}} {{.CV.Personal.GitHub}}
|
||||
{{if .Icons}}🌐{{else}}Website: {{end}} {{.CV.Personal.Website}}
|
||||
- {{if .Icons}}📍{{else}}Location:{{end}} {{.CV.Personal.Location}}
|
||||
|
||||
- {{if .Icons}}📧{{else}}Email: {{end}} {{.CV.Personal.Email}}
|
||||
|
||||
- {{if .Icons}}📱{{else}}Phone: {{end}} {{.CV.Personal.Phone}}
|
||||
|
||||
- {{if .Icons}}💼{{else}}LinkedIn:{{end}} {{.CV.Personal.LinkedIn}}
|
||||
|
||||
- {{if .Icons}}💻{{else}}GitHub: {{end}} {{.CV.Personal.GitHub}}
|
||||
|
||||
- {{if .Icons}}🌐{{else}}Website: {{end}} {{.CV.Personal.Website}}
|
||||
|
||||
================================================================================
|
||||
{{if .Icons}} 📝 SUMMARY
|
||||
{{else}} SUMMARY
|
||||
{{if .Icons}} 📝 SUMMARY
|
||||
{{else}} SUMMARY
|
||||
{{end}}================================================================================
|
||||
|
||||
{{.CV.Summary}}
|
||||
|
||||
================================================================================
|
||||
{{if .Icons}} 💼 EXPERIENCE
|
||||
{{else}} EXPERIENCE
|
||||
{{if .Icons}} 💼 EXPERIENCE
|
||||
{{else}} EXPERIENCE
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Experience}}
|
||||
--------------------------------------------------------------------------------
|
||||
{{if $.Icons}}🏢 {{end}}{{.Position}}
|
||||
{{.Company}} | {{.Location}}
|
||||
{{if $.Icons}}💼 {{end}}{{.Position}}
|
||||
{{if $.Icons}}🏢 {{end}}{{.Company}} | {{.Location}}
|
||||
{{if $.Icons}}📅 {{end}}{{.StartDate}} - {{if .Current}}Present{{else}}{{.EndDate}}{{end}}{{if .Duration}} ({{.Duration}}){{end}}
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@@ -40,17 +49,18 @@
|
||||
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 🎓 EDUCATION
|
||||
{{else}} EDUCATION
|
||||
{{if .Icons}} 🎓 EDUCATION
|
||||
{{else}} EDUCATION
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Education}}
|
||||
{{if $.Icons}}📜 {{end}}{{.Degree}}{{if .Field}} - {{.Field}}{{end}}
|
||||
{{.Institution}} - {{.Location}}
|
||||
{{.StartDate}} - {{.EndDate}}
|
||||
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 🛠️ TECHNICAL SKILLS
|
||||
{{else}} TECHNICAL SKILLS
|
||||
{{if .Icons}} 🛠️ TECHNICAL SKILLS
|
||||
{{else}} TECHNICAL SKILLS
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Skills.Technical}}
|
||||
{{if $.Icons}}## 📦 {{.Category}}{{else}}## {{.Category}}{{end}}
|
||||
@@ -58,16 +68,16 @@
|
||||
{{end}}
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 🏆 AWARDS
|
||||
{{else}} AWARDS
|
||||
{{if .Icons}} 🏆 AWARDS
|
||||
{{else}} AWARDS
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Awards}}
|
||||
{{if $.Icons}}🥇 {{end}}{{.Title}} - {{.Issuer}} ({{.Date}})
|
||||
{{.Description}}
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 📁 PROJECTS
|
||||
{{else}} PROJECTS
|
||||
{{if .Icons}} 📁 PROJECTS
|
||||
{{else}} PROJECTS
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Projects}}
|
||||
--------------------------------------------------------------------------------
|
||||
@@ -81,8 +91,8 @@
|
||||
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 📚 COURSES
|
||||
{{else}} COURSES
|
||||
{{if .Icons}} 📚 COURSES
|
||||
{{else}} COURSES
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Courses}}
|
||||
{{if $.Icons}}📖 {{end}}{{.Title}} - {{.Institution}} ({{.Date}})
|
||||
@@ -92,23 +102,28 @@
|
||||
{{end}}
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 🌍 LANGUAGES
|
||||
{{else}} LANGUAGES
|
||||
{{if .Icons}} 🌍 LANGUAGES
|
||||
{{else}} LANGUAGES
|
||||
{{end}}================================================================================
|
||||
{{range .CV.Languages}}
|
||||
- {{if $.Icons}}🗣️ {{end}}{{.Language}}: {{.Proficiency}}{{if .Detail}} - {{.Detail}}{{end}}
|
||||
{{end}}
|
||||
================================================================================
|
||||
{{if .Icons}} 📬 CONTACT
|
||||
{{else}} CONTACT
|
||||
{{if .Icons}} 📬 CONTACT
|
||||
{{else}} CONTACT
|
||||
{{end}}================================================================================
|
||||
|
||||
{{if .Icons}}👤{{else}}Name: {{end}} {{.CV.Personal.Name}}
|
||||
{{if .Icons}}📧{{else}}Email: {{end}} {{.CV.Personal.Email}}
|
||||
{{if .Icons}}📱{{else}}Phone: {{end}} {{.CV.Personal.Phone}}
|
||||
{{if .Icons}}💼{{else}}LinkedIn:{{end}} {{.CV.Personal.LinkedIn}}
|
||||
{{if .Icons}}💻{{else}}GitHub: {{end}} {{.CV.Personal.GitHub}}
|
||||
{{if .Icons}}🌐{{else}}Website: {{end}} {{.CV.Personal.Website}}
|
||||
- {{if .Icons}}👤{{else}}Name: {{end}} {{.CV.Personal.Name}}
|
||||
|
||||
- {{if .Icons}}📧{{else}}Email: {{end}} {{.CV.Personal.Email}}
|
||||
|
||||
- {{if .Icons}}📱{{else}}Phone: {{end}} {{.CV.Personal.Phone}}
|
||||
|
||||
- {{if .Icons}}💼{{else}}LinkedIn:{{end}} {{.CV.Personal.LinkedIn}}
|
||||
|
||||
- {{if .Icons}}💻{{else}}GitHub: {{end}} {{.CV.Personal.GitHub}}
|
||||
|
||||
- {{if .Icons}}🌐{{else}}Website: {{end}} {{.CV.Personal.Website}}
|
||||
|
||||
================================================================================
|
||||
Generated from: {{.BaseURL}} | Last Updated: {{.CV.Meta.LastUpdated}}
|
||||
|
||||
Reference in New Issue
Block a user