This commit is contained in:
Bingus_Violet 2023-11-30 22:41:34 -06:00
parent ad5899b1ca
commit d1eaeeb3f3
2 changed files with 3 additions and 3 deletions

View file

@ -226,7 +226,7 @@ function mastoUpdate() {
var newHTML = `<div>` var newHTML = `<div>`
for (let index = 0; index < posts.length; index++) { for (let index = 0; index < Math.min(posts.length, 7); index++) {
const post = posts[index]; const post = posts[index];
newHTML += `<a href="${post.link._text}"><div class="post">` newHTML += `<a href="${post.link._text}"><div class="post">`
newHTML += `<img class="minipfp" src="${data.image.url._text}">` newHTML += `<img class="minipfp" src="${data.image.url._text}">`
@ -235,7 +235,7 @@ function mastoUpdate() {
newHTML += `</a></div><br>` newHTML += `</a></div><br>`
} }
mastoData.HTML = `<h2><hr>Mastodon Posts: </h2>` + newHTML + "</div>" mastoData.HTML = `<h2><hr>Mastodon Posts: </h2>` + newHTML + "</div>" + `<br> <a class="chip" href="https://tech.lgbt/@bingus_violet">See more on Mastodon</a>`
pageUpdate() pageUpdate()
}) })

View file

@ -20,7 +20,7 @@
<a class="chip" href="../">Home</a> <a class="chip" href="../">Home</a>
<h1><hr>Socials</h1> <h1><hr>Socials</h1>
<p>Here's where you can find me most... if you wanted to do that for some reason?</p> <p>Here's where you can find me most... if you wanted to do that for some reason?</p>
<div class="fadediv row container-fluid" style="margin: auto;"> <div class="row container-fluid" style="margin: auto;">
<div class="col-sm-6"> <div class="col-sm-6">
<hr> <hr>