Closed calebdw closed 3 months ago
but I'd rather not have to add the date to every slide
You don't have to do it for every slide, you can set the footer once and it will show up in all slides automatically, see this example. I do see the point in this but I think rather than adding date support and having to deal with localization (e.g. I know slides
lets you configure the format for date times), I think I'd rather add template variables to the footer like year
, day
and month
and let people build the footer themselves. e.g. you can set footer.style = template
and footer.left = "{year}-{month}-{day}"
or however you want to do it.
Does this work for you? Note that you can define a custom theme that you set as default and has this option set in there so you get it for free in all your presentations.
You don't have to do it for every slide, you can set the footer once and it will show up in all slides automatically,
I know that, sorry I was not clear. I don't want the date to show up on every slide just the intro slide.
I do see the point in this but I think rather than adding date support and having to deal with localization (e.g. I know slides lets you configure the format for date times), I think I'd rather add template variables to the footer like year, day and month and let people build the footer themselves. e.g. you can set footer.style = template and footer.left = "{year}-{month}-{day}" or however you want to do it.
I think that's more complicated than it needs to be---it can just be a text field that shows exactly what the user specified. Most of the time in development this is going to be the future date of the presentation so this should not automatically update based on today's date.
Example:
---
title: My Presentation
author: Me
date: 2024-08-01
---
Hello!
Could you please add the date to the slide frontmatter that would be displayed on the intro slide? It's pretty standard to include the presentation date on the first slide. (Some other frontmatter options which might be useful are Event/Location information if the presentation is part of a large Conference/Summit/etc.).
I know this was asked for in #7 and that issue was closed because it's possible to add the date to the footer, but I'd rather not have to add the date to every slide.
As for the location, I'm not too picky as long as it looks nice---but here's an idea:
Thanks!