fix social_links missing twitter.id

This commit is contained in:
Reorx 2022-05-12 16:26:08 +08:00
parent 524fef2551
commit c0cb12e100
1 changed files with 2 additions and 0 deletions

View File

@ -1,11 +1,13 @@
<div class="social-links">
{{ with .Params.socialLinks.twitter }}
{{ if (and .id .user) }}
<div class="tweet-container">
<div class="title">
Discuss on twitter
</div>
{{- template "render-tweet" (dict "id" .id "user" .user "dnt" true) -}}
</div>
{{ end }}
{{ end }}
</div>