diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-29 17:26:37 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-29 17:26:37 -0600 |
commit | d4f78e859b2541cd0f3276689a08b0af6e3213fe (patch) | |
tree | 10aba4fdcf5fa6f079eaa26202ae55b7806051d3 /templates | |
parent | 353e48df5a102555b457647e683e19412189f3f3 (diff) | |
download | where-packaged-d4f78e859b2541cd0f3276689a08b0af6e3213fe.tar.gz where-packaged-d4f78e859b2541cd0f3276689a08b0af6e3213fe.zip |
don't fuck things up
Diffstat (limited to 'templates')
-rw-r--r-- | templates/badge.svg.jinja | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/badge.svg.jinja b/templates/badge.svg.jinja index fe2da3f..972c39a 100644 --- a/templates/badge.svg.jinja +++ b/templates/badge.svg.jinja @@ -2,7 +2,7 @@ {%- set ROW_MARGIN = 2 -%} {%- set FONT_SIZE_PERCENT = 75 -%} {%- set FONT_SIZE = (ROW_HEIGHT - ROW_MARGIN) * FONT_SIZE_PERCENT / 100 -%} -{%- set ROWS = 1 + versions|length + (versions.items()|map('length')|sum) -%} +{%- set ROWS = 1 + versions|length + (versions.values()|map('length')|sum) -%} {%- set OUTER_MARGIN = 5 -%} {%- set REPO_LEFT_MARGIN = 15 -%} {%- set FONT_WIDENESS = 0.5 -%} |