💄 Arrange la liste de tag
This commit is contained in:
parent
94877013bd
commit
27fae1919f
@ -198,6 +198,22 @@ ba {
|
||||
|
||||
bt {
|
||||
font-size: 12px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul.tag-list {
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.tag-list li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul.tag-list li:not(:last-child):after {
|
||||
content: ", ";
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* ================== PORTFOLIO IMAGES HOVER EFFECT ================== */
|
||||
|
@ -1,16 +1,19 @@
|
||||
{{- if or .Params.categories .Params.tags -}}
|
||||
<p>
|
||||
<div>
|
||||
<bt>CATÉGORIES :
|
||||
{{- range .Params.categories -}}
|
||||
{{- $url := print "/categories/" (. | urlize) "/" -}}
|
||||
<a class="category" href={{- $url | relLangURL -}}>{{- . -}}</a> -
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</bt>
|
||||
<bt>TAGS :
|
||||
{{- range .Params.tags -}}
|
||||
<bt>TAGS : </bt>
|
||||
<ul class="tag-list">
|
||||
{{- range .Params.tags -}}
|
||||
{{- $url := print "/tags/" (. | urlize) "/" -}}
|
||||
<a class="tag" href={{- $url | relLangURL -}}>{{- . -}}</a>
|
||||
{{- end -}}
|
||||
</bt>
|
||||
</p>
|
||||
<li><a $url -}} class="tag" href={{- relLangURL |>
|
||||
<bt>{{- . -}}</bt>
|
||||
</a></li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</div>
|
||||
{{- end -}}
|
@ -1,8 +1,8 @@
|
||||
{{- if or .Params.categories .Params.tags -}}
|
||||
<p class="note labels">
|
||||
<ul class="note labels tag-list">
|
||||
{{- range .Params.tags -}}
|
||||
{{- $url := print "/tags/" (. | urlize) "/" -}}
|
||||
<a class="tag" href="{{- $url | relLangURL -}}">{{- . -}}</a>
|
||||
{{- $url := print "/tags/" (. | urlize) "/" -}}
|
||||
<li><a class="tag" href="{{- $url | relLangURL -}}">{{- . -}}</a></li>
|
||||
{{- end -}}
|
||||
</p>
|
||||
</ul>
|
||||
{{- end -}}
|
Loading…
Reference in New Issue
Block a user