mirror of https://github.com/eyhc1/rendercv.git
docs: rename show_updated_date to disable_last_updated_date
This commit is contained in:
parent
8eeb3f3b55
commit
fd41fae51c
|
@ -186,12 +186,12 @@ def generate_entry_figures():
|
||||||
design_dictionary = {
|
design_dictionary = {
|
||||||
"theme": theme,
|
"theme": theme,
|
||||||
"disable_page_numbering": True,
|
"disable_page_numbering": True,
|
||||||
"show_last_updated_date": False,
|
"disable_last_updated_date": True,
|
||||||
}
|
}
|
||||||
if theme == "moderncv":
|
if theme == "moderncv":
|
||||||
# moderncv theme does not support these options:
|
# moderncv theme does not support these options:
|
||||||
del design_dictionary["disable_page_numbering"]
|
del design_dictionary["disable_page_numbering"]
|
||||||
del design_dictionary["show_last_updated_date"]
|
del design_dictionary["disable_last_updated_date"]
|
||||||
|
|
||||||
# Create the data model with only one section and one entry
|
# Create the data model with only one section and one entry
|
||||||
data_model = dm.RenderCVDataModel(
|
data_model = dm.RenderCVDataModel(
|
||||||
|
|
|
@ -182,7 +182,7 @@ design:
|
||||||
header_font_size: 30 pt
|
header_font_size: 30 pt
|
||||||
page_numbering_style: NAME - Page PAGE_NUMBER of TOTAL_PAGES
|
page_numbering_style: NAME - Page PAGE_NUMBER of TOTAL_PAGES
|
||||||
page_size: a4paper
|
page_size: a4paper
|
||||||
show_last_updated_date: true
|
disable_last_updated_date: false
|
||||||
text_alignment: justified
|
text_alignment: justified
|
||||||
margins:
|
margins:
|
||||||
page:
|
page:
|
||||||
|
|
Loading…
Reference in New Issue