This website works better with JavaScript.
Home
Explore
Help
Sign In
adrian
/
author
Watch
1
Star
0
Fork
0
Code
Issues
3
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Don't output tags partial if there are no tags
master
Adrian Short
5 years ago
parent
887423340b
commit
d7a893b2b9
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
layouts/partials/tags.html
+ 2
- 0
layouts/partials/tags.html
View File
@@ -1,5 +1,7 @@
{{ if .Params.tags }}
<ul class="tags">
{{ range sort .Params.tags }}
<li><a href="{{ relURL "/tags/" }}{{ . | urlize }}/">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}
Write
Preview
Loading…
Cancel
Save