Skip to content

Commit

Permalink
add auto updating year
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutdavid committed Jan 6, 2024
1 parent f322df6 commit 9b3ddcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _includes/base.njk
Expand Up @@ -55,14 +55,15 @@
</body>
<footer>
<script inline src="/utils.js"></script>
&copy; 2019-2023 aboutdavid.me. All Rights Reserved.<br>
&copy; 2019-<span id="year">2024</span> aboutdavid.me. All Rights Reserved.<br>
Running build <abbr title="{{ git.full }}"><a href="https://github.com/aboutdavid/website/commit/{{ git.full }}" target="_blank" style="text-decoration:none;">{{ git.short }}</a></abbr> from {{ git.date }}. Branch: {% if env.BRANCH %}{{ env.BRANCH }}{% else %}unknown{% endif%}<br>
You can subscribe to my <a href="/feed.xml">RSS/Atom feed</a> or my <a href="/feed.json">JSON feed</a><br>
This website is <a href="https://github.com/aboutdavid/website" target="_blank">open-source</a>.
<a href="https://www.abuseipdb.com/user/49168" style="display: none;" title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks">
<img src="https://www.abuseipdb.com/contributor/49168.svg" alt="AbuseIPDB Contributor Badge" style="width: 0px; display: none;">
</a>
<script async defer src="https://sa.aboutdavid.me/latest.js"></script>
<script>document.querySelector("#year").innerText=new Date().getFullYear()</script>
<noscript><img src="https://sa.aboutdavid.me/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
</footer>
</html>

0 comments on commit 9b3ddcd

Please sign in to comment.