From 877c71167630fdfddadda53a2654071d7ffc41a8 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 20:04:24 +0000 Subject: [PATCH] Refactor: Extract tag rendering to a partial in layouts/tags/terms.html Created a new partial `layouts/partials/tag_li.html` to handle the rendering of tag list items. Refactored `layouts/tags/terms.html` to use this partial for both 'Sorted by count' and 'Sorted alphabetically' sections, reducing code duplication. Co-authored-by: k4rtik <374340+k4rtik@users.noreply.github.com> --- layouts/partials/tag_li.html | 3 +++ layouts/tags/terms.html | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 layouts/partials/tag_li.html diff --git a/layouts/partials/tag_li.html b/layouts/partials/tag_li.html new file mode 100644 index 0000000..73833cd --- /dev/null +++ b/layouts/partials/tag_li.html @@ -0,0 +1,3 @@ +