forked from wallabag/wallabag
Remove preview picture from single entry view page for #1875
Showing the preview picture usually leads to showing a duplicate image, and frequently leads to showing duplicate images directly adjacent to each other.
This commit is contained in:
@ -96,9 +96,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
{% if entry.previewPicture is not null %}
|
|
||||||
<div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|e|raw }}" /></div>
|
|
||||||
{% endif %}
|
|
||||||
<article>
|
<article>
|
||||||
{{ entry.content | raw }}
|
{{ entry.content | raw }}
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@ -275,10 +275,6 @@
|
|||||||
{{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}
|
{{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if entry.previewPicture is not null %}
|
|
||||||
<div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}" /></div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
<article>
|
<article>
|
||||||
{{ entry.content | raw }}
|
{{ entry.content | raw }}
|
||||||
|
|||||||
Reference in New Issue
Block a user