use Bootstrap ListGroup for terms page

This commit is contained in:
Stefan Haider 2017-02-26 12:49:39 +01:00
parent 77a8fc4a30
commit 5b5a8d80dd

View File

@ -6,31 +6,20 @@
<body>
{{ partial "nav.html" . }}
{{ partial "header_wp.html" . }}
<header class="header-section ">
<div class="intro-header no-img">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="page-heading">
<h2>{{ .Title }}</h2>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="container" role="main">
<div class="container" role="main">
<article class="post-preview">
<div class="list-group col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3">
{{ range $key, $value := .Data.Terms.ByCount }}
<li>
<a href="/tags/{{ $value.Name | urlize }}">
{{ $value.Name }}({{ $value.Count }})</a>
</li>
{{ $value.Name }}<span class="badge">{{ $value.Count }}</span></a>
{{ end }}
</div>
</article>
</div>
{{ partial "footer.html" . }}
</body>
</html>
</html>