diff --git a/index.js b/index.js index 2d72b4f..b4460c5 100644 --- a/index.js +++ b/index.js @@ -226,7 +226,7 @@ function mastoUpdate() { var newHTML = `
` - for (let index = 0; index < posts.length; index++) { + for (let index = 0; index < Math.min(posts.length, 7); index++) { const post = posts[index]; newHTML += `
` newHTML += `` @@ -235,7 +235,7 @@ function mastoUpdate() { newHTML += `

` } - mastoData.HTML = `


Mastodon Posts:

` + newHTML + "
" + mastoData.HTML = `


Mastodon Posts:

` + newHTML + "" + `
See more on Mastodon` pageUpdate() }) diff --git a/static/socials/index.html b/static/socials/index.html index 28f5670..39f48af 100644 --- a/static/socials/index.html +++ b/static/socials/index.html @@ -20,7 +20,7 @@ Home


Socials

Here's where you can find me most... if you wanted to do that for some reason?

-
+