Skip to content

Commit

Permalink
Fix off-by-one error when spanning multiple normal parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
neobrain committed Dec 14, 2024
1 parent a1e6c4d commit a794c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/ipc/param.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
{{ .Page.Scratch.Set "ipcindex" (add $ipcindex $span) }}

<tr>
<td>{{ $ipcindex }}{{ if ne $span 1 }}-{{ add $span 1 }}{{ end }}</td>
<td>{{ $ipcindex }}{{ if ne $span 1 }}-{{ $span }}{{ end }}</td>
<td>{{ .Inner }}</td>
</tr>

0 comments on commit a794c1f

Please sign in to comment.