diff options
| -rw-r--r-- | layouts/partials/social_links.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/social_links.html b/layouts/partials/social_links.html index 67501ee..3dba7e1 100644 --- a/layouts/partials/social_links.html +++ b/layouts/partials/social_links.html @@ -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> |
