fix social_links missing twitter.id
This commit is contained in:
parent
524fef2551
commit
c0cb12e100
|
@ -1,11 +1,13 @@
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
{{ with .Params.socialLinks.twitter }}
|
{{ with .Params.socialLinks.twitter }}
|
||||||
|
{{ if (and .id .user) }}
|
||||||
<div class="tweet-container">
|
<div class="tweet-container">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
Discuss on twitter
|
Discuss on twitter
|
||||||
</div>
|
</div>
|
||||||
{{- template "render-tweet" (dict "id" .id "user" .user "dnt" true) -}}
|
{{- template "render-tweet" (dict "id" .id "user" .user "dnt" true) -}}
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue