Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make community more markdown-based #908

Merged
merged 9 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/community/_index.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
title="Blablala"
yabellini marked this conversation as resolved.
Show resolved Hide resolved
maelle marked this conversation as resolved.
Show resolved Hide resolved
partials=["community.html","mailkimp.html"]
+++

Construyendo trabajo
yabellini marked this conversation as resolved.
Show resolved Hide resolved
maelle marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 4 additions & 0 deletions themes/ropensci/assets/_snippets/commcalls.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Our quarterly community calls are open to everyone.
They're an opportunity to connect with rOpenSci community members around the world.
Join us for lively discussions with experts on both technical and social topics, like development, review, security and maintenance of R packages, applications of our packages in open science, or developing a code of conduct.
Every Community Call becomes a rich resource with video and collaborative notes.
5 changes: 5 additions & 0 deletions themes/ropensci/assets/_snippets/commcalls.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Escucha lalala.
yabellini marked this conversation as resolved.
Show resolved Hide resolved
maelle marked this conversation as resolved.
Show resolved Hide resolved
Our quarterly community calls are open to everyone.
maelle marked this conversation as resolved.
Show resolved Hide resolved
They're an opportunity to connect with rOpenSci community members around the world.
Join us for lively discussions with experts on both technical and social topics, like development, review, security and maintenance of R packages, applications of our packages in open science, or developing a code of conduct.
Every Community Call becomes a rich resource with video and collaborative notes.
7 changes: 6 additions & 1 deletion themes/ropensci/i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@
[Read-more]
other = 'Read more'

[Catch-up-with-past-calls]
other = 'Catch up with past calls'

[Community-calls]
other = 'Community calls'
[Projects]
other = 'Projects'

[Blog]
other = 'Blog'

[Tech-Notes]
other = 'Tech Notes'
other = 'Tech Notes'
7 changes: 6 additions & 1 deletion themes/ropensci/i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,16 @@
[Read-more]
other = 'Lee más'

[Catch-up-with-past-calls]
yabellini marked this conversation as resolved.
Show resolved Hide resolved
other = 'Seminarios anteriores'

[Community-calls]
other = 'Llamadas comunitarias'
maelle marked this conversation as resolved.
Show resolved Hide resolved
[Projects]
other = 'Proyectos'

[Blog]
other = 'Blog'

[Tech-Notes]
other = 'Notas técnicas'
other = 'Notas técnicas'
5 changes: 5 additions & 0 deletions themes/ropensci/i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
[Read-more]
other = 'Lire plus'

[Catch-up-with-past-calls]
other = 'Appels précédents'

[Community-calls]
other = 'Appels avec la communauté'
[Projects]
other = 'Projets'

Expand Down
12 changes: 9 additions & 3 deletions themes/ropensci/layouts/community/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ <h1>
<div class="container">
<div class="row justify-content-end align-items-center">
<div class="col-md-5">
<h2 class="title">Community Calls</h2>
<h2 class="title">{{ i18n "Community-calls" }}</h2>
<p class="subtitle commcalls-subtitle">
Our quarterly community calls are open to everyone. They're an opportunity to connect with rOpenSci community members around the world. Join us for lively discussions with experts on both technical and social topics, like development, review, security and maintenance of R packages, applications of our packages in open science, or developing a code of conduct. Every Community Call becomes a rich resource with video and collaborative notes.
{{ $path := (printf "_snippets/commcalls.%s.md" .Language.Lang) }}
{{ with resources.Get $path }}
{{ .Content | markdownify }}
{{ else }}
{{ errorf "Unable to get page Resources" }}
{{ end }}

</p>
<a class="link-arrow" href="/commcalls"><span>Catch up with past calls</span></a>
<a class="link-arrow" href="/commcalls"><span>{{ i18n "Catch-up-with-past-calls" }}</span></a>
</div>
<div class="col-md-6">
<img class="commcalls" src="/images/commcalls-img.png" alt="" />
Expand Down