diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-30 18:29:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-30 18:29:06 +0200 |
commit | 75c4b0d03b6e9a4323675091dbfa664a1bd006eb (patch) | |
tree | 2c058a87e831e9dfb22d9087f5fdaa5d66eaeefc /tpl/vintage/daily.html | |
parent | 1412d2c245aeed41f1aad928b0aab9d292c1b383 (diff) | |
parent | bf3c9934d2dc02cead5995570239c5c6230ed5e5 (diff) | |
download | Shaarli-75c4b0d03b6e9a4323675091dbfa664a1bd006eb.tar.gz Shaarli-75c4b0d03b6e9a4323675091dbfa664a1bd006eb.tar.zst Shaarli-75c4b0d03b6e9a4323675091dbfa664a1bd006eb.zip |
Merge pull request #1191 from ArthurHoaro/hotfix/daily-thumb
Fix fatal error on daily page: use new thumbnail system
Diffstat (limited to 'tpl/vintage/daily.html')
-rw-r--r-- | tpl/vintage/daily.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tpl/vintage/daily.html b/tpl/vintage/daily.html index ede35910..00148a58 100644 --- a/tpl/vintage/daily.html +++ b/tpl/vintage/daily.html | |||
@@ -68,8 +68,12 @@ | |||
68 | <div class="dailyEntryTitle"> | 68 | <div class="dailyEntryTitle"> |
69 | <a href="{$link.real_url}">{$link.title}</a> | 69 | <a href="{$link.real_url}">{$link.title}</a> |
70 | </div> | 70 | </div> |
71 | {if="$link.thumbnail"} | 71 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} |
72 | <div class="dailyEntryThumbnail">{$link.thumbnail}</div> | 72 | <div class="dailyEntryThumbnail"> |
73 | <img data-src="{$link.thumbnail}#" class="b-lazy" | ||
74 | src="#" | ||
75 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | ||
76 | </div> | ||
73 | {/if} | 77 | {/if} |
74 | <div class="dailyEntryDescription">{$link.formatedDescription}</div> | 78 | <div class="dailyEntryDescription">{$link.formatedDescription}</div> |
75 | 79 | ||
@@ -97,5 +101,6 @@ | |||
97 | <div id="closing"><img src="img/squiggle_closing.png" width="66" height="61" alt="-"></div> | 101 | <div id="closing"><img src="img/squiggle_closing.png" width="66" height="61" alt="-"></div> |
98 | </div> | 102 | </div> |
99 | {include="page.footer"} | 103 | {include="page.footer"} |
104 | <script src="js/thumbnails.min.js?v={$version_hash}"></script> | ||
100 | </body> | 105 | </body> |
101 | </html> | 106 | </html> |