mirror of
https://git.kittycat.homes/zoe/hugo-batsite.git
synced 2024-08-15 03:18:24 +00:00
add pointless buzzwords
This commit is contained in:
parent
791d3b9cee
commit
3dd816a0ab
9 changed files with 160 additions and 12 deletions
|
@ -7,3 +7,4 @@ menu:
|
||||||
name: ""
|
name: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
|
wow this software is so {{<randomword "insert buzzword, innovative, groundbreaking, awe inspiring, cyber, enterprise ready, revolutionary">}} it is {{<randomword "insert buzzword, disrupting the industry, moving fast and breaking things, revolutionizing the industry, at least web 9000.0">}}
|
||||||
|
|
16
content/software/wisdom.md
Normal file
16
content/software/wisdom.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
title: "wisdom"
|
||||||
|
date: 2022-04-16T22:54:41+02:00
|
||||||
|
draft: false
|
||||||
|
description: "the wisdom website dispenses infite wisdom for everyone!"
|
||||||
|
---
|
||||||
|
|
||||||
|
the wisdom website is an incredible experience for the whole family!
|
||||||
|
you can get cooking recipes, or get philosophical with jonathan frakes of "beyond belief: fact or fiction" fame.
|
||||||
|
take a look at [wisdom.kittycat.homes](https://wisdom.kittycat.homes)
|
||||||
|
|
||||||
|
## huh?
|
||||||
|
|
||||||
|
it's actually just a markov chain.
|
||||||
|
i made it to learn rocket.
|
||||||
|
rocket is great though :)
|
|
@ -6,7 +6,17 @@
|
||||||
<description>Recent content in home on bat</description>
|
<description>Recent content in home on bat</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>eng</language>
|
<language>eng</language>
|
||||||
<lastBuildDate>Fri, 15 Apr 2022 20:45:43 +0200</lastBuildDate><atom:link href="https://zoe.kittycat.homes/index.xml" rel="self" type="application/rss+xml" />
|
<lastBuildDate>Sat, 16 Apr 2022 22:54:41 +0200</lastBuildDate><atom:link href="https://zoe.kittycat.homes/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
<item>
|
||||||
|
<title>wisdom</title>
|
||||||
|
<link>https://zoe.kittycat.homes/software/wisdom/</link>
|
||||||
|
<pubDate>Sat, 16 Apr 2022 22:54:41 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://zoe.kittycat.homes/software/wisdom/</guid>
|
||||||
|
<description>the wisdom website is an incredible experience for the whole family! you can get cooking recipes, or get philosophical with jonathan frakes of &ldquo;beyond belief: fact or fiction&rdquo; fame. take a look at wisdom.kittycat.homes
|
||||||
|
&nbsp;huh? it&rsquo;s actually just a markov chain. i made it to learn rocket. rocket is great though :)</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>things that make me happy</title>
|
<title>things that make me happy</title>
|
||||||
<link>https://zoe.kittycat.homes/links/nice_things/</link>
|
<link>https://zoe.kittycat.homes/links/nice_things/</link>
|
||||||
|
|
|
@ -7,22 +7,29 @@ export function randomizeWords() {
|
||||||
function registerButtons() {
|
function registerButtons() {
|
||||||
for (let button of buttons) {
|
for (let button of buttons) {
|
||||||
button.addEventListener("click", function () {
|
button.addEventListener("click", function () {
|
||||||
let new_word = processWordlist(button.getAttribute("data-wordlist"));
|
button.innerHTML = processWordlist(
|
||||||
|
button.getAttribute("data-wordlist"),
|
||||||
|
button.innerHTML
|
||||||
|
);
|
||||||
// do this so people dont have to click twice
|
// do this so people dont have to click twice
|
||||||
if (button.innerHTML == new_word) {
|
|
||||||
button.click();
|
|
||||||
console.log("oh no!!! this was already the value!");
|
|
||||||
} else {
|
|
||||||
button.innerHTML = new_word;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
button.click();
|
button.click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// takes all the words and returns only one
|
// takes all the words and returns only one
|
||||||
function processWordlist(wordlist) {
|
function processWordlist(wordlist, old) {
|
||||||
let seperated = wordlist.split(",");
|
let seperated = wordlist.split(",");
|
||||||
|
for (let word of wordlist) {
|
||||||
|
word = word.trim();
|
||||||
|
}
|
||||||
|
if (seperated.length <= 0) {
|
||||||
|
return "error! empty";
|
||||||
|
}
|
||||||
|
if (seperated.length == 1) {
|
||||||
|
return seperated[0];
|
||||||
|
}
|
||||||
|
seperated = seperated.filter((e) => e !== old);
|
||||||
return seperated.random();
|
return seperated.random();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://zoe.kittycat.homes/</loc>
|
<loc>https://zoe.kittycat.homes/</loc>
|
||||||
<lastmod>2022-04-15T20:45:43+02:00</lastmod>
|
<lastmod>2022-04-16T22:54:41+02:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>https://zoe.kittycat.homes/software/wisdom/</loc>
|
||||||
|
<lastmod>2022-04-16T22:54:41+02:00</lastmod>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>https://zoe.kittycat.homes/software/</loc>
|
<loc>https://zoe.kittycat.homes/software/</loc>
|
||||||
<lastmod>2022-04-15T20:45:43+02:00</lastmod>
|
<lastmod>2022-04-15T20:45:43+02:00</lastmod>
|
||||||
|
|
|
@ -17,11 +17,20 @@
|
||||||
<h1 id="title"><a href="./index.xml" class="colorswitch with-rss" id="rss-title">software </a></h1>
|
<h1 id="title"><a href="./index.xml" class="colorswitch with-rss" id="rss-title">software </a></h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<p>wow this software is so <button class="randomword-button colorswitch" data-wordlist="insert buzzword, innovative, groundbreaking, awe inspiring, cyber, enterprise ready, revolutionary"></button>
|
||||||
|
it is <button class="randomword-button colorswitch" data-wordlist="insert buzzword, disrupting the industry, moving fast and breaking things, revolutionizing the industry, at least web 9000.0"></button>
|
||||||
|
</p>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
<div id="pagelist">
|
<div id="pagelist">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="postlist">
|
||||||
|
<h2 class="colorswitch posttitle">
|
||||||
|
<a class="colorswitch" href="https://zoe.kittycat.homes/software/wisdom/">wisdom</h2><div class="postdescription">the wisdom website dispenses infite wisdom for everyone!</a><br>
|
||||||
|
<a class="postinfo colorswitch" href="https://zoe.kittycat.homes/software/wisdom/">read more...</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -7,5 +7,15 @@
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>eng</language>
|
<language>eng</language>
|
||||||
<lastBuildDate>Fri, 15 Apr 2022 20:45:43 +0200</lastBuildDate><atom:link href="https://zoe.kittycat.homes/software/index.xml" rel="self" type="application/rss+xml" />
|
<lastBuildDate>Fri, 15 Apr 2022 20:45:43 +0200</lastBuildDate><atom:link href="https://zoe.kittycat.homes/software/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
<item>
|
||||||
|
<title>wisdom</title>
|
||||||
|
<link>https://zoe.kittycat.homes/software/wisdom/</link>
|
||||||
|
<pubDate>Sat, 16 Apr 2022 22:54:41 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://zoe.kittycat.homes/software/wisdom/</guid>
|
||||||
|
<description>the wisdom website is an incredible experience for the whole family! you can get cooking recipes, or get philosophical with jonathan frakes of &ldquo;beyond belief: fact or fiction&rdquo; fame. take a look at wisdom.kittycat.homes
|
||||||
|
&nbsp;huh? it&rsquo;s actually just a markov chain. i made it to learn rocket. rocket is great though :)</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
92
public/software/wisdom/index.html
Normal file
92
public/software/wisdom/index.html
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en"><head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>wisdom@bat</title>
|
||||||
|
<script type="module" src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/scss/main.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/svg/favicon.svg">
|
||||||
|
</head>
|
||||||
|
<body class="colorswitch"><div id="content">
|
||||||
|
<section id="main">
|
||||||
|
<div class="titlecontainer">
|
||||||
|
<h1 id="title" class="colorswitch">wisdom</h1>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<article id="content" class="colorswitch">
|
||||||
|
<p>the wisdom website is an incredible experience for the whole family!
|
||||||
|
you can get cooking recipes, or get philosophical with jonathan frakes of “beyond belief: fact or fiction” fame.
|
||||||
|
take a look at <a href="https://wisdom.kittycat.homes">wisdom.kittycat.homes</a></p>
|
||||||
|
<h2 id="huh" class="colorswitch">
|
||||||
|
<a class="hash-link colorswitch" href="#huh">
|
||||||
|
huh?
|
||||||
|
</a>
|
||||||
|
</h2>
|
||||||
|
<p>it’s actually just a markov chain.
|
||||||
|
i made it to learn rocket.
|
||||||
|
rocket is great though :)</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<aside id="meta">
|
||||||
|
<div>
|
||||||
|
<section>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
</div><footer class="colorswitch">
|
||||||
|
<span id="footer-left"><a href="/" id="pageindicator" class="colorswitch" title="wisdom"> bat</a></span>
|
||||||
|
<span id="footer-center">
|
||||||
|
<nav id="footer-nav" aria-label="navigation">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="footer-nav-item colorswitch" href="/" title="home"></a>
|
||||||
|
|
||||||
|
<a class="footer-nav-item colorswitch" href="/about/" title="about"></a>
|
||||||
|
|
||||||
|
<a class="footer-nav-item colorswitch" href="/links/" title="links"></a>
|
||||||
|
|
||||||
|
<a class="footer-nav-item colorswitch" href="/music/" title="music"></a>
|
||||||
|
|
||||||
|
<a class="footer-nav-item colorswitch" href="/games/" title="games"></a>
|
||||||
|
|
||||||
|
<a class="footer-nav-item active colorswitch" href="/software/" title="software"></a>
|
||||||
|
|
||||||
|
<a class="footer-nav-item colorswitch" href="/posts/" title="posts">龎</a>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
</span>
|
||||||
|
<span id="footer-right">
|
||||||
|
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput">
|
||||||
|
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label>
|
||||||
|
<button type="button" id="darkmode-button-small" class="colorswitch hamburger"></button>
|
||||||
|
<button type="button" id="hamburger-button" class="colorswitch hamburger" title="hamburger navigation menu button"></button>
|
||||||
|
<div class="hamburger colorswitch hidden" id="hamburger-bg">
|
||||||
|
<nav id="hamburger-nav" aria-label="navigation">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item colorswitch" href="/" title="home"> home</a><br>
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item colorswitch" href="/about/" title="about"> about</a><br>
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item colorswitch" href="/links/" title="links"> links</a><br>
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item colorswitch" href="/music/" title="music"> music</a><br>
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item colorswitch" href="/games/" title="games"> games</a><br>
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item active colorswitch" href="/software/" title="software"> software</a><br>
|
||||||
|
|
||||||
|
<a class="hamburger-nav-item colorswitch" href="/posts/" title="posts">龎 posts</a><br>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -1 +1 @@
|
||||||
Subproject commit d267fc4356534ddb02426ef7e6802848580a8579
|
Subproject commit 3967fa102756f2e97fa17cb5693775e35c964543
|
Loading…
Reference in a new issue