From 6d76ab8a8aaeabf6b8fb1771f47f1bfd9e2d73e4 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 10 Feb 2024 22:57:29 +0100 Subject: [PATCH] update templating design --- .../{SectionTitle.j2.tex => SectionBeginning.j2.tex} | 0 rendercv/themes/classic/SectionEnding.j2.tex | 0 rendercv/themes/main.j2.tex | 6 ++++-- .../{SectionTitle.j2.tex => SectionBeginning.j2.tex} | 0 rendercv/themes/moderncv/SectionEnding.j2.tex | 0 5 files changed, 4 insertions(+), 2 deletions(-) rename rendercv/themes/classic/{SectionTitle.j2.tex => SectionBeginning.j2.tex} (100%) create mode 100644 rendercv/themes/classic/SectionEnding.j2.tex rename rendercv/themes/moderncv/{SectionTitle.j2.tex => SectionBeginning.j2.tex} (100%) create mode 100644 rendercv/themes/moderncv/SectionEnding.j2.tex diff --git a/rendercv/themes/classic/SectionTitle.j2.tex b/rendercv/themes/classic/SectionBeginning.j2.tex similarity index 100% rename from rendercv/themes/classic/SectionTitle.j2.tex rename to rendercv/themes/classic/SectionBeginning.j2.tex diff --git a/rendercv/themes/classic/SectionEnding.j2.tex b/rendercv/themes/classic/SectionEnding.j2.tex new file mode 100644 index 0000000..e69de29 diff --git a/rendercv/themes/main.j2.tex b/rendercv/themes/main.j2.tex index 1973408..178edfb 100644 --- a/rendercv/themes/main.j2.tex +++ b/rendercv/themes/main.j2.tex @@ -3,13 +3,15 @@ \begin{document} <> -((* for section_title, entries in sections*)) - <> +((* for section_beginning, entries, section_ending in sections*)) + <> ((* for entry in entries *)) <> ((* endfor *)) + + <> ((* endfor *)) \end{document} \ No newline at end of file diff --git a/rendercv/themes/moderncv/SectionTitle.j2.tex b/rendercv/themes/moderncv/SectionBeginning.j2.tex similarity index 100% rename from rendercv/themes/moderncv/SectionTitle.j2.tex rename to rendercv/themes/moderncv/SectionBeginning.j2.tex diff --git a/rendercv/themes/moderncv/SectionEnding.j2.tex b/rendercv/themes/moderncv/SectionEnding.j2.tex new file mode 100644 index 0000000..e69de29