Skip to content

Commit

Permalink
Add category and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
fle committed Feb 14, 2024
1 parent ae9bd23 commit 39dbcb2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion content/0003_en_auto_migrate_between_checkouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Date: 2024-02-14 14:00
Id: 0003
Slug: auto-migrate-between-checkouts
Lang: en
Category: django
Category: development
Tags: django, git
Summary: How to use git hooks to automatically reset your database state to one compatible with the branch you are checking.

# The problem
Expand Down
3 changes: 2 additions & 1 deletion content/0003_fr_auto_migrate_between_checkouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Date: 2024-02-14 14:00
Id: 0003
Slug: django-migrer-automatiquement-entre-checkouts-git
Lang: fr
Category: django
Category: développement
Tags: django, git
Summary: Comment utiliser les hooks git pour réinitialiser automatiquement l'état de votre base de données à un état compatible avec la branche sur laquelle vous basculez.

# Le problème
Expand Down
4 changes: 4 additions & 0 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

LINKS = (
("misc", "/category/misc.html"),
("development", "/category/development.html"),
)

# Social widget
Expand All @@ -38,6 +39,7 @@
MENUITEMS = (
('Archives', '/archives.html'),
('Categories', '/categories.html'),
('Tags', '/tags.html'),
('EN', '/'),
('FR', '/fr'),
)
Expand Down Expand Up @@ -70,11 +72,13 @@
),
'LINKS': (
("divers", "/fr/category/divers.html"),
("développement", "/category/developpement.html"),
("communauté", "/fr/category/communaute.html"),
),
'MENUITEMS': (
('Archives', '/fr/archives.html'),
('Catégories', '/fr/categories.html'),
('Tags', '/fr/tags.html'),
('EN', '/'),
('FR', '/fr'),
),
Expand Down

0 comments on commit 39dbcb2

Please sign in to comment.