diff --git a/content/cfp.de.md b/content/cfp.de.md index cbcba79..5436418 100644 --- a/content/cfp.de.md +++ b/content/cfp.de.md @@ -30,7 +30,9 @@ Oder komm einfach nur als Besucher und schau, was die anderen so machen, diskuti ## Wo konkret kann ich meinen Beitrag einreichen? -Zur Organisation von Beiträgen verwenden wir das Pretalx. Deinen Beitrag kannst Du über unser Pretalx einreichen. Weitere Details erscheinen links in der Sidebar sobald das CfP offen ist. +Zur Organisation von Beiträgen verwenden wir das Pretalx. + +{{< cfp >}} ## Wuah: Ich habe noch Fragen! diff --git a/content/cfp.en.md b/content/cfp.en.md index 26e4184..bca72c2 100644 --- a/content/cfp.en.md +++ b/content/cfp.en.md @@ -28,8 +28,9 @@ Or just attend as a visitor, look around what others do, get involved in discuss ## Where exactly can I submit my contribution? -For organizing contributions we use Pretalx. You can submit your entry at our Pretalx -Further details can be found in the sidebar on the left as soon as the CfP is running. +For organizing contributions we use Pretalx. You can submit your entry at our Pretalx. + +{{< cfp >}} ## Whoa! I still have questions! diff --git a/content/cfp.fr.md b/content/cfp.fr.md index 1cb1988..166cff9 100644 --- a/content/cfp.fr.md +++ b/content/cfp.fr.md @@ -28,7 +28,9 @@ Bien évidemment, tu es aussi le bienvenue en tant que simple visiteur pour obse ## Où puis-je concrètement soumettre ma contribution? -Pour l’organisation du congrès, nous employons le Pretalx. Deinen Beitrag kannst Du über unser Pretalx einreichen. Weitere Details erscheinen links in der Sidebar sobald das CfP offen ist. +Pour l’organisation du congrès, nous employons le Pretalx. + +{{< cfp >}} ## Wouah: J’ai encore des questions! diff --git a/content/cfp.it.md b/content/cfp.it.md index 176ad79..3c138ca 100644 --- a/content/cfp.it.md +++ b/content/cfp.it.md @@ -28,7 +28,9 @@ O raggiungici semplicemente come visitatore e guarda, cosa fanno gli altri, parl ## Dove esattamente posso registrare il mio contributo? -Per l'organizzazione usiamo Pretalx. Deinen Beitrag kannst Du über unser Pretalx einreichen. Weitere Details erscheinen links in der Sidebar sobald das CfP offen ist. +Per l'organizzazione usiamo Pretalx. + +{{< cfp >}} ## Eh ma... non avete risposto alla mia domanda! diff --git a/layouts/partials/cfp.de.html b/layouts/partials/cfp.de.html new file mode 100644 index 0000000..920afa3 --- /dev/null +++ b/layouts/partials/cfp.de.html @@ -0,0 +1,15 @@ +{{ if .Site.Data.cosin.cfp_running }} +

+ Das CfP für die diesjährige CoSin ist offen: +

+ +

+ Einreicheschluss ist am {{ i18n .Site.Data.cosin.cfp_end_date_weekday }}, {{ .Site.Data.cosin.cfp_end_date_day }}. {{ i18n .Site.Data.cosin.cfp_end_date_month }} {{ .Site.Data.cosin.date_year }}. +

+{{ else }} +

+ Das CfP ist aktuell geschlossen. +

+{{ end }} diff --git a/layouts/partials/cfp.en.html b/layouts/partials/cfp.en.html new file mode 100644 index 0000000..656ecd8 --- /dev/null +++ b/layouts/partials/cfp.en.html @@ -0,0 +1,15 @@ +{{ if .Site.Data.cosin.cfp_running }} +

+ The CfP for this year's CoSin is open: +

+ +

+ The deadline is {{ i18n .Site.Data.cosin.cfp_end_date_weekday }}, {{ humanize .Site.Data.cosin.cfp_end_date_day }} {{ i18n .Site.Data.cosin.cfp_end_date_month }} {{ .Site.Data.cosin.date_year }}. +

+{{ else }} +

+ The CfP is currently closed. +

+{{ end }} diff --git a/layouts/partials/cfp.fr.html b/layouts/partials/cfp.fr.html new file mode 100644 index 0000000..920afa3 --- /dev/null +++ b/layouts/partials/cfp.fr.html @@ -0,0 +1,15 @@ +{{ if .Site.Data.cosin.cfp_running }} +

+ Das CfP für die diesjährige CoSin ist offen: +

+ +

+ Einreicheschluss ist am {{ i18n .Site.Data.cosin.cfp_end_date_weekday }}, {{ .Site.Data.cosin.cfp_end_date_day }}. {{ i18n .Site.Data.cosin.cfp_end_date_month }} {{ .Site.Data.cosin.date_year }}. +

+{{ else }} +

+ Das CfP ist aktuell geschlossen. +

+{{ end }} diff --git a/layouts/partials/cfp.it.html b/layouts/partials/cfp.it.html new file mode 100644 index 0000000..920afa3 --- /dev/null +++ b/layouts/partials/cfp.it.html @@ -0,0 +1,15 @@ +{{ if .Site.Data.cosin.cfp_running }} +

+ Das CfP für die diesjährige CoSin ist offen: +

+ +

+ Einreicheschluss ist am {{ i18n .Site.Data.cosin.cfp_end_date_weekday }}, {{ .Site.Data.cosin.cfp_end_date_day }}. {{ i18n .Site.Data.cosin.cfp_end_date_month }} {{ .Site.Data.cosin.date_year }}. +

+{{ else }} +

+ Das CfP ist aktuell geschlossen. +

+{{ end }} diff --git a/layouts/shortcodes/cfp.html b/layouts/shortcodes/cfp.html new file mode 100644 index 0000000..1910ce6 --- /dev/null +++ b/layouts/shortcodes/cfp.html @@ -0,0 +1,9 @@ +{{ if eq .Site.Language.Lang "de" }} + {{ partial "cfp.de.html" . }} +{{ else if eq .Site.Language.Lang "fr" }} + {{ partial "cfp.fr.html" . }} +{{ else if eq .Site.Language.Lang "it" }} + {{ partial "cfp.it.html" . }} +{{ else if eq .Site.Language.Lang "en" }} + {{ partial "cfp.en.html" . }} +{{ end }}