File tree Expand file tree Collapse file tree 3 files changed +32
-8
lines changed
Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,17 @@ <h1 class="title">{{ .Title }}</h1>
1515 </ div >
1616
1717 < div class ="post-tags ">
18- < small >
19- {{ if ne .Type "page" }}
20- {{ if gt .Params.tags 0 }}
21- {{ range .Params.tags }}
22- < a href ="{{ "/tags/" | relLangURL }}{{ . | urlize }}"> {{ . }}</ a >
23- {{ end }}
24- {{ end }}
18+ {{ if ne .Type "page" }}
19+ {{ if gt .Params.tags 0 }}
20+ < nav class ="nav tags ">
21+ < ul class ="flat ">
22+ {{ range .Params.tags }}
23+ < li > < a href ="{{ "/tags/" | relLangURL }}{{ . | urlize }}"> {{ . }}</ a > </ li >
24+ {{ end }}
25+ </ ul >
26+ </ nav >
2527 {{ end }}
26- </ small >
28+ {{ end }}
2729 </ div >
2830
2931 {{- $.Scratch.Set "isDisqus" true -}}
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ a:hover {
3434 opacity : 0.8 ;
3535}
3636
37+ .post-tags .tags a {
38+ border : 1px solid # fff ;
39+ color : # fff ;
40+ }
41+
3742.header nav ,
3843.footer {
3944 border-color : # 333 ;
Original file line number Diff line number Diff line change @@ -301,6 +301,23 @@ ul {
301301 background-color : # f9f2f4 ;
302302}
303303
304+ .post-tags .tags li {
305+ margin-bottom : 0 ;
306+ margin-top : 20px ;
307+ }
308+
309+ .post-tags .tags a {
310+ display : inline-block;
311+ border : 1px solid # a00 ;
312+ border-radius : 4px ;
313+ padding : 0px 6px ;
314+ color : # a00 ;
315+ line-height : 20px ;
316+ font-size : 12px ;
317+ text-decoration : none;
318+ margin : 0 1px ;
319+ }
320+
304321.list .posts .post .meta {
305322 margin-bottom : 0 ;
306323 margin-left : 5px ;
You can’t perform that action at this time.
0 commit comments