mirror of https://github.com/eyhc1/rendercv.git
enhance classic theme
This commit is contained in:
parent
945a33a176
commit
9cfe6ed159
|
@ -16,19 +16,19 @@
|
|||
\normalsize
|
||||
((* if cv.phone *))
|
||||
\mbox{\hrefWithoutArrow{<<cv.phone|replace("-","")>>}{{\footnotesize\faPhone*}\hspace{0.13cm}<<cv.phone|replace("tel:", "")|replace("-"," ")>>}}
|
||||
\hspace{0.5cm}
|
||||
\hspace{<<design.space_between_connection_objects>>}
|
||||
((* endif *))
|
||||
((* if cv.email *))
|
||||
\mbox{\hrefWithoutArrow{mailto:<<cv.email>>}{{\small\faEnvelope[regular]}\hspace{0.13cm}<<cv.email>>}}
|
||||
\hspace{0.5cm}
|
||||
\hspace{<<design.space_between_connection_objects>>}
|
||||
((* endif *))
|
||||
((* if cv.location *))
|
||||
\mbox{{\small\faMapMarker*}\hspace{0.13cm}<<cv.location>>}
|
||||
\hspace{0.5cm}
|
||||
\hspace{<<design.space_between_connection_objects>>}
|
||||
((* endif *))
|
||||
((* if cv.website *))
|
||||
\mbox{\hrefWithoutArrow{<<cv.website>>}{{\small\faLink}\hspace{0.13cm}<<cv.website|replace("https://","")|reverse|replace("/", "", 1)|reverse>>}}
|
||||
\hspace{0.5cm}
|
||||
\hspace{<<design.space_between_connection_objects>>}
|
||||
((* endif *))
|
||||
((*
|
||||
set icon_dictionary = {
|
||||
|
@ -41,8 +41,8 @@
|
|||
((* if cv.social_networks *))
|
||||
((* for network in cv.social_networks *))
|
||||
((* if network.network in icon_dictionary *))
|
||||
\mbox{\hrefWithoutArrow{network.url}{{\small<<icon_dictionary[network.network]>>}\hspace{0.13cm}<<network.username>>}}
|
||||
\hspace{0.5cm}
|
||||
\mbox{\hrefWithoutArrow{<<network.url>>}{{\small<<icon_dictionary[network.network]>>}\hspace{0.13cm}<<network.username>>}}
|
||||
\hspace{<<design.space_between_connection_objects>>}
|
||||
((* endif *))
|
||||
((* endfor *))
|
||||
((* endif *))
|
||||
|
|
|
@ -122,3 +122,6 @@
|
|||
\let\originalEndTabularx\endtabularx
|
||||
|
||||
\renewenvironment{tabularx}{\bgroup\centering\originalTabularx}{\originalEndTabularx\par\egroup}
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable
|
||||
\pdfgentounicode=1
|
|
@ -166,6 +166,13 @@ class ClassicThemeOptions(pydantic.BaseModel):
|
|||
title="Date and Location Column Width",
|
||||
description="The width of the date and location column.",
|
||||
)
|
||||
space_between_connection_objects: LaTeXDimension = pydantic.Field(
|
||||
default="0.5 cm",
|
||||
title="Space Between Connection Objects",
|
||||
description=(
|
||||
"The space between the connection objects (like phone, email, and website)."
|
||||
),
|
||||
)
|
||||
text_alignment: Literal["left-aligned", "justified"] = pydantic.Field(
|
||||
default="left-aligned",
|
||||
title="Text Alignment",
|
||||
|
|
Loading…
Reference in New Issue