make tags for social card on separate lines

This commit is contained in:
Aadil Ayub 2022-01-13 16:36:38 +05:00
parent 28c59acb34
commit 46cd61307e
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{{ $postPermalink := .Permalink}}
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">
{{ range $i, $e := .Params.tags -}}
{{- if $i -}}, {{ end -}}
{{- if $i -}} {{ end -}}
<a href='{{ "/tags/" | relLangURL }}{{ . | urlize }}'>#{{ $e | humanize }}</a>
{{- end -}}
</a></h2>

View File

@ -436,6 +436,7 @@ div.network-source {
.card.shout h2 a {
color: var(--social-dark);
cursor: pointer;
display: block;
}
.card .card.shout h2 a:hover {