Skip to content

Commit a118715

Browse files
committed
fixes
1 parent de2f8be commit a118715

File tree

5 files changed

+34
-13
lines changed

5 files changed

+34
-13
lines changed

config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ disqusShortname = ""
1010
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$", "index\\.html", '\.knit\.md$', '\.utf8\.md$']
1111
rssLimit = 5
1212
removePathAccents = true
13-
disableKinds = ["taxonomyTerm"]
1413

1514
[permalinks]
1615
post = "/:year/:month/:day/:slug/"

content/tags/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Tags
3+
description: Posts by tag
4+
---

layouts/_default/list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ partial "header.html" . }}
1+
{{ define "main" }}
22

33
<main class="content list" role="main" id="archive">
44
<section class="content">
@@ -50,4 +50,4 @@ <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
5050
</section>
5151
</main>
5252

53-
{{ partial "footer.html" . }}
53+
{{ end }}

layouts/authors/terms.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@
55

66
<article class="article">
77

8-
<h1 class="article-title">Authors</h1>
8+
<h1 class="article-title">{{ .Title }}</h1>
99

1010

1111
<div class="article-content">
12-
{{ $max := (len .Data.Terms) }}
13-
{{ range $key, $value := .Data.Terms.ByCount }}
14-
<a href="{{ $value.Page.Permalink }}">
15-
<div class="author-label">
16-
<span class="author-name">{{ $value.Page.Params.name }}</span>
17-
<span class="author-post">({{ $value.Count }})</span>
18-
</div>
19-
</a>
20-
{{ end }}
12+
{{ range $key, $value := .Data.Terms.ByCount }}
13+
{{ if $key }} · {{ end}}
14+
<a href="{{ $value.Page.Permalink }}">{{ $value.Page.Params.name }} ({{ $value.Count }})</a>
15+
{{ end }}
16+
2117
</div>
2218
</article>
2319

layouts/tags/terms.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
{{ define "main" }}
3+
4+
<main class="content" role="main">
5+
6+
<article class="article">
7+
8+
<h1 class="article-title">{{ .Title }}</h1>
9+
10+
11+
<div class="article-content">
12+
{{ range $key, $value := .Data.Terms.ByCount }}
13+
{{ if $key }} · {{ end}}
14+
<a href="{{ $value.Page.Permalink }}">{{ $value.Name }} ({{ $value.Count }})</a>
15+
{{ end }}
16+
17+
</div>
18+
</article>
19+
20+
21+
</main>
22+
{{ end }}

0 commit comments

Comments
 (0)