mshj_blog/public/posts/test-post/index.html
2026-02-28 21:12:23 -05:00

183 lines
No EOL
7.9 KiB
HTML

<!DOCTYPE html>
<html><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
<link rel="stylesheet" href="/css/styles.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head><body><header class="homepage-header">
</header><div id="content"><header class="homepage-header">
<div class="container">
<div class = "header-container">
<h1><a href="/">mshj.net</a></h1>
<span id="mini-header" class="mini-header"></span>
</div>
</div>
</header>
<script src="/js/topbar.js"></script>
<main>
<div class="container">
<div class="components components-grid">
<div>
<aside id="menu">
<img src="/images/punpun.jpg" alt="keeper pfp">
<h3><a href="/">go home</a></h3>
<nav>
<ul>
<li><strong>useful links</strong></li>
</ul>
<ul>
<li><strong>blog categories</strong></li>
<li>
<a href="//localhost:1313/categories/games/">games</a>
</li>
<li>
<a href="//localhost:1313/categories/hugo/">hugo</a>
</li>
<li>
<a href="//localhost:1313/categories/terminal/">terminal</a>
</li>
</ul>
</nav>
<div class="neocities-buttons">
<strong>buttons</strong>
<div class="button-slideshow">
<a href="https://dimden.dev/"><img src="https://dimden.dev/services/images/88x31.gif" alt="dimden"></a>
<a href="https://neocities.org/"><img src="https://neocities.org/img/neocities_88x31.gif" alt="neocities"></a>
<a href="https://www.w3.org/html/logo/"><img src="https://www.w3.org/html/logo/badge/html5-badge-h-solo.png" alt="html5"></a>
<a href="https://yesterweb.org/"><img src="https://yesterweb.org/img/badge.png" alt="yesterweb"></a>
</div>
</div>
</aside>
</div>
<div class = "main-content">
<main>
<article class="card-container">
<header><h1>Test Post</h1></header>
<div class="content-wrapper">
<p>2023-07-22</p>
<div class="tag-list">
<strong>Categories:</strong>
<a href="/categories/games" class="tag-link">games</a>
</div>
<br>
<h2 id="introduction">Introduction</h2>
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p>
</div>
</article>
<div class="comments-container">
<h3>comments</h3>
<section id="isso-thread">
<script data-isso="http://localhost:8080/"
data-isso-require-email="false"
data-isso-require-author="false"
data-isso-reply-notifications="false"
data-isso-input-type="textarea"
src="http://localhost:8080/js/embed.min.js"></script>
<script>
(function() {
var avatars = [
'/images/avatars/avatar1.jpg',
'/images/avatars/avatar2.png',
'/images/avatars/avatar3.png'
];
function hashName(str) {
var hash = 0;
str = (str || 'anonymous').toLowerCase().trim();
for (var i = 0; i < str.length; i++) {
hash = ((hash << 5) - hash) + str.charCodeAt(i);
hash |= 0;
}
return Math.abs(hash);
}
function replaceAvatars() {
var comments = document.querySelectorAll('#isso-thread .isso-comment');
comments.forEach(function(comment) {
if (comment.dataset.avatarSet) return;
var authorEl = comment.querySelector('.isso-author');
var avatarEl = comment.querySelector('.isso-avatar, svg');
if (avatarEl) {
var name = authorEl ? authorEl.textContent : 'anonymous';
var idx = hashName(name) % avatars.length;
var img = document.createElement('img');
img.src = avatars[idx];
img.alt = name;
img.className = 'isso-custom-avatar';
avatarEl.parentNode.replaceChild(img, avatarEl);
comment.dataset.avatarSet = '1';
}
});
}
var check = setInterval(function() {
var nameInput = document.querySelector('#isso-thread .isso-postbox-author input, #isso-thread .isso-input-wrapper:first-of-type input[type="text"]');
if (nameInput) {
nameInput.placeholder = 'Name (optional)';
var label = nameInput.closest('.isso-input-wrapper, .isso-postbox-author');
if (label) {
var labelEl = label.querySelector('label');
if (labelEl) labelEl.style.display = 'none';
}
clearInterval(check);
}
}, 100);
var observer = new MutationObserver(replaceAvatars);
var waitForThread = setInterval(function() {
var thread = document.getElementById('isso-thread');
if (thread) {
observer.observe(thread, { childList: true, subtree: true });
replaceAvatars();
clearInterval(waitForThread);
}
}, 200);
})();
</script>
<noscript>javascript is required to view comments.</noscript>
</section>
</div>
</main>
</div>
</div>
</main>
</div><footer class="site-footer">
<nav class="footer-nav">
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
style="display: inline-block; vertical-align: middle;"
>
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
</svg>
</a>
</nav>
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
</footer></body>
</html>