Understanding Templates
What does a template consist of, and how should it be interpreted?
CV Blinder uses the docxtemplater
library to generate DOCX files. You can find detailed documentation on it here.
To create your own template, you only need to understand the types of tags and which tags are used in the CV Blinder application.
We use three types of tags:
- Basic Tag: Used to display data, e.g.,
{email}
,{summary}
,{description}
. You can adjust the format by modifying the font, color, or position of the basic tag in the text, which affects how the element will appear. Font and color changes do not apply to other tag types. - Loop Tag: Used to display repeated items such as work experience or skills. For example, work experience entries are displayed between
{#professional_experiences}
and{/professional_experiences}
tags. - If Tag: A conditional tag for displaying content conditionally. For example, the Education section can be wrapped between
{#showEducation}
and{/showEducation}
tags. If the "show education" option is disabled in the app or if no education data is present in the profile, this content will not appear in the document. Conditional tags are ideal for selectively displaying section headers.
In addition to tags, you can freely place elements such as company logos, footers, or contact details within the template.
By default, CV Blinder is set up to create documents divided into specific sections:
- Hiring Details / Recommendation
- Contact Data
- Summary
- Skills
- Languages
- Experience
- Education
- Certificates
- Awards
The default section layout is not mandatory. You can freely rearrange sections in your template.
Skipping a section means that these data won’t appear in your template, even if available in the application.
Leaving out conditional tags such as showEducation
or showCertificates
will prevent your template from responding to changes in app settings.