projects
/
brevno-suite
/
themes
/
xmin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
307a0a9
)
I guess it is unnecessary (perhaps even wrong) to urlize terms
author
Yihui Xie
<xie@yihui.name>
Mon, 19 Jun 2017 19:19:12 +0000
(14:19 -0500)
committer
Yihui Xie
<xie@yihui.name>
Mon, 19 Jun 2017 19:19:12 +0000
(14:19 -0500)
layouts/_default/terms.html
patch
|
blob
|
history
diff --git
a/layouts/_default/terms.html
b/layouts/_default/terms.html
index 47a9c0ab742978f9afb06d0cd560431a8ea4ea7f..b21e866dc70ac9eb672ea1294ea2f12b18472683 100644
(file)
--- a/
layouts/_default/terms.html
+++ b/
layouts/_default/terms.html
@@
-5,7
+5,7
@@
<ul class="terms">
{{ range $key, $value := .Data.Terms }}
<li>
- <a href="{{ (print "/" $.Data.Plural "/"
($key | urlize)
) | relURL }}">
+ <a href="{{ (print "/" $.Data.Plural "/"
$key
) | relURL }}">
{{ $key }}
</a>
({{ len $value }})