Configure CfP via shortcodes and partials
This commit is contained in:
parent
92ed5b2a83
commit
053bf5b0a0
9 changed files with 81 additions and 5 deletions
|
@ -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!
|
||||
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
15
layouts/partials/cfp.de.html
Normal file
15
layouts/partials/cfp.de.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ if .Site.Data.cosin.cfp_running }}
|
||||
<p>
|
||||
Das CfP für die diesjährige CoSin ist offen:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="{{ .Site.Data.cosin.registration_url }}">Beitrag zur CoSin {{ .Site.Data.cosin.date_year }} einreichen</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
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 }}.
|
||||
</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
Das CfP ist aktuell geschlossen.
|
||||
</p>
|
||||
{{ end }}
|
15
layouts/partials/cfp.en.html
Normal file
15
layouts/partials/cfp.en.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ if .Site.Data.cosin.cfp_running }}
|
||||
<p>
|
||||
The CfP for this year's CoSin is open:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="{{ .Site.Data.cosin.registration_url }}">Submit contribution to CoSin {{ .Site.Data.cosin.date_year }}</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
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 }}.
|
||||
</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
The CfP is currently closed.
|
||||
</p>
|
||||
{{ end }}
|
15
layouts/partials/cfp.fr.html
Normal file
15
layouts/partials/cfp.fr.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ if .Site.Data.cosin.cfp_running }}
|
||||
<p>
|
||||
Das CfP für die diesjährige CoSin ist offen:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="{{ .Site.Data.cosin.registration_url }}">Beitrag zur CoSin {{ .Site.Data.cosin.date_year }} einreichen</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
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 }}.
|
||||
</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
Das CfP ist aktuell geschlossen.
|
||||
</p>
|
||||
{{ end }}
|
15
layouts/partials/cfp.it.html
Normal file
15
layouts/partials/cfp.it.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ if .Site.Data.cosin.cfp_running }}
|
||||
<p>
|
||||
Das CfP für die diesjährige CoSin ist offen:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="{{ .Site.Data.cosin.registration_url }}">Beitrag zur CoSin {{ .Site.Data.cosin.date_year }} einreichen</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
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 }}.
|
||||
</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
Das CfP ist aktuell geschlossen.
|
||||
</p>
|
||||
{{ end }}
|
9
layouts/shortcodes/cfp.html
Normal file
9
layouts/shortcodes/cfp.html
Normal file
|
@ -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 }}
|
Loading…
Reference in a new issue