1
1
Fork 0
forked from fun/fun

Some web fixes. No code changes. (0.42.2)

This commit is contained in:
Johannes Findeisen 2026-06-18 10:00:27 +02:00
commit 0314f37f2c
2 changed files with 12 additions and 1 deletions

View file

@ -15,4 +15,15 @@
<script src="/js/jquery-3.6.4.min.js" charset="{{ site.charset }}"></script>
<script src="/js/js-cookie-3.0.5.min.js" charset="{{ site.charset }}"></script>
<script src="/js/matomo.min.js" charset="{{ site.charset }}"></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
const links = document.querySelectorAll('a');
links.forEach(link => {
if (link.hostname !== window.location.hostname) {
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener noreferrer');
}
});
});
</script>
</head>

View file

@ -33,7 +33,7 @@ permalink: /
<!--<p><a href="/about/">More about Fun</a><p>-->
<h2>Blog (<a href="/feed/" title="Blog Feed" class="rss">Feed</a>)</h2>
<h2>News (<a href="/feed/" title="Blog Feed" class="rss">Feed</a>)</h2>
{% for post in site.tags.pinned %}
<article class="post-content">