mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
improve template components
This commit is contained in:
@@ -26,7 +26,7 @@ if __name__ == "__main__":
|
||||
|
||||
template = environment.get_template(f"{templateName}.tex.j2")
|
||||
|
||||
input_file_path = os.path.join(workspace, "tests", "inputs", "test.json")
|
||||
input_file_path = os.path.join(workspace, "tests", "inputs", "personal.json")
|
||||
with open(input_file_path) as file:
|
||||
raw_json = json.load(file)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
((# second column: X; variable width, ragged left column #))
|
||||
((# third column: R{<<design.date_and_location_width>>}; constant widthm ragged right column #))
|
||||
\begin{tabularx}{\textwidth}{p{0.55cm} X R{<<design.date_and_location_width>>}}
|
||||
\textbf{<<study_type>>}
|
||||
\textbf{<<study_type if study_type is not none>>}
|
||||
&
|
||||
\textbf{<<institution>>}, <<area>>
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
\normalsize
|
||||
((* for connection in connections *))
|
||||
<<print_connections[connection.name](connection.value)>>
|
||||
((* if not loop.last *))
|
||||
\hspace{0.5cm}
|
||||
((* endif *))
|
||||
((* endfor *))
|
||||
|
||||
\end{header}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
((* macro LinkedIn(username) *))\href{https://www.linkedin.com/in/<<username>>}{\faLinkedin\hspace{0.13cm}<<username>>}((* endmacro *))
|
||||
((* macro GitHub(username) *))\href{https://www.github.com/<<username>>}{\faGithub\hspace{0.13cm}<<username>>}((* endmacro *))
|
||||
((* macro Instagram(username) *))\href{https://www.instagram.com/<<username>>}{\faInstagram\hspace{0.13cm}<<username>>}((* endmacro *))
|
||||
((* macro phone(number) *))\faPhone\hspace{0.13cm}#2 \hspace{0.5cm}((* endmacro *))
|
||||
((* macro email(email) *))\href{mailto:<<email>>}{\faEnvelopeO\hspace{0.13cm}<<email>>} \hspace{0.5cm}((* endmacro *))
|
||||
((* macro website(url) *))\href{<<url>>}{\faLaptop\hspace{0.13cm}url} \hspace{0.5cm}((* endmacro *))
|
||||
((* macro phone(number) *))\faPhone\hspace{0.13cm}<<number|replace("tel:", "")|replace("-"," ")>>((* endmacro *))
|
||||
((* macro email(email) *))\href{mailto:<<email>>}{\faEnvelope[regular]\hspace{0.13cm}<<email>>}((* endmacro *))
|
||||
((* macro website(url) *))\href{<<url>>}{\faLaptop\hspace{0.13cm}url}((* endmacro *))
|
||||
|
||||
|
||||
@@ -23,13 +23,11 @@
|
||||
"social_networks": [
|
||||
{
|
||||
"network": "LinkedIn",
|
||||
"username": "sinaatalay",
|
||||
"url": "https://www.linkedin.com/in/sinaatalay"
|
||||
"username": "sinaatalay"
|
||||
},
|
||||
{
|
||||
"network": "GitHub",
|
||||
"username": "sinaatalay",
|
||||
"url": "https://github.com/sinaatalay"
|
||||
"username": "sinaatalay"
|
||||
}
|
||||
],
|
||||
"education": [
|
||||
|
||||
Reference in New Issue
Block a user