Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: metropolis slide's header to return content if title is specified #126

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

enklht
Copy link
Contributor

@enklht enklht commented Dec 1, 2024

I discovered a bug in the metropolis theme where the header was returning the function itself instead of calling it. This causes an error when trying to specify the slide title.

minimal working example

#import "@preview/touying:0.5.3": *
#import themes.metropolis: *

#show: metropolis-theme

#slide(title: "section with a title")[
  error!
]

@OrangeX4
Copy link
Member

OrangeX4 commented Dec 1, 2024

It's a bug indeed, thanks

@OrangeX4 OrangeX4 merged commit d779439 into touying-typ:main Dec 1, 2024
@enklht enklht deleted the fix-metropolis-header branch December 1, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants