Updated 31 files via CloudCannon
This commit is contained in:
parent
f8df95f5cf
commit
fbc9e92acb
31 changed files with 634 additions and 95 deletions
|
|
@ -38,7 +38,7 @@
|
|||
<title>Play Swipe by 徒 Setto セット | 徒&nbsp;setto&nbsp;セット</title>
|
||||
<meta name="title" content="Play "Swipe" by 徒 Setto セット" />
|
||||
<meta name="description" content="A track by 徒 Setto セット named "Swipe" published on 徒&nbsp;setto&nbsp;セット" />
|
||||
<meta name="dc.date.modified" scheme="ISO8601" content="2020-12-10T07:07:13+00:00" />
|
||||
<meta name="dc.date.modified" scheme="ISO8601" content="2020-12-10T19:07:14+00:00" />
|
||||
<meta name="robots" content="index" />
|
||||
|
||||
<link rel="canonical" href="https://setto.basspistol.com/darkweb/1-swipe/" />
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
<meta property="og:site_name" content="徒&nbsp;setto&nbsp;セット" />
|
||||
<meta property="og:type" content="music:album:track" />
|
||||
<meta property="og:audio" content="https://media.basspistol.com/setto.basspistol.com/darkweb/1-swipe.mp3" />
|
||||
<meta property="article:published_time" content="2020-12-10T07:07:13+00:00" />
|
||||
<meta property="article:published_time" content="2020-12-10T19:07:14+00:00" />
|
||||
<meta property="og:image" content="https://media.basspistol.com/setto.basspistol.com/darkweb/1-swipe.jpeg" />
|
||||
<!-- Twitter Card -->
|
||||
|
||||
|
|
@ -118,6 +118,53 @@
|
|||
|
||||
<!-- Banner -->
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function generateRandomPosts()
|
||||
{
|
||||
$.getJSON("/posts.json", function(data) {
|
||||
console.log("[posts.json loaded for random posts]");
|
||||
|
||||
var postsCount = data.length;
|
||||
var posts = data;
|
||||
|
||||
var randomIndexUsed = [];
|
||||
var counter = 0;
|
||||
var numberOfPosts = 1;
|
||||
|
||||
var divRandomPosts = $("#random_posts");
|
||||
|
||||
while (counter < numberOfPosts)
|
||||
{
|
||||
var randomIndex = Math.floor(Math.random() * postsCount);
|
||||
|
||||
if (randomIndexUsed.indexOf(randomIndex) == "-1")
|
||||
{
|
||||
var postHREF = posts[randomIndex].href;
|
||||
var postTitle = posts[randomIndex].title;
|
||||
|
||||
if (counter == (numberOfPosts - 1))
|
||||
{
|
||||
divRandomPosts.append('<a class="button" href="' + postHREF + '">🔥</a>');
|
||||
}
|
||||
else
|
||||
{
|
||||
divRandomPosts.append('<a class="button" href="' + postHREF + '">🔥</a>');
|
||||
}
|
||||
|
||||
randomIndexUsed.push(randomIndex);
|
||||
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
generateRandomPosts();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<div id="trackArt">
|
||||
<section>
|
||||
|
|
@ -416,9 +463,11 @@ Je yeuxt vers l'avant de temps en temps.
|
|||
|
||||
<a id="btnNext" href="../../darkweb/2-darkweb/"><span class="fas fa-fast-forward"></span></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<p id="npTitle" style="font-weight: bold;">Swipe </p>
|
||||
|
||||
<div id="random_posts" style="margin-right: 40px;"></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue