aboutsummaryrefslogtreecommitdiff
path: root/content/blog
diff options
context:
space:
mode:
authorJieiku2023-07-18 13:23:00 -0700
committerJieiku2023-07-18 13:23:00 -0700
commit65f135a6a2f7be105bfe9ce95796b2314627b20d (patch)
treebd0e248c3398769ed71d62d869b09a82f86d0e7f /content/blog
parentb53294f7fb8afbb9565dcd46f2985257c8075e5c (diff)
downloadabridge-65f135a6a2f7be105bfe9ce95796b2314627b20d.tar.gz
abridge-65f135a6a2f7be105bfe9ce95796b2314627b20d.tar.bz2
abridge-65f135a6a2f7be105bfe9ce95796b2314627b20d.zip
Add Examples for Sections and Transparent Sections
Diffstat (limited to 'content/blog')
-rw-r--r--content/blog/_index.fr.md5
-rw-r--r--content/blog/_index.md5
-rw-r--r--content/blog/blog-section.fr.md29
-rw-r--r--content/blog/blog-section.md29
4 files changed, 68 insertions, 0 deletions
diff --git a/content/blog/_index.fr.md b/content/blog/_index.fr.md
new file mode 100644
index 0000000..0b72ce0
--- /dev/null
+++ b/content/blog/_index.fr.md
@@ -0,0 +1,5 @@
++++
+template = "index.html"
+paginate_by = 3
+sort_by = "date"
++++
diff --git a/content/blog/_index.md b/content/blog/_index.md
new file mode 100644
index 0000000..0b72ce0
--- /dev/null
+++ b/content/blog/_index.md
@@ -0,0 +1,5 @@
++++
+template = "index.html"
+paginate_by = 3
+sort_by = "date"
++++
diff --git a/content/blog/blog-section.fr.md b/content/blog/blog-section.fr.md
new file mode 100644
index 0000000..6c1fe97
--- /dev/null
+++ b/content/blog/blog-section.fr.md
@@ -0,0 +1,29 @@
++++
+title = "Blog Section"
+date = 2021-05-04
+draft = false
+
+[taxonomies]
+categories = ["Features"]
+tags = ["config"]
++++
+
+Vous pouvez placer votre contenu dans content/blog/ au lieu de content/ cela fera des URL de publication example.com/blog/post-title
+<!-- more -->
+Dans le répertoire du blog, vous verrez le _index.md:
+
+```md
++++
+template = "index.html"
+paginate_by = 3
+sort_by = "date"
++++
+```
+
+Au lieu de index.html, vous pouvez également spécifier archive.html, les deux modèles prennent en charge les sections:
+
+```md
++++
+template = "archive.html"
++++
+```
diff --git a/content/blog/blog-section.md b/content/blog/blog-section.md
new file mode 100644
index 0000000..71bb0f5
--- /dev/null
+++ b/content/blog/blog-section.md
@@ -0,0 +1,29 @@
++++
+title = "Blog Section"
+date = 2021-05-04
+draft = false
+
+[taxonomies]
+categories = ["Features"]
+tags = ["config"]
++++
+
+You can place your content in content/blog/ instead of content/ this will make post urls example.com/blog/post-title
+<!-- more -->
+In the blog directory you will see the _index.md:
+
+```md
++++
+template = "index.html"
+paginate_by = 3
+sort_by = "date"
++++
+```
+
+Instead of index.html you can also specify archive.html, both templates support sections:
+
+```md
++++
+template = "archive.html"
++++
+```