From 50b9de0024fc492966fc731c0c300df489e47519 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Wed, 20 Sep 2023 23:54:10 -0700 Subject: Update for Series Feature --- config.toml | 9 ++++----- content/overview-abridge/index.fr.md | 1 + content/overview-abridge/index.md | 1 + content/overview-code-blocks.fr.md | 5 +++-- content/overview-code-blocks.md | 5 +++-- content/overview-embed-streamable.fr.md | 2 ++ content/overview-embed-streamable.md | 4 +++- content/overview-embed-vimeo.fr.md | 2 ++ content/overview-embed-vimeo.md | 4 +++- content/overview-embed-youtube.fr.md | 2 ++ content/overview-embed-youtube.md | 4 +++- content/overview-images/index.fr.md | 3 ++- content/overview-images/index.md | 3 ++- content/overview-markdown-and-style.fr.md | 3 ++- content/overview-markdown-and-style.md | 3 ++- content/overview-math.fr.md | 2 +- content/overview-math.md | 2 +- content/overview-rich-content/index.fr.md | 3 ++- content/overview-rich-content/index.md | 3 ++- content/overview-showdata.fr.md | 2 ++ content/overview-showdata.md | 2 ++ templates/page.html | 4 ++-- 22 files changed, 47 insertions(+), 22 deletions(-) diff --git a/config.toml b/config.toml index 0fd4aa0..fa1b3cf 100644 --- a/config.toml +++ b/config.toml @@ -69,7 +69,7 @@ Contact = "Contact" Privacy = "Confidentialité" Sitemap = "Plan du site" ## Describtion of the number of parts in a series of posts -Series_parts = "Série de $NUMBER_OF_PARTS parties" +Series_parts = "Série" # Série de $NUMBER_OF_PARTS parties ### Page not found, maybe moved or not in this language 404_not_found = "Page introuvable, peut-être déplacée ou non dans cette langue" ### Try searching or @@ -121,9 +121,8 @@ recent_items = 15 series = true #Series_parts = "$NUMBER_OF_PARTS part Series" - -meta_index = { position="bottom", size="s90", author=false, readtime=false, readstring="min", date=true, updated=false, categories_tags=true, divider=""} -meta_post = { position="top", size="s95", author=true, readtime=false, readstring="min read", date=true, updated=true, categories_tags=true, divider=""} +meta_index = { position="bottom", size="s90", author=false, readtime=false, readstring="min", date=true, updated=false, categories_tags=true, divider="" } +meta_post = { position="top", size="s95", author=true, readtime=false, readstring="min read", date=true, updated=true, categories_tags=true, divider="" } hide_section_dates = false # hides the date for sections that use posts.html as their template. hide_page_nextprev_titles = false # hides the next/previous titles for pages that use page.html as their template. @@ -253,7 +252,7 @@ webmanifest = "manifest.min.json" # Required for PWAs ### The options below other than pwa=true, only come into play when the npm/node script is ran. ############################################################################### -pwa = false # true to load the service worker +pwa = true # true to load the service worker pwa_VER = '3.11.0' # Service Worker cache version. (increment if you need to force a new cache) ### 3600=1hour, 28800=8hours, 86400=1day, 604800=1week, 1209600=2weeks diff --git a/content/overview-abridge/index.fr.md b/content/overview-abridge/index.fr.md index 3f307bc..d48c680 100644 --- a/content/overview-abridge/index.fr.md +++ b/content/overview-abridge/index.fr.md @@ -9,6 +9,7 @@ draft = false tags = ["Features","Config"] [extra] toc = true +section = "Features" +++ Un thème [Zola](https://getzola.org) rapide, léger et moderne utilisant [abridge.css](https://github.com/Jieiku/abridge.css) (un framework HTML CSS sémantique léger en classe ). Scores parfait [Lighthouse](https://pagespeed.web.dev/report?url=abridge.netlify.app), [YellowLabTools](https://yellowlab.tools/) et [Observatory](https://observatory.mozilla.org/analyze/abridge.netlify.app). Voici une page [Zola Themes Benchmarks](https://github.com/Jieiku/zola-themes-benchmarks/blob/main/README.md). diff --git a/content/overview-abridge/index.md b/content/overview-abridge/index.md index 909e069..02c9c16 100644 --- a/content/overview-abridge/index.md +++ b/content/overview-abridge/index.md @@ -9,6 +9,7 @@ draft = false tags = ["Features","Config"] [extra] toc = true +section = "Features" +++ A fast, lightweight, and modern [Zola](https://getzola.org) theme utilizing [abridge.css](https://github.com/Jieiku/abridge.css) (a class-light semantic HTML CSS Framework). Perfect [Lighthouse](https://pagespeed.web.dev/report?url=abridge.netlify.app), [YellowLabTools](https://yellowlab.tools/), and [Observatory](https://observatory.mozilla.org/analyze/abridge.netlify.app) scores. Here is a [Zola Themes Benchmarks](https://github.com/Jieiku/zola-themes-benchmarks/blob/main/README.md) Page. diff --git a/content/overview-code-blocks.fr.md b/content/overview-code-blocks.fr.md index 0209daa..70dc982 100644 --- a/content/overview-code-blocks.fr.md +++ b/content/overview-code-blocks.fr.md @@ -1,5 +1,5 @@ +++ -title = "Blocs de code et thèmes" +title = "Blocs de code et thème" description = "Exemple d'article présentant la coloration syntaxique et la mise en forme des blocs de code avec un thème personnalisé." date = 2022-05-16 draft = false @@ -7,8 +7,9 @@ draft = false [taxonomies] tags = ["Features","Markdown"] [extra] -toc = true keywords = "Code, Code Blocks, Syntax, Syntax Highlighting, Theme" +toc = true +section = "Features" +++ Cet article présente différents Code Blocks permettant de comparer facilement des thèmes sublimes. diff --git a/content/overview-code-blocks.md b/content/overview-code-blocks.md index ce40a10..7075354 100644 --- a/content/overview-code-blocks.md +++ b/content/overview-code-blocks.md @@ -1,5 +1,5 @@ +++ -title = "Code Blocks and Themes" +title = "Code Blocks Theme" description = "Sample article showcasing syntax highlighting and formatting for Code Blocks with a custom theme." date = 2022-05-16 draft = false @@ -7,8 +7,9 @@ draft = false [taxonomies] tags = ["Features","Markdown"] [extra] -toc = true keywords = "Code, Code Blocks, Syntax, Syntax Highlighting, Theme" +toc = true +section = "Features" +++ This article shows various Code Blocks allowing to easily compare sublime themes. diff --git a/content/overview-embed-streamable.fr.md b/content/overview-embed-streamable.fr.md index 808fddc..f3a3ae9 100644 --- a/content/overview-embed-streamable.fr.md +++ b/content/overview-embed-streamable.fr.md @@ -8,6 +8,8 @@ draft = false tags = ["Features","Shortcodes","Video"] [extra] keywords = "Video, Shortcodes, Embed, Embedded, Streamable" +toc = true +section = "Features" +++ Zola a de nombreux shortcodes, et de nouveaux sont facilement ajoutés, cet exemple montre streamable. diff --git a/content/overview-embed-streamable.md b/content/overview-embed-streamable.md index 3423672..69ab797 100644 --- a/content/overview-embed-streamable.md +++ b/content/overview-embed-streamable.md @@ -1,5 +1,5 @@ +++ -title = "Embed Streamable Video" +title = "Embed Streamable" description = "Sample article showcasing a custom Zola shortcode for embedding Streamable Videos into your pages." date = 2021-05-06 draft = false @@ -8,6 +8,8 @@ draft = false tags = ["Features","Shortcodes","Video"] [extra] keywords = "Video, Shortcodes, Embed, Embedded, Streamable" +toc = true +section = "Features" +++ Zola has many shortcodes, and new are easily added, this example shows streamable. diff --git a/content/overview-embed-vimeo.fr.md b/content/overview-embed-vimeo.fr.md index 0cd972f..4eab70d 100644 --- a/content/overview-embed-vimeo.fr.md +++ b/content/overview-embed-vimeo.fr.md @@ -8,6 +8,8 @@ draft = false tags = ["Features","Shortcodes","Video"] [extra] keywords = "Video, Shortcodes, Embed, Embedded, Vimeo" +toc = true +section = "Features" +++ Zola a de nombreux shortcodes, et de nouveaux sont facilement ajoutés, cet exemple montre vimeo. diff --git a/content/overview-embed-vimeo.md b/content/overview-embed-vimeo.md index f72ae85..490cac2 100644 --- a/content/overview-embed-vimeo.md +++ b/content/overview-embed-vimeo.md @@ -1,5 +1,5 @@ +++ -title = "Embed Vimeo Video" +title = "Embed Vimeo" description = "Sample article showcasing a custom Zola shortcode for embedding Vimeo Videos into your pages." date = 2021-05-07 draft = false @@ -8,6 +8,8 @@ draft = false tags = ["Features","Shortcodes","Video"] [extra] keywords = "Video, Shortcodes, Embed, Embedded, Vimeo" +toc = true +section = "Features" +++ Zola has many shortcodes, and new are easily added, this example shows vimeo. diff --git a/content/overview-embed-youtube.fr.md b/content/overview-embed-youtube.fr.md index 4cded7e..7200a01 100644 --- a/content/overview-embed-youtube.fr.md +++ b/content/overview-embed-youtube.fr.md @@ -8,6 +8,8 @@ draft = false tags = ["Features","Shortcodes","Video"] [extra] keywords = "Video, Shortcodes, Embed, Embedded, Youtube" +toc = true +section = "Features" +++ Zola a de nombreux shortcodes, et de nouveaux sont facilement ajoutés, cet exemple montre youtube. diff --git a/content/overview-embed-youtube.md b/content/overview-embed-youtube.md index e99ab20..b5cc066 100644 --- a/content/overview-embed-youtube.md +++ b/content/overview-embed-youtube.md @@ -1,5 +1,5 @@ +++ -title = "Embed Youtube Video" +title = "Embed Youtube" description = "Sample article showcasing a custom Zola shortcode for embedding Youtube Videos into your pages." date = 2021-05-08 draft = false @@ -8,6 +8,8 @@ draft = false tags = ["Features","Shortcodes","Video"] [extra] keywords = "Video, Shortcodes, Embed, Embedded, Youtube" +toc = true +section = "Features" +++ Zola has many shortcodes, and new are easily added, this example shows youtube. diff --git a/content/overview-images/index.fr.md b/content/overview-images/index.fr.md index 96c899c..5b26fa1 100644 --- a/content/overview-images/index.fr.md +++ b/content/overview-images/index.fr.md @@ -7,9 +7,10 @@ draft = false [taxonomies] tags = ["Features","Shortcodes","Images"] [extra] -toc = true keywords = "Image, Markdown, Shortcodes, Swap" thumbnail = "ferris-gesture.png" +toc = true +section = "Features" +++ Cet article couvre les **shortcodes imgswap et img**. Les images peuvent également être intégrées directement à l'aide de markdown `![Ferris](ferris.svg)`, mais il est préférable d'utiliser un shortcode afin de pouvoir définir explicitement la largeur et la hauteur, cela aidera à empêcher le changement de mise en page du contenu, ce qui améliore l'expérience utilisateur et le score Google Lighthouse. diff --git a/content/overview-images/index.md b/content/overview-images/index.md index 6c515cd..b5f6e51 100644 --- a/content/overview-images/index.md +++ b/content/overview-images/index.md @@ -7,9 +7,10 @@ draft = false [taxonomies] tags = ["Features","Shortcodes","Images"] [extra] -toc = true keywords = "Image, Markdown, Shortcodes, Swap" thumbnail = "ferris-gesture.png" +toc = true +section = "Features" +++ This post covers the **imgswap and img shortcodes**. Images can also be embedded directly using markdown `![Ferris](ferris.svg)`, but it is better to use a shortcode so you can explicitly set the width and height, this will help prevent content layout shift which improves user experience and the google lighthouse score. diff --git a/content/overview-markdown-and-style.fr.md b/content/overview-markdown-and-style.fr.md index a991fed..26c36e9 100644 --- a/content/overview-markdown-and-style.fr.md +++ b/content/overview-markdown-and-style.fr.md @@ -7,8 +7,9 @@ draft = false [taxonomies] tags = ["Features","Markdown"] [extra] -toc = true keywords = "Markdown, Style, Syntax, Syntax Highlighting" +toc = true +section = "Features" +++ Cet article propose un exemple de syntaxe Markdown de base pouvant être utilisée dans les fichiers de contenu Zola. Il indique également si les éléments HTML de base sont décorés avec CSS dans un thème Zola. diff --git a/content/overview-markdown-and-style.md b/content/overview-markdown-and-style.md index 20f4a9e..210d11c 100644 --- a/content/overview-markdown-and-style.md +++ b/content/overview-markdown-and-style.md @@ -7,8 +7,9 @@ draft = false [taxonomies] tags = ["Features","Markdown"] [extra] -toc = true keywords = "Markdown, Style, Syntax, Syntax Highlighting" +toc = true +section = "Features" +++ This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows if basic HTML elements are decorated with CSS in a Zola theme. diff --git a/content/overview-math.fr.md b/content/overview-math.fr.md index 7097702..9450be1 100644 --- a/content/overview-math.fr.md +++ b/content/overview-math.fr.md @@ -8,10 +8,10 @@ draft = false [taxonomies] tags = ["Features","Shortcodes","Mathematics"] [extra] -toc = true math = true math_auto_render = true keywords = "Math, Matematics, Notation, KaTeX, Mathematical Notation" +toc = true section = "Features" +++ diff --git a/content/overview-math.md b/content/overview-math.md index 446f537..8dde0c0 100644 --- a/content/overview-math.md +++ b/content/overview-math.md @@ -8,10 +8,10 @@ draft = false [taxonomies] tags = ["Features","Shortcodes","Mathematics"] [extra] -toc = true math = true math_auto_render = true keywords = "Math, Matematics, Notation, KaTeX, Mathematical Notation" +toc = true section = "Features" +++ diff --git a/content/overview-rich-content/index.fr.md b/content/overview-rich-content/index.fr.md index 8b1b4f7..3a1e777 100644 --- a/content/overview-rich-content/index.fr.md +++ b/content/overview-rich-content/index.fr.md @@ -7,8 +7,9 @@ draft = false [taxonomies] tags = ["Features","Video","Audio","Images","Shortcodes"] [extra] -toc = true keywords = "Images, Videos, Audio, Gif, Rich Content, Shortcodes" +toc = true +section = "Features" +++ Plusieurs codes abrégés personnalisés sont inclus pour augmenter CommonMark (avec l'aimable autorisation du [theme d3c3nt](https://d3c3nt.figbert.com/posts/rich-content/)). `video`, `image`, `gif`, et `audio` ont été créés pour vous aider à tirer parti des éléments HTML modernes dans votre écriture. diff --git a/content/overview-rich-content/index.md b/content/overview-rich-content/index.md index b216654..e923ac4 100644 --- a/content/overview-rich-content/index.md +++ b/content/overview-rich-content/index.md @@ -7,8 +7,9 @@ draft = false [taxonomies] tags = ["Features","Video","Audio","Images","Shortcodes"] [extra] -toc = true keywords = "Images, Videos, Audio, Gif, Rich Content, Shortcodes" +toc = true +section = "Features" +++ Several custom shortcodes are included to augment CommonMark (courtesy of [d3c3nt theme](https://d3c3nt.figbert.com/posts/rich-content/)). `video`, `image`, `gif`, and `audio` were created to help you take advantage of modern HTML elements in your writing. diff --git a/content/overview-showdata.fr.md b/content/overview-showdata.fr.md index f899e18..2fca9e7 100644 --- a/content/overview-showdata.fr.md +++ b/content/overview-showdata.fr.md @@ -8,6 +8,8 @@ draft = false tags = ["Features","Data","Shortcodes"] [extra] keywords = "Data, Load, External, Shortcodes" +toc = true +section = "Features" +++ Le shortcode `showdata` peut charger et afficher des données provenant d'une source externe via la fonction [load_data()](https://www.getzola.org/documentation/templates/overview/#load-data) de Zola. diff --git a/content/overview-showdata.md b/content/overview-showdata.md index 579c725..13983fa 100644 --- a/content/overview-showdata.md +++ b/content/overview-showdata.md @@ -8,6 +8,8 @@ draft = false tags = ["Features","Data","Shortcodes"] [extra] keywords = "Data, Load, External, Shortcodes" +toc = true +section = "Features" +++ The `showdata` shortcode can load and display data from an external source via Zola's [load_data()](https://www.getzola.org/documentation/templates/overview/#load-data) function. diff --git a/templates/page.html b/templates/page.html index 198e190..6aac7e1 100644 --- a/templates/page.html +++ b/templates/page.html @@ -62,7 +62,7 @@
{{ tag.name }} ({{ parts_string }})
    - {%- for inner in tag.pages | sort(attribute="year") %} + {%- for inner in tag.pages | sort(attribute="date") %} {%- if inner.content == page.content %}
  1. {{ inner.title }}
  2. {% else %} @@ -105,7 +105,7 @@
    {{ parts_string }}
      - {%- for inner in tag.pages | sort(attribute="year") %} + {%- for inner in tag.pages | sort(attribute="date") %} {%- if inner.content == page.content %}
    1. {{ inner.title }}
    2. {% else %} -- cgit v1.3.1