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

View File

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