DeveloperPaul123/modern-cv

Error when using `show-footer: false`

Closed this issue · 6 comments

Hello,
I'd like to hide the footer, and if I include the show-footer: false line from the template:

  date: datetime.today().display(),
  language: "en",
  colored-headers: true,
  show-footer: false,
)

I receive the following error:

error: unexpected argument: show-footer
   ┌─ .../resume.typ:20:2
   │
20 │   show-footer: false,
   │   ^^^^^^^^^^^^^^^^^^

removing the line compiles the resume as expected

This hasn't been put into a formal release yet. This will be available soon in 0.6.0

This hasn't been put into a formal release yet. This will be available soon in 0.6.0

My bad, I didn't catch that. I see you just released 0.6.0 and I'll try that out. Do I just change from #import "@preview/modern-cv:0.5.0": * to #import "@preview/modern-cv:0.6.0": * on my template?

I added the latest release locally and changed my resume.typ to #import "@local.... Thanks, closing issue!

@mgrimace No worries! Sorry for the delay, once this PR is merged, it will be available on typst universe as well typst/packages#934. I was going to mention the local option as a temporary workaround. Thanks!

Thanks again, and no need to apologize, this was me stumbling through how typst functions and some of the quirks. Thanks so much for all your work here!

For sure! Thanks for using the template 😁