From ed5b07374dc20fa4cf699252244f9d955f9f5d68 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 26 Dec 2024 19:54:09 -0400 Subject: [PATCH] fix: Use minus filter for subtraction in liquid template --- aider/website/_includes/blame.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/website/_includes/blame.md b/aider/website/_includes/blame.md index c650ab1d5..a7e0d9377 100644 --- a/aider/website/_includes/blame.md +++ b/aider/website/_includes/blame.md @@ -32,7 +32,7 @@ document.addEventListener('DOMContentLoaded', function () { }, { label: 'Lines by human', - data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.total_lines - row.aider_total }} },{% endfor %}], + data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.total_lines | minus: row.aider_total }} },{% endfor %}], backgroundColor: 'rgba(255, 99, 132, 0.8)', borderColor: 'rgba(255, 99, 132, 1)', borderWidth: 1