From 88b009c1bbd48713cafdb3e7f635d382982c10a8 Mon Sep 17 00:00:00 2001 From: Ungol Date: Tue, 23 Dec 2025 22:27:52 +0100 Subject: [PATCH] refacto: move articles to articles instead of blog --- config.toml | 11 +---------- content/{blog => articles}/_index.md | 2 +- content/{blog => articles}/example.md | 0 content/{blog => articles}/first.md | 0 content/{blog => articles}/second.md | 0 templates/index.html | 2 +- 6 files changed, 3 insertions(+), 12 deletions(-) rename content/{blog => articles}/_index.md (72%) rename content/{blog => articles}/example.md (100%) rename content/{blog => articles}/first.md (100%) rename content/{blog => articles}/second.md (100%) diff --git a/config.toml b/config.toml index 8e25115..f0f4a3f 100644 --- a/config.toml +++ b/config.toml @@ -1,16 +1,10 @@ -# The URL the site will be built for base_url = "https://blog.ungol.fr" - -# Whether to automatically compile all Sass files in the sass directory compile_sass = true - -# Whether to build a search index to be used later on by a JavaScript library build_search_index = true default_language = 'fr' +title = "Ungol" [markdown] -# Whether to do syntax highlighting -# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true highlight_theme = "css" highlight_themes_css = [ @@ -25,6 +19,3 @@ render_emoji = true [slugify] paths = "safe" anchor = "safe" - -[extra] -# Put all your custom variables here diff --git a/content/blog/_index.md b/content/articles/_index.md similarity index 72% rename from content/blog/_index.md rename to content/articles/_index.md index 7ad6896..9c55838 100644 --- a/content/blog/_index.md +++ b/content/articles/_index.md @@ -1,5 +1,5 @@ +++ -title = "Liste des articles" +title = "Articles" sort_by = "date" template = "blog.html" page_template = "post.html" diff --git a/content/blog/example.md b/content/articles/example.md similarity index 100% rename from content/blog/example.md rename to content/articles/example.md diff --git a/content/blog/first.md b/content/articles/first.md similarity index 100% rename from content/blog/first.md rename to content/articles/first.md diff --git a/content/blog/second.md b/content/articles/second.md similarity index 100% rename from content/blog/second.md rename to content/articles/second.md diff --git a/templates/index.html b/templates/index.html index 5dd5e2f..5b14ef8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,5 +4,5 @@

This is my blog made with Zola.

-

Posts.

+

Posts.

{% endblock content %} \ No newline at end of file