mirror of https://github.com/eyhc1/rendercv.git
renderer: refactor
This commit is contained in:
parent
16361aa424
commit
e8d3cccfe9
|
@ -137,10 +137,8 @@ class LaTeXFile(TemplatedFile):
|
||||||
)
|
)
|
||||||
entries: list[str] = []
|
entries: list[str] = []
|
||||||
for i, entry in enumerate(section.entries):
|
for i, entry in enumerate(section.entries):
|
||||||
if i == 0:
|
is_first_entry = i == 0
|
||||||
is_first_entry = True
|
|
||||||
else:
|
|
||||||
is_first_entry = False
|
|
||||||
entries.append(
|
entries.append(
|
||||||
self.template(
|
self.template(
|
||||||
section.entry_type,
|
section.entry_type,
|
||||||
|
|
Loading…
Reference in New Issue