Improve LH score / SEO
All checks were successful
/ test (push) Successful in 13s

This commit is contained in:
Soph :3 2024-08-01 23:13:52 +03:00
parent 7255080d31
commit eac9f80871
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
4 changed files with 16 additions and 20 deletions

View file

@ -80,20 +80,20 @@ __TEMPLATE_HEAD__
<div class="paper blog" id="root"></div> <div class="paper blog" id="root"></div>
<div class="paper status" id="status"></div> <div class="paper status" id="status"></div>
<div class="paper binkies"> <div class="paper binkies">
<a href="https://sad.ovh"> <a href="https://sad.ovh" aria-label="Links to my own website!">
<img src="/assets/binkies/sadovh.png"> <img src="/assets/binkies/sadovh.png" width="88" height="31" alt="sad.ovh binkie">
</a> </a>
<a href="https://oon.nz/"> <a href="https://oon.nz/" aria-label="View oon.nz">
<img src="/assets/binkies/onzecki.png"> <img src="/assets/binkies/onzecki.png" width="88" height="31" alt="onzecki's binkie">
</a> </a>
<a href="https://unnick.mice.tel"> <a href="https://unnick.mice.tel" aria-label="View unnick.mice.tel">
<picture> <picture>
<source srcset="/assets/binkies/unnick.webp" type="image/webp"> <source srcset="/assets/binkies/unnick.webp" type="image/webp">
<img src="/assets/binkies/unnick.png" width="88" height="31" alt="unnick"> <img src="/assets/binkies/unnick.png" width="88" height="31" alt="unnick">
</picture> </picture>
</a> </a>
<a href="https://github.com/NotNite/eightyeightthirtyone" class="hasBadge"> <a href="https://github.com/NotNite/eightyeightthirtyone" class="hasBadge" aria-label="View eighteightthirty.one's source code">
<img src="/assets/binkies/eighteightthirtyone.png" alt="eightyeightthirty.one"> <img src="/assets/binkies/eighteightthirtyone.png" alt="eightyeightthirty.one" width="88" height="31">
</a> </a>
</div> </div>
<div class="paper webrings"> <div class="paper webrings">
@ -105,7 +105,7 @@ __TEMPLATE_HEAD__
<script src="https://palette.nekoweb.org/webring.js"></script> <script src="https://palette.nekoweb.org/webring.js"></script>
</webring-container> </webring-container>
<iframe id="bucket-webring" style="width: 100%; height: 3rem; border: none;margin-top:5px;" <iframe title="the bucket webring" id="bucket-webring" style="width: 100%; height: 3rem; border: none;margin-top:5px;"
src="https://webring.bucketfish.me/embed.html?name=☹️☹️☹️.ovh&lightmode=true"></iframe> src="https://webring.bucketfish.me/embed.html?name=☹️☹️☹️.ovh&lightmode=true"></iframe>
</div> </div>

View file

@ -27,7 +27,7 @@ const Blog = () => {
json.filename = blog; json.filename = blog;
metadatas.push(json); metadatas.push(json);
} }
blogPosts[1](metadatas); blogPosts[1](metadatas);
})(); })();
}, []) }, [])
@ -50,8 +50,9 @@ const Blog = () => {
return <ul> return <ul>
{blogPosts[0].map((n) => { {blogPosts[0].map((n) => {
return <li> return <li>
<a onClick={ <a href={"https://sad.ovh/?md=" + n.filename} onClick={
() => { (e) => {
e.preventDefault();
pageOpen[1](n); pageOpen[1](n);
} }
}>{n.title} (created {new Date(n.time * 1000).toLocaleString()})</a> }>{n.title} (created {new Date(n.time * 1000).toLocaleString()})</a>

View file

@ -71,6 +71,7 @@ const lastFM = {
const img = document.createElement("img"); const img = document.createElement("img");
img.width = 150 img.width = 150
img.height = 150 img.height = 150
img.alt = "last.fm album art"
img.src = track.image.at(-1)?.["#text"]!; img.src = track.image.at(-1)?.["#text"]!;
lastFMElement?.appendChild(img); lastFMElement?.appendChild(img);
@ -93,12 +94,4 @@ const lastFM = {
div.appendChild(spanTitle) div.appendChild(spanTitle)
lastFMElement?.appendChild(div); lastFMElement?.appendChild(div);
/* <img src="https://lastfm.freetls.fastly.net/i/u/300x300/400560416eb0c37bbc407cd4279c7899.jpg" width="150" height="150">
<div>
<h1>listening to now</h1>
<span style="font-size:x-large">Bladee</span>
<span style="font-size:x-large">Open your Eyes (hymn)</span>
</div>*/
})(); })();

View file

@ -1,7 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.googleapis.com">
<!-- Primary Meta Tags --> <!-- Primary Meta Tags -->
<title>soph's blog and information</title> <title>soph's blog and information</title>
<meta name="title" content="soph's blog and information" /> <meta name="title" content="soph's blog and information" />