aboutsummaryrefslogtreecommitdiff
path: root/daily.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
committerneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
commite1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch)
treeae3450c92daec3b99059a569510a24d6ab6753a6 /daily.html
parent03588331342e2a401ae4a8617f6225325d099fa7 (diff)
downloadshaarli_ascii-master.tar.xz
shaarli_ascii-master.zip
Update theme to current shaarli versionHEAD0.11master0.11
Diffstat (limited to '')
-rw-r--r--daily.html21
1 files changed, 15 insertions, 6 deletions
diff --git a/daily.html b/daily.html
index 29d845d..6b5103a 100644
--- a/daily.html
+++ b/daily.html
@@ -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>