<div id="social-share" class="sidebar-divider"></div>
<h2><%= share_title %></h2>
<div class="social-share-full">
  <%= social_share_button_tag("#{title} #{setting['twitter_hashtag']}") %>
  <a href="whatsapp://send?text=<%= title.gsub(/\s/, '%20') %>&nbsp;<%= url %>"
     class="show-for-small-only" data-action="share/whatsapp/share">
    <span class="icon-whatsapp whatsapp"></span>
    <span class="sr-only"><%= t("social.whatsapp") %></span>
  </a>
</div>

Create shared partial for Social Share block
Create shared partial for Social Share block
