Skip to content

Commit

Permalink
Better i18n conf
Browse files Browse the repository at this point in the history
  • Loading branch information
fle committed Feb 10, 2024
1 parent 97d4c80 commit 9f9223c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions content/0001_en_rgoods_tech_blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Id: 0001
Slug: our-tech-blog
Lang: en
Save_as: index.html
Category: misc
Summary: We help associations and NGOs by offering them innovative ways to increase their donor base and boost their resources. We see the publication of this blog as a simple, constructive and natural way of participate in the community.


Expand Down
1 change: 1 addition & 0 deletions content/0001_fr_rgoods_tech_blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Date: 2024-02-09 08:00
Id: 0001
Slug: notre-blog-tech
Lang: fr
Category: divers
Summary: Nous aidons les associations et les ONG en leur proposant des moyens innovants d'accroître leur base de donateurs et leurs ressources. Nous considérons la publication de ce blog comme un moyen simple, constructif et naturel de participer à la vie de la communauté.

# Qui sommes-nous ?
Expand Down
2 changes: 1 addition & 1 deletion content/0002_fr_meetup_python_nantes_wagtail.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Date: 2024-02-09 08:00
Id: 0002
Slug: python-nantes-un-cms-pour-django-mais-pas-que
Lang: fr
Category: community
Category: communauté
Summary: Un résumé de la présentation de Sébastien lors du meetup Python Nantes du 09/02/2024

Lors du meetup PythonNante d'hier soir, hébergé par [OctousMind](https://octopusmind.info) & [RGOODS](https://rgoods.com),
Expand Down
17 changes: 10 additions & 7 deletions pelicanconf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
AUTHOR = 'RGOODS Tech team'
SITENAME = 'RGOODS Engineering'
SITETITLE = 'RGOODS Engineering'
SITESUBTITLE = (
'We are RGOODS tech team.<br />'
'We build cool tools to help associations & NGOs raise more funds.<br />'
Expand All @@ -20,9 +21,8 @@
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = (
("rgoods", "https://rgoods.com/"),
("misc", "/category/misc.html"),
)

# Social widget
Expand All @@ -35,8 +35,10 @@
DEFAULT_PAGINATION = False

MAIN_MENU = True
MENUITEMS = (('Archives', '/archives.html'),
('Categories', '/categories.html'),)
MENUITEMS = (
('Archives', '/archives.html'),
('Categories', '/categories.html'),
)

# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
Expand All @@ -57,15 +59,16 @@
I18N_TEMPLATES_LANG = "en"
I18N_SUBSITES = {
'fr': {
'SITENAME': 'RGOODS Ingénierie',
'SITENAME': 'RGOODS Engineering',
'SITETITLE': 'RGOODS Engineering',
'SITESUBTITLE': (
"Nous sommes l'équipe tech RGOODS.<br />"
"Nous construisons des outils cool pour aider les associations et les ONGs à récolter plus de fonds.<br />"
"Sur ce blog, nous parlons principalement de Python/Django/Wagtail & VueJS."
),
'MENUITEMS': (
('Archives', '/archives.html'),
('Catégories', '/categories.html'),
('Archives', '/fr/archives.html'),
('Catégories', '/fr/categories.html'),
),
'DEFAULT_LANG': "fr"
}
Expand Down

0 comments on commit 9f9223c

Please sign in to comment.