diff --git a/.github/workflows/pr_checker_build.yml b/.github/workflows/pr_checker_build.yml index 2029f9277b..5de69d39d2 100644 --- a/.github/workflows/pr_checker_build.yml +++ b/.github/workflows/pr_checker_build.yml @@ -30,9 +30,18 @@ jobs: if: ${{ github.repository_owner == 'geotribu' }} steps: + - name: Install French locale + id: locale-fr + shell: bash + run: | + sudo locale-gen fr_FR.UTF-8 + sudo update-locale LANG=fr_FR.UTF-8 + - name: Get source code uses: actions/checkout@v4 + + - name: Set up Python uses: actions/setup-python@v5 with: diff --git a/content/articles/.pages b/content/articles/.pages index 6c7e6e64c5..803c32857b 100644 --- a/content/articles/.pages +++ b/content/articles/.pages @@ -1,6 +1,7 @@ title: "📖 Articles" nav: + - "Derniers articles": index.md - "2024" - "2023" - "2022" diff --git a/content/articles/index.md b/content/articles/index.md new file mode 100644 index 0000000000..c4f4f21ee8 --- /dev/null +++ b/content/articles/index.md @@ -0,0 +1,13 @@ +--- +title: "Liste des derniers articles parus" +template: custom_templates/index_articles.html +# theme customizations +hide: + - footer + - navigation + - toc +search: + exclude: true +--- + + diff --git a/content/theme/custom_templates/index_articles.html b/content/theme/custom_templates/index_articles.html new file mode 100644 index 0000000000..4e195afafd --- /dev/null +++ b/content/theme/custom_templates/index_articles.html @@ -0,0 +1,74 @@ +{% extends "base.html" %} + +{% block styles %} +{{ super() }} + + +{% endblock %} + + +{% block tabs %} +{{ super() }} + + +
Site collaboratif sur la géomatique libre et ouverte.
+{{ contenu.description | default('Description') }}
+ Lire cet article... +