mirror of https://github.com/eyhc1/rendercv.git
improve moderncv theme
This commit is contained in:
parent
d15afa567b
commit
60ef29e59c
|
@ -55,7 +55,7 @@
|
|||
\email{<<cv.email>>}
|
||||
((* endif *))
|
||||
((* if cv.website *))
|
||||
\homepage{<<cv.website>>}
|
||||
\homepage{<<cv.website|replace("https://", "")|reverse|replace("/", "", 1)|reverse>>}
|
||||
((* endif *))
|
||||
|
||||
((* set available_social_networks = ["LinkedIn", "GitHub", "Orcid" ]*))
|
||||
|
|
|
@ -29,18 +29,6 @@ class ModerncvThemeOptions(pydantic.BaseModel):
|
|||
description='The page size of the CV. The default value is "a4paper".',
|
||||
examples=["a4paper", "letterpaper"],
|
||||
)
|
||||
moderncv_style: (
|
||||
Literal["casual"]
|
||||
| Literal["classic"]
|
||||
| Literal["banking"]
|
||||
| Literal["oldstyle"]
|
||||
| Literal["fancy"]
|
||||
) = pydantic.Field(
|
||||
default="classic",
|
||||
title="ModernCV Style",
|
||||
description='The style of the moderncv theme. The default value is "classic".',
|
||||
examples=["casual", "classic", "banking", "oldstyle", "fancy"],
|
||||
)
|
||||
color: (
|
||||
Literal["blue"]
|
||||
| Literal["black"]
|
||||
|
|
Loading…
Reference in New Issue