diff --git a/__main__.py b/__main__.py index 7792448..d776e80 100644 --- a/__main__.py +++ b/__main__.py @@ -100,7 +100,7 @@ def generate_page(title, template_path, **globals): generate_home() generate_page("Asimov", "asimov.html", video_ids=ASIMOV_VIDEO_IDS) - lectures = reverse(read_yml('lectures.yml')) + lectures = reversed(read_yml('lectures.yml')) generate_page("Notre groupe de lecture", "groupe-de-lecture.html", lectures=lectures) generate_page("Politique de confidentialité", "confidentialite.md") @@ -108,4 +108,4 @@ def generate_page(title, template_path, **globals): generate_page("Nous aider", "nous-aider.md") generate_page("À propos du piaf", "presentation.md") generate_page("Hackathons", "hackathons.md") - generate_page("Contact", "contact.md") \ No newline at end of file + generate_page("Contact", "contact.md")