From 243402e4dbf274fe17c14acc1f8b7bcd63a3626e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 7 Dec 2024 17:42:19 +0000 Subject: [PATCH] Make CFP text configurable --- app/config/sculpin_site.yml | 5 ++++- source/index.html.twig | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 5284273..da2dc52 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -6,4 +6,7 @@ subtitle: A conference about the Sculpin static site generator. # Insert your disqus shortname #disqus: -# shortname: \ No newline at end of file +# shortname: + +cfp: + open: true diff --git a/source/index.html.twig b/source/index.html.twig index 5bb8adf..146a628 100644 --- a/source/index.html.twig +++ b/source/index.html.twig @@ -3,3 +3,9 @@ title: Welcome to SculpinCon! ---

{{ page.title }}

+ +{% if site.cfp.open %} +

Please submit to our call for papers!

+{% else %} +

Our call for papers is now closed.

+{% endif %}