This is an automated email from the ASF dual-hosted git repository.

niallp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git


The following commit(s) were added to refs/heads/main by this push:
     new b5558c9  Remove limit on number of "Year" links in a row (doesn't work 
for mobile phones) - plus its extra complexity
b5558c9 is described below

commit b5558c927ba00b7a938f2d1dd29557f764502287
Author: Niall Pemberton <niall.pember...@gmail.com>
AuthorDate: Mon May 5 23:05:21 2025 +0100

    Remove limit on number of "Year" links in a row (doesn't work for mobile 
phones) - plus its extra complexity
---
 tracking.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tracking.md b/tracking.md
index 85dd4f5..1e9f2ba 100644
--- a/tracking.md
+++ b/tracking.md
@@ -42,8 +42,7 @@ used to track the move.
 {% assign no_of_years = 20 %}
 
 {% for year in site.data.years_array limit: no_of_years -%}
-{% capture mod -%}{{forloop.index0 | modulo: 10}}{%- endcapture -%} 
-{%- if mod == '0' %}<br />{% endif 
%}[{{year['year']}}](#attic-{{year['year']}}){: .btn 
style="font-family:SFMono-Regular;" }&nbsp;
+[{{year['year']}}](#attic-{{year['year']}}){: .btn 
style="font-family:SFMono-Regular;" }&nbsp;
 {%- endfor -%}
 
 

Reply via email to