1 2 3 4 5 6 7
%ul.content-list = render partial: 'shared/snippets/snippet', collection: @snippets - if @snippets.empty? %li .nothing-here-block 没有内容。 = paginate @snippets, theme: 'gitlab'