Skip to content
Snippets Groups Projects
Commit 542b73af authored by Gökmen Görgen's avatar Gökmen Görgen
Browse files

fix taxonomy and terms pages.

parent e956bbc5
No related branches found
Tags 1.1.0
No related merge requests found
{{ define "main" }}
{{ partial "header" . }}
<div class="main column">
<div class="content">
<div class="container">
<div class="content">
<div class="posts">
<div class="page-heading">{{ i18n "posts_about" . }}</div>
<ul>
{{ range .Data.Pages.ByPublishDate }}
{{ partial "list" . }}
{{ end }}
</ul>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-10">
<div class="markdown">
<h1>{{ i18n "posts_about" . }}</h1>
<ul>
{{ range .Data.Pages.ByPublishDate }}
{{ partial "list" . }}
{{ end }}
</ul>
</div>
</div>
</div>
</div>
......
{{ define "main" }}
{{ partial "header" . }}
<div class="content">
<div class="container">
<div class="row justify-content-center">
<div class="col-sm-12 col-md-10">
<div class="markdown">
<h1 class="mx-0 mx-md-4">{{ .Title }}</h1>
<p class="h4">
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms.Alphabetical }}
<a href="{{ $value.Name | urlize }}" class="badge badge-light text-monospace">
{{ $value.Name }}
<span class="badge badge-secondary">{{ $value.WeightedPages.Count }}</span>
</a>
{{ end }}
</p>
</div>
</div>
</div>
</div>
</div>
{{ partial "footer" . }}
{{ end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment