From a8af630a9e75e31ed926896b6d2e2abffc3a0bee Mon Sep 17 00:00:00 2001 From: Zach Lasiuk Date: Mon, 18 Mar 2024 09:52:12 -0500 Subject: [PATCH 1/2] fixed category display for most recent 5, and adjusted individual content categories to match subcategories. --- content/commercial_packages/intersystem_iris.md | 2 +- content/opensource_packages/ansible.md | 2 +- content/opensource_packages/gitlab.md | 2 +- content/opensource_packages/golang.md | 2 +- content/opensource_packages/httpd.md | 2 +- content/opensource_packages/jenkins.md | 2 +- content/opensource_packages/kyverno.md | 2 +- content/opensource_packages/terraform.md | 2 +- content/opensource_packages/vitess.md | 2 +- .../layouts/partials/package-display/_category_display.html | 6 +++--- .../layouts/partials/package-display/row-sub.html | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/content/commercial_packages/intersystem_iris.md b/content/commercial_packages/intersystem_iris.md index 6b61407c..0943a422 100644 --- a/content/commercial_packages/intersystem_iris.md +++ b/content/commercial_packages/intersystem_iris.md @@ -1,7 +1,7 @@ --- name: IRIS vendor: InterSystems -category: Databases +category: Database description: InterSystems IRISĀ® makes it easier to build high-performance, machine learning-enabled applications that connect data and application silos. product_url: https://www.intersystems.com/data-platform/ works_on_arm: true diff --git a/content/opensource_packages/ansible.md b/content/opensource_packages/ansible.md index 8c9b7ce7..5167287a 100644 --- a/content/opensource_packages/ansible.md +++ b/content/opensource_packages/ansible.md @@ -1,6 +1,6 @@ --- name: Ansible -category: CI/CD +category: DevOps description: Ansible is a simple IT automation platform that makes your applications and systems easier to deploy and maintain. download_url: https://developers.redhat.com/products/ansible/download works_on_arm: true diff --git a/content/opensource_packages/gitlab.md b/content/opensource_packages/gitlab.md index 9b4f9934..e66ed4cf 100644 --- a/content/opensource_packages/gitlab.md +++ b/content/opensource_packages/gitlab.md @@ -1,6 +1,6 @@ --- name: Gitlab -category: CI/CD +category: DevOps description: Gitlab is a complete DevOps platform that enables developers to perform all the tasks in a project, from project planning and source code management to monitoring and security. download_url: https://packages.gitlab.com/gitlab/gitlab-ee works_on_arm: true diff --git a/content/opensource_packages/golang.md b/content/opensource_packages/golang.md index fe0e937d..7f5017ad 100644 --- a/content/opensource_packages/golang.md +++ b/content/opensource_packages/golang.md @@ -1,6 +1,6 @@ --- name: Golang -category: Languages +category: Languages and Frameworks description: Golang, also known as Go, is a statically typed, compiled programming language designed by Google for efficiency, simplicity, and reliability. It has robust support for concurrent programming. download_url: https://go.dev/dl/ works_on_arm: true diff --git a/content/opensource_packages/httpd.md b/content/opensource_packages/httpd.md index 86120418..9ee1c0a7 100644 --- a/content/opensource_packages/httpd.md +++ b/content/opensource_packages/httpd.md @@ -1,6 +1,6 @@ --- name: Apache httpd -category: Web +category: Web Server description: The Apache HTTP Server, commonly called Apache, is a web server application known for playing a key role in the initial growth of the World Wide Web. download_url: https://archive.apache.org/dist/httpd/ works_on_arm: true diff --git a/content/opensource_packages/jenkins.md b/content/opensource_packages/jenkins.md index 41ba6917..1cd93a2c 100644 --- a/content/opensource_packages/jenkins.md +++ b/content/opensource_packages/jenkins.md @@ -1,6 +1,6 @@ --- name: Jenkins -category: CI/CD +category: DevOps description: Jenkins is an open-source continuous integration/continuous delivery and deployment (CI/CD) automation software DevOps tool written in the Java programming language. It is used to implement CI/CD workflows, called pipelines. download_url: https://get.jenkins.io/war-stable/ works_on_arm: true diff --git a/content/opensource_packages/kyverno.md b/content/opensource_packages/kyverno.md index 2f0af198..6df3ed09 100644 --- a/content/opensource_packages/kyverno.md +++ b/content/opensource_packages/kyverno.md @@ -1,6 +1,6 @@ --- name: Kyverno -category: Security & Compliance +category: Security applications description: Security applications download_url: https://github.com/kyverno/kyverno/releases works_on_arm: true diff --git a/content/opensource_packages/terraform.md b/content/opensource_packages/terraform.md index 637d9969..b036238f 100644 --- a/content/opensource_packages/terraform.md +++ b/content/opensource_packages/terraform.md @@ -1,6 +1,6 @@ --- name: Terraform -category: CI/CD +category: DevOps description: Terraform is an infrastructure as code tool. It is used to automate cloud infrastructure. download_url: https://developer.hashicorp.com/terraform/install works_on_arm: true diff --git a/content/opensource_packages/vitess.md b/content/opensource_packages/vitess.md index 4c6a466d..30d80399 100644 --- a/content/opensource_packages/vitess.md +++ b/content/opensource_packages/vitess.md @@ -1,6 +1,6 @@ --- name: Vitess -category: Database - SQL +category: Database description: Vitess is a database clustering system for horizontal scaling of MySQL through generalized sharding. download_url: https://github.com/vitessio/vitess/releases works_on_arm: true diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/package-display/_category_display.html b/themes/arm-design-system-hugo-theme/layouts/partials/package-display/_category_display.html index 61ca2804..81b48ada 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/package-display/_category_display.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/package-display/_category_display.html @@ -5,11 +5,11 @@ Category: OS & Languages -> Runtimes */}} -{{ $category := .Params.category}} +{{ $category := .}} {{ $group := ""}} -{{ if isset .Site.Data.category_data.subcategory_mapping $category }} - {{ $test_group := index .Site.Data.category_data.subcategory_mapping $category }} +{{ if isset site.Data.category_data.subcategory_mapping $category }} + {{ $test_group := index site.Data.category_data.subcategory_mapping $category }} {{ if ne $test_group nil }} {{ $group = $test_group }} {{end}} diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/package-display/row-sub.html b/themes/arm-design-system-hugo-theme/layouts/partials/package-display/row-sub.html index d84992da..3b51cbe4 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/package-display/row-sub.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/package-display/row-sub.html @@ -8,7 +8,7 @@
- {{partial "package-display/_category_display.html" .metadata}} + {{partial "package-display/_category_display.html" .metadata.Params.category}} {{partial "eco-dashboard/github-links.html" .metadata }} From a997105b7df80daaa61834751e3fea409ea76ce9 Mon Sep 17 00:00:00 2001 From: Zach Lasiuk Date: Mon, 18 Mar 2024 11:16:18 -0500 Subject: [PATCH 2/2] slight analytics modification --- .../static/js/anonymous-analytics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/arm-design-system-hugo-theme/static/js/anonymous-analytics.js b/themes/arm-design-system-hugo-theme/static/js/anonymous-analytics.js index 95ba4286..747f6a5c 100644 --- a/themes/arm-design-system-hugo-theme/static/js/anonymous-analytics.js +++ b/themes/arm-design-system-hugo-theme/static/js/anonymous-analytics.js @@ -118,7 +118,7 @@ document.addEventListener("DOMContentLoaded", function() { if (timer) clearTimeout(timer); // Clear timer if input detected timer = setTimeout(function() { - trackSearchInteraction('2_second_delay_after_search_change'); + trackSearchInteraction('delay_after_search_change'); }, input_delay); });