Skip to content

Commit

Permalink
add gpios
Browse files Browse the repository at this point in the history
  • Loading branch information
blakadder committed Aug 30, 2023
1 parent 424da4e commit f914f41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _includes/gpios.html
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,13 @@
{% else %}<td>{{ forloop.index0 | prepend: 'GPIO' }}</td>
{% endif %}

{% elsif page.templates2 != nil %}
{% elsif page.templatec6 != nil %}
{% if forloop.index0 > 21 %}<td>{{ forloop.index0 | plus: 11 | prepend: 'GPIO' }}</td>
{% elsif forloop.index <= 10 %}<td>{{ forloop.index0 | prepend: 'GPIO0' }}</td>
{% else %}<td>{{ forloop.index0 | prepend: 'GPIO' }}</td>
{% endif %}

{% elsif page.templates2 != nil %}
{% if forloop.index0 > 21 %}<td>{{ forloop.index0 | plus: 11 | prepend: 'GPIO' }}</td>
{% elsif forloop.index <= 10 %}<td>{{ forloop.index0 | prepend: 'GPIO0' }}</td>
{% else %}<td>{{ forloop.index0 | prepend: 'GPIO' }}</td>
Expand Down
File renamed without changes.

0 comments on commit f914f41

Please sign in to comment.