mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-30 15:25:16 +01:00
Remove preview picture from share view page for #1875
Essentially, same as commit 038fccd for single entry views. From that commit: > 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:
parent
570113208b
commit
19822ecb31
@ -29,9 +29,6 @@
|
|||||||
<h1>{{ entry.title|e|raw }}</h1>
|
<h1>{{ entry.title|e|raw }}</h1>
|
||||||
<a href="{{ entry.url|e }}" target="_blank" rel="noopener" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a>
|
<a href="{{ entry.url|e }}" target="_blank" rel="noopener" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a>
|
||||||
<p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p>
|
<p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p>
|
||||||
{% if entry.previewPicture is not null %}
|
|
||||||
<img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" />
|
|
||||||
{% endif %}
|
|
||||||
</header>
|
</header>
|
||||||
<article class="block">
|
<article class="block">
|
||||||
{{ entry.content | raw }}
|
{{ entry.content | raw }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user