diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index da2dc52..d5e0f44 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -9,4 +9,4 @@ subtitle: A conference about the Sculpin static site generator. # shortname: cfp: - open: true + close_date: 2025-01-01 diff --git a/source/index.html.twig b/source/index.html.twig index 146a628..63f44b9 100644 --- a/source/index.html.twig +++ b/source/index.html.twig @@ -4,7 +4,8 @@ title: Welcome to SculpinCon!

{{ page.title }}

-{% if site.cfp.open %} +{# Show the "submit to our CFP" text if the current date is before the closing date. #} +{% if 'today'|date('U') < site.cfp.close_date %}

Please submit to our call for papers!

{% else %}

Our call for papers is now closed.