Skip to content

Commit 8a5429e

Browse files
committed
link to categories
1 parent 9254e57 commit 8a5429e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1 class="post-title" itemprop="name headline">{{ .Title }}</h1>
1212
<span itemprop="author" itemscope itemtype="http://schema.org/Person"> by <span itemprop="name">{{ site.Params.author }}</span></span>
1313
and published in <a href="{{ site.BaseURL }}">{{ site.Title }}</a>.
1414
{{- with .Params.categories }}
15-
Labeled as {{ range $i, $cat := . }}{{ if $i }}{{ if eq $i (sub (len $.Params.categories) 1) }} and {{ else }}, {{ end }}{{ end }}<em>{{ $cat }}</em>{{ end }}.
15+
Labeled as {{ range $i, $cat := . }}{{ if $i }}{{ if eq $i (sub (len $.Params.categories) 1) }} and {{ else }}, {{ end }}{{ end }}<a href="{{ site.BaseURL }}categories/{{ $cat | urlize }}/index.html">{{ $cat }}</a>{{ end }}.
1616
{{- end }}
1717
</p>
1818
</header>

static/_headers

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
/fonts/*
88
Cache-Control: public, max-age=31536000, immutable
99

10-
/*.min.*.css
10+
/:name.min.:hash.css
1111
Cache-Control: public, max-age=31536000, immutable
1212

13-
/*.min.*.js
13+
/:name.min.:hash.js
1414
Cache-Control: public, max-age=31536000, immutable

0 commit comments

Comments
 (0)