blob: cb44e71d2478c3b2774d8e8d89e7ff514ce9b820 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<style>
#cat-category {
font-size: small;
color: red;
}
#vim-category {
font-size: small;
color: #2abb01;
}
</style>
<li>
<a href="{{ .Permalink }}">
{{ .Title }}
{{ if isset .Params "category" }}
{{ if eq .Params.Category "cats" }}
<span id="cat-category">[{{ lower .Params.Category }}]</span>
{{ else if (eq .Params.Category "vim") }}
<span id="vim-category">[{{ lower .Params.Category }}]</span>
{{ end }}
{{ end }}
<small><time>{{ .Date.Format "2 Jan, 2006" }}</time></small>
</a>
</li>
|