github.com/bitcubate/cryptojournal@v1.2.5-0.20171102134152-f578b3d788ab/src/stories/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">Comments</th>
     5        <th class="mdl-data-table__cell--non-numeric">Rank</th>
     6        <th class="mdl-data-table__cell--non-numeric full-width">Story</th>
     7      </tr>
     8    </thead>
     9    <tbody>
    10    {{ $0 := . }}
    11    {{ range .stories }}
    12       {{ set $0 "story" . }}
    13       {{ template "stories/views/row.html.got" $0 }}
    14    {{ end }}
    15    {{ if eq (len .stories) 100 }}
    16    <li class="more_link story"><a href="?page={{add .page 1 }}">Show More</a></li>
    17    {{ end }}
    18    </tbody>
    19  </table>
    20  
    21  
    22  
    23  
    24  
    25