Skip to content

Commit

Permalink
Fix share buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
axsapronov committed May 12, 2016
1 parent ad18777 commit ffe0b41
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions digest/templates/digest/blocks/_feed_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,16 @@
<h4>
{% if read_link %}
{{ object.title }}


{% else %}
<a rel="nofollow"
href="{{ object.link }}"
onclick="trackUrl({{ item.pk }}, '{{ item.section }}', '{{ item.tags_as_str }}');"
target="_blank">
{{ object.title }}
</a>

{% endif %}

{% if like_link %}
Expand All @@ -70,7 +73,7 @@ <h4>
{% endif %}
</h4>

<div class="addthis_sharing_toolbox"></div>

<p>{{ object.description|default:''|img_local|img_center|img_responsive|img_lazy }}</p>

{% if object.additionally and object.additionally|oembed_no_urlize != object.additionally %}
Expand All @@ -82,12 +85,14 @@ <h4>


{% if read_link %}
<a rel="nofollow" class="btn btn-primary btn-sm"

<a rel="nofollow" class="btn btn-primary btn-sm pull-left"
href="{{ object.link }}"
onclick="trackUrl({{ item.pk }}, '{{ item.section }}', '{{ item.tags_as_str }}');"
target="_blank">Читать>></a>
<div class="addthis_sharing_toolbox pull-right"></div>
<br><br>
{% endif %}

</div>

</noindex>
Expand Down

0 comments on commit ffe0b41

Please sign in to comment.