improve moderncv theme

This commit is contained in:
Sina Atalay 2024-02-15 18:11:06 +01:00
parent d15afa567b
commit 60ef29e59c
2 changed files with 1 additions and 13 deletions

View File

@ -55,7 +55,7 @@
\email{<<cv.email>>} \email{<<cv.email>>}
((* endif *)) ((* endif *))
((* if cv.website *)) ((* if cv.website *))
\homepage{<<cv.website>>} \homepage{<<cv.website|replace("https://", "")|reverse|replace("/", "", 1)|reverse>>}
((* endif *)) ((* endif *))
((* set available_social_networks = ["LinkedIn", "GitHub", "Orcid" ]*)) ((* set available_social_networks = ["LinkedIn", "GitHub", "Orcid" ]*))

View File

@ -29,18 +29,6 @@ class ModerncvThemeOptions(pydantic.BaseModel):
description='The page size of the CV. The default value is "a4paper".', description='The page size of the CV. The default value is "a4paper".',
examples=["a4paper", "letterpaper"], 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: ( color: (
Literal["blue"] Literal["blue"]
| Literal["black"] | Literal["black"]