@include(snippets/header)
<div id="main">
  <div class="container">
    <h3 style="text-align: center;">☯</h3>
    <div class="tags">
      @if(session)
      @each(toptags_regged as toptag)
      <div class="tag badge badge-light mr-2">
        <div class="tagbox-body">
          <span class="toptag_id">{!! toptag.tag !!}</span>
          <span class="toptag_tag"><a href="/tag/{!! toptag.tag !!}">{{ toptag.total_items }}</a></span>
        </div>
      </div>
      @endeach
      @else
      @each(toptags as toptag)
      <div class="tag badge badge-light mr-2">
        <div class="tagbox-body">
          <span class="toptag_id">{!! toptag.tag !!}</span>
          <span class="toptag_tag"><a href="/tag/{!! toptag.tag !!}">{{ toptag.total_items }}</a></span>
        </div>
      </div>
      @endeach
      @endif
    </div>
  </div>
</div>
@include(snippets/footer)
