From 02d95672d09eb3497c8c5e67568efdccb322becc Mon Sep 17 00:00:00 2001 From: Arnaud de Grandmaison Date: Fri, 24 Oct 2025 10:08:38 +0200 Subject: [PATCH] [Fix] Duplicate fields. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newer versions of hugo will error and fail when the .md files have duplicated fields, e.g. : $ ./hugo-server.sh Start building sites … hugo v0.152.1+extended+withdeploy darwin/arm64 BuildDate=2025-10-22T19:10:44Z VendorInfo=brew Total in 2716 ms Error: error building site: process: readAndProcessContent: ".../content/learning-paths/cross-platform/dynamic-memory-allocator/_index.md:57:1": [56:1] mapping key "layout" already defined at [7:1] 53 | ### FIXED, DO NOT MODIFY 54 | # ================================================================================ 55 | weight: 1 # _index.md always has weight of 1 to order correctly > 56 | layout: "learningpathall" # All files under learning paths have this same wrapper ^ 57 | learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. 58 | This commit removes the duplicates, keeping the most "rich" version of the field (the one that has a comment) and prefering the field in the 'FIXED, DO NOT MODIFY' section. --- .../cross-platform/dynamic-memory-allocator/_index.md | 3 +-- .../learning-paths/embedded-and-microcontrollers/tfm/_index.md | 1 - .../embedded-and-microcontrollers/zephyr/_index.md | 1 - .../servers-and-cloud-computing/bitmap_scan_sve2/_index.md | 1 - .../learning-paths/servers-and-cloud-computing/codec/_index.md | 1 - .../learning-paths/servers-and-cloud-computing/flink/_index.md | 2 -- .../servers-and-cloud-computing/glibc-with-lse/_index.md | 2 -- .../servers-and-cloud-computing/memcached/_index.md | 1 - .../servers-and-cloud-computing/memcached_cache/_index.md | 1 - .../servers-and-cloud-computing/ml-perf/_index.md | 1 - .../learning-paths/servers-and-cloud-computing/onnx/_demo.md | 3 --- .../profiling-for-neoverse/_index.md | 1 - .../learning-paths/servers-and-cloud-computing/rag/_demo.md | 3 --- .../learning-paths/servers-and-cloud-computing/ran/_index.md | 1 - .../servers-and-cloud-computing/snappy/_index.md | 1 - .../servers-and-cloud-computing/sve2-match/_index.md | 1 - 16 files changed, 1 insertion(+), 23 deletions(-) diff --git a/content/learning-paths/cross-platform/dynamic-memory-allocator/_index.md b/content/learning-paths/cross-platform/dynamic-memory-allocator/_index.md index 54af0efaf1..949ce01844 100644 --- a/content/learning-paths/cross-platform/dynamic-memory-allocator/_index.md +++ b/content/learning-paths/cross-platform/dynamic-memory-allocator/_index.md @@ -5,7 +5,6 @@ minutes_to_complete: 120 who_is_this_for: This is an introductory topic for software developers learning about dynamic memory allocation for the first time, and who may have used malloc and free in C programming. It also provides a starting point to explore more advanced memory allocation topics. -layout: learningpathall learning_objectives: - Explain how dynamic memory allocation and the C heap works - Write a simple dynamic memory allocator @@ -56,4 +55,4 @@ shared_between: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. ---- \ No newline at end of file +--- diff --git a/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md b/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md index b3fb6106d3..382bcb535f 100644 --- a/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md +++ b/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md @@ -58,6 +58,5 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md b/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md index 83505cecbd..86f20d13fd 100644 --- a/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md +++ b/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md @@ -53,6 +53,5 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- \ No newline at end of file diff --git a/content/learning-paths/servers-and-cloud-computing/bitmap_scan_sve2/_index.md b/content/learning-paths/servers-and-cloud-computing/bitmap_scan_sve2/_index.md index 9da8cbe6b4..09b634a31d 100644 --- a/content/learning-paths/servers-and-cloud-computing/bitmap_scan_sve2/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/bitmap_scan_sve2/_index.md @@ -46,5 +46,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/codec/_index.md b/content/learning-paths/servers-and-cloud-computing/codec/_index.md index 7511d082a6..7241132bc4 100644 --- a/content/learning-paths/servers-and-cloud-computing/codec/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/codec/_index.md @@ -56,5 +56,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/flink/_index.md b/content/learning-paths/servers-and-cloud-computing/flink/_index.md index 9822df5ab5..c872e5ab76 100644 --- a/content/learning-paths/servers-and-cloud-computing/flink/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/flink/_index.md @@ -23,9 +23,7 @@ cloud_service_providers: AWS armips: - Neoverse -layout: learningpathall -learning_path_main_page: 'yes' operatingsystems: - Linux diff --git a/content/learning-paths/servers-and-cloud-computing/glibc-with-lse/_index.md b/content/learning-paths/servers-and-cloud-computing/glibc-with-lse/_index.md index eea49bbb39..2a1bfbced6 100644 --- a/content/learning-paths/servers-and-cloud-computing/glibc-with-lse/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/glibc-with-lse/_index.md @@ -23,9 +23,7 @@ subjects: Performance and Architecture armips: - Neoverse -layout: learningpathall -learning_path_main_page: 'yes' operatingsystems: - Linux diff --git a/content/learning-paths/servers-and-cloud-computing/memcached/_index.md b/content/learning-paths/servers-and-cloud-computing/memcached/_index.md index 21e29d41fd..a05e80842a 100644 --- a/content/learning-paths/servers-and-cloud-computing/memcached/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/memcached/_index.md @@ -47,5 +47,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/memcached_cache/_index.md b/content/learning-paths/servers-and-cloud-computing/memcached_cache/_index.md index 8911ab48ed..562fdee0f2 100644 --- a/content/learning-paths/servers-and-cloud-computing/memcached_cache/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/memcached_cache/_index.md @@ -51,5 +51,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/ml-perf/_index.md b/content/learning-paths/servers-and-cloud-computing/ml-perf/_index.md index d10a5d34f5..a08eb203d8 100644 --- a/content/learning-paths/servers-and-cloud-computing/ml-perf/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/ml-perf/_index.md @@ -54,5 +54,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/onnx/_demo.md b/content/learning-paths/servers-and-cloud-computing/onnx/_demo.md index 1c9a1872e9..1fcfe43042 100644 --- a/content/learning-paths/servers-and-cloud-computing/onnx/_demo.md +++ b/content/learning-paths/servers-and-cloud-computing/onnx/_demo.md @@ -29,8 +29,6 @@ rag_data_cutoff_date: 2025/01/17 title_chatbot_area: Phi-4-mini Chatbot Demo -prismjs: true - ### Specific details to this demo @@ -51,7 +49,6 @@ tps_ranges: ### FIXED, DO NOT MODIFY # ================================================================================ demo_template_name: phi_onnx_chatbot_demo # allows the 'demo.html' partial to route to the correct Configuration and Demo/Stats sub partials for page render. -weight: 2 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. --- diff --git a/content/learning-paths/servers-and-cloud-computing/profiling-for-neoverse/_index.md b/content/learning-paths/servers-and-cloud-computing/profiling-for-neoverse/_index.md index 5b9969ac69..4678c5761a 100644 --- a/content/learning-paths/servers-and-cloud-computing/profiling-for-neoverse/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/profiling-for-neoverse/_index.md @@ -13,7 +13,6 @@ prerequisites: - An Arm Neoverse-based (N1, N2 or V1) computer running Linux. For your host OS, you can use Amazon Linux 2023 or newer, Debian 10 or newer, RHEL 8 or newer, or Ubuntu 20.04 or newer. author: Julie Gaskin -author: Julie Gaskin ### Tags skilllevels: Introductory diff --git a/content/learning-paths/servers-and-cloud-computing/rag/_demo.md b/content/learning-paths/servers-and-cloud-computing/rag/_demo.md index ca62fbf8e4..6beba4a9b0 100644 --- a/content/learning-paths/servers-and-cloud-computing/rag/_demo.md +++ b/content/learning-paths/servers-and-cloud-computing/rag/_demo.md @@ -33,8 +33,6 @@ rag_data_cutoff_date: 2025/01/17 title_chatbot_area: Arm RAG Demo -prismjs: true - ### Specific details to this demo @@ -55,7 +53,6 @@ tps_ranges: ### FIXED, DO NOT MODIFY # ================================================================================ demo_template_name: llm_chatbot_rag_demo # allows the 'demo.html' partial to route to the correct Configuration and Demo/Stats sub partials for page render. -weight: 2 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. --- diff --git a/content/learning-paths/servers-and-cloud-computing/ran/_index.md b/content/learning-paths/servers-and-cloud-computing/ran/_index.md index 0839b2b2b2..0bf4a8e6eb 100644 --- a/content/learning-paths/servers-and-cloud-computing/ran/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/ran/_index.md @@ -59,5 +59,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/snappy/_index.md b/content/learning-paths/servers-and-cloud-computing/snappy/_index.md index 0956ccf203..3bf9309db0 100644 --- a/content/learning-paths/servers-and-cloud-computing/snappy/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/snappy/_index.md @@ -48,5 +48,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall --- diff --git a/content/learning-paths/servers-and-cloud-computing/sve2-match/_index.md b/content/learning-paths/servers-and-cloud-computing/sve2-match/_index.md index 8e9369652f..cfb3cb802e 100644 --- a/content/learning-paths/servers-and-cloud-computing/sve2-match/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/sve2-match/_index.md @@ -46,5 +46,4 @@ further_reading: weight: 1 # _index.md always has weight of 1 to order correctly layout: "learningpathall" # All files under learning paths have this same wrapper learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. -layout: learningpathall ---