From 65f135a6a2f7be105bfe9ce95796b2314627b20d Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 18 Jul 2023 13:23:00 -0700 Subject: Add Examples for Sections and Transparent Sections --- content/posts/_index.fr.md | 3 ++- content/posts/_index.md | 3 ++- content/posts/posts-section.fr.md | 20 ++++++++++++++++++++ content/posts/posts-section.md | 20 ++++++++++++++++++++ 4 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 content/posts/posts-section.fr.md create mode 100644 content/posts/posts-section.md (limited to 'content/posts') diff --git a/content/posts/_index.fr.md b/content/posts/_index.fr.md index c700dc5..6b70666 100644 --- a/content/posts/_index.fr.md +++ b/content/posts/_index.fr.md @@ -1,3 +1,4 @@ +++ -template = "posts.html" +transparent = true +redirect_to = "/" +++ diff --git a/content/posts/_index.md b/content/posts/_index.md index c700dc5..6b70666 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,3 +1,4 @@ +++ -template = "posts.html" +transparent = true +redirect_to = "/" +++ diff --git a/content/posts/posts-section.fr.md b/content/posts/posts-section.fr.md new file mode 100644 index 0000000..63e71af --- /dev/null +++ b/content/posts/posts-section.fr.md @@ -0,0 +1,20 @@ ++++ +title = "Posts Transparent Section" +date = 2021-05-04 +draft = false + +[taxonomies] +categories = ["Features"] +tags = ["config"] ++++ + +Vous pouvez placer votre contenu dans content/posts/ au lieu de content/ cela fera des URL de publication example.com/posts/post-title + +Dans le répertoire des articles, vous verrez le _index.md : + +```md ++++ +transparent = true +redirect_to = "/" ++++ +``` diff --git a/content/posts/posts-section.md b/content/posts/posts-section.md new file mode 100644 index 0000000..c90ec99 --- /dev/null +++ b/content/posts/posts-section.md @@ -0,0 +1,20 @@ ++++ +title = "Posts Transparent Section" +date = 2021-05-04 +draft = false + +[taxonomies] +categories = ["Features"] +tags = ["config"] ++++ + +You can place your content in content/posts/ instead of content/ this will make post urls example.com/posts/post-title + +In the posts directory you will see the _index.md: + +```md ++++ +transparent = true +redirect_to = "/" ++++ +``` -- cgit v1.3.1