From b2007bfc662ac3635431773e5dee61b139ef1028 Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 3 Mar 2020 23:15:05 +1000 Subject: [PATCH] made method checkbox IDs a bit shorter --- _includes/method.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/method.html b/_includes/method.html index 6ba994e..98683b0 100644 --- a/_includes/method.html +++ b/_includes/method.html @@ -4,12 +4,12 @@ {%- assign tag = "h4" -%} {%- endif -%} <{{tag}}>Method - {%- assign name = page.name | downcase | url_encode -%} -
    + {%- assign prefix = page.id | downcase | split: "/" | last | url_encode | prepend: "cb-" -%} +
      {% assign i = 1 -%} {%- for item in page.method -%} -
    1. - {%- assign i = i | plus: 1 -%} - {% endfor %} +
    2. + {% assign i = i | plus: 1 -%} + {%- endfor %}
    {%- endif -%}