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

Allow explicitly disabling footer in certain slides #239

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

mfontanini
Copy link
Owner

This allows:

  • Skipping the footer in the intro slide by setting the theme's intro_slide.footer property to false.
  • Skipping the footer in any slide by using a command <!-- no_footer -->.

Fixes #238


/// Whether we want a footer in the intro slide.
#[serde(default)]
pub(crate) footer: Option<bool>,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to suggest renaming this to footer_on_intro or something like that, to make it more obvious that we are not skipping the footer always, just on the intro slide, but I've seen that this will be parsed from a YAML section that is already called intro_slide so it's clear that the setting only applies to that slide. No comments then! xD

@mfontanini mfontanini merged commit 093673f into master Apr 23, 2024
6 checks passed
@mfontanini mfontanini deleted the disable-footer branch April 23, 2024 13:57
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.

[Feature request] Skipping footer on certain slides
2 participants