Lately.js fix

This commit is contained in:
Skywt2003 2021-08-10 22:07:03 +08:00
parent b63914bdd8
commit 3cf771d7c0
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
$("article pre").addClass("shadow rounded");
$("table").addClass("table");
});
Lately({'target' : '.lately-a, .lately-b, .lately-c'});
Lately({'target' : '.lately'});
</script>
<footer class="mt-5 mb-5" id="footer" role="footer">
<div class="container">

View File

@ -7,7 +7,7 @@
<div>
<span class="text-gray">
<i class="far fa-calendar-alt ml-1 mr-1"></i>
<time class="lately-a" datetime="<?php $this->date('c'); ?>" itemprop="datePublished" pubdate>Lately</time> |
<time class="lately" datetime="<?php $this->date('c'); ?>" itemprop="datePublished" pubdate>Lately</time> |
<time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date('Y-m-d D h:iA'); ?></time>
</span>
<?php if ($this->user->hasLogin()): ?>