diff options
author | neodarz <neodarz@neodarz.net> | 2019-08-28 12:21:29 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-08-28 12:21:29 +0200 |
commit | e1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch) | |
tree | ae3450c92daec3b99059a569510a24d6ab6753a6 /daily.html | |
parent | 03588331342e2a401ae4a8617f6225325d099fa7 (diff) | |
download | shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.tar.xz shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.zip |
Diffstat (limited to '')
-rw-r--r-- | daily.html | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html{if="$language !== 'auto'"} lang="{$language}"{/if}> <head> {include="includes"} </head> @@ -44,7 +44,12 @@ </div> </div> <div> - <h3 class="window-subtitle">{function="format_date($dayDate, false)"}</h3> + <h3 class="window-subtitle"> + {if="!empty($dayDesc)"} + {$dayDesc} - + {/if} + {function="format_date($dayDate, false)"} + </h3> <div id="plugin_zone_about_daily" class="plugin_zone"> {loop="$daily_about_plugin"} @@ -69,9 +74,12 @@ </a> <a href="{$link.real_url}">{$link.title}</a> </div> - {$thumb=thumbnail($value.url)} - {if="$thumb!=false"} - <div class="daily-entry-thumbnail">{$thumb}</div> + {if="$thumbnails_enabled && !empty($link.thumbnail)"} + <div class="daily-entry-thumbnail"> + <img data-src="{$link.thumbnail}#" class="b-lazy" + src="" + alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> + </div> {/if} <div class="daily-entry-description">{$link.formatedDescription}</div> {if="$link.tags"} @@ -83,7 +91,7 @@ {/loop} </div> {/if} - <div class="dailyEntryFooter"> + <div class="dailyEntryFooter clear"> {loop="$link.link_plugin"} {$value} {/loop} @@ -108,6 +116,7 @@ </div> </div> {include="page.footer"} +<script src="js/thumbnails.min.js?v={$version_hash}"></script> </body> </html> |