forked from ruangrupa/lumbung.space
show hashtags in social cards
This commit is contained in:
parent
eda7f484ae
commit
66afbb9bde
@ -2,7 +2,12 @@
|
||||
<article class="h-entry shout">
|
||||
<header>
|
||||
{{ $postPermalink := .Permalink}}
|
||||
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
|
||||
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">
|
||||
{{ range $i, $e := .Params.tags -}}
|
||||
{{- if $i -}}, {{ end -}}
|
||||
<a href='{{ "/tags/" | relLangURL }}{{ . | urlize }}'>#{{ $e | humanize }}</a>
|
||||
{{- end -}}
|
||||
</a></h2>
|
||||
</header>
|
||||
|
||||
{{ with (index (.Resources.ByType "image") 0) }}
|
||||
|
@ -739,4 +739,8 @@ footer a:hover {
|
||||
min-width: none;
|
||||
max-width: 16ch;
|
||||
}
|
||||
|
||||
.card.shout h2 a {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user