allow data models without name

This commit is contained in:
Sina Atalay committed 2024-02-20 20:10:48 +01:00
1 parent c7fb8ff287
commit ddaad438af
5 files changed
+12 -7

No files matched your search

+3 -2
View File
@@ -2,7 +2,7 @@
((* if design.show_last_updated_date *))
\placelastupdatedtext
((* endif *))
((* if cv.name is not none *))
\begin{header}
\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}
((* if orcid_url *))
@@ -48,4 +48,5 @@
((* endif *))
\end{header}
\vspace{<<design.margins.header.bottom>>}
\vspace{<<design.margins.header.bottom>>}
((* endif *))
+3 -2
View File
@@ -35,9 +35,9 @@
\setcounter{secnumdepth}{0} % no section numbering
\setlength{\parindent}{0pt} % no indentation
\setlength{\topskip}{0pt} % no top skip
((* if disable_page_numbering *))
((* if design.disable_page_numbering *))
\pagenumbering{gobble} % no page numbering
((* endif *))
((* else *))
((* set page_numbering_style_placeholders = {
"NAME": cv.name,
"PAGE_NUMBER": "\\thepage{}",
@@ -50,6 +50,7 @@
}{}{} % replace number by desired string
\makeatother
\pagestyle{customFooterStyle}
((* endif *))
\titleformat{\section}{
% make the font size of the section title large and color it with the primary color
+3
View File
@@ -1,4 +1,7 @@
((* if cv.name is not none *))
\maketitle
((* endif *))
% save the original href command in a new command:
\let\hrefWithoutArrow\href
+2
View File
@@ -3,6 +3,7 @@
\placelastupdatedtext
((* endif *))
((* if cv.name is not none *))
{
\centering
\textbf{\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}\selectfont
@@ -54,6 +55,7 @@
}
\vspace{<<design.margins.header.bottom>>}
((* endif *))
% save the original href command in a new command:
\let\hrefWithoutArrow\href
+1 -3
View File
@@ -35,9 +35,7 @@
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
((* if disable_page_numbering *))
\pagenumbering{} % no page numbering
((* else *))
((* if not design.disable_page_numbering *))
((* set page_numbering_style_placeholders = {
"NAME": cv.name,
"PAGE_NUMBER": "\\thepage{}",