github.com/bitcubate/cryptojournal@v1.2.5-0.20171102134152-f578b3d788ab/src/comments/views/index.html.got (about)

     1  <table class="mdl-data-table mdl-js-data-table  mdl-shadow--2dp full-width" >
     2    <thead>
     3      <tr>
     4        <th class="mdl-data-table__cell--non-numeric">User</th>
     5        <th class="mdl-data-table__cell--non-numeric full-width">Comment</th>
     6      </tr>
     7    </thead>
     8    <tbody>
     9    {{ $0 := . }}
    10    {{ range $i,$m := .comments }}
    11       {{ set $0 "i" $i }}
    12       {{ set $0 "comment" $m }}
    13       {{ template "comments/views/comment.html.got" $0 }}
    14    {{ end }}
    15    </tbody>
    16  </table>