Skip to content

Commit

Permalink
Fix gomplate incorrect function
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed May 4, 2024
1 parent d25b62b commit 232994d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/cs306/user-vms/vps.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ <h2>SSH Usage</h2>
<section>
<h2>Users</h2>
<ol class="users-list">
{{ range $i := until (len .users) }}
{{ range $i_ := math.Seq (len .users) }}
<li>
{{ $i := math.Sub $i_ 1 }}
{{ $user := index .users $i }}
{{ $info := index .usersInfo $i }}
<b class="user-id">{{ $user.id }}</b>
Expand Down

0 comments on commit 232994d

Please sign in to comment.