zk_html/writing/index.html

92 lines
3.5 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Writing</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8" />
</head>
<body>
<main>
<header>
<h1>Zk | Writing</h1>
</header>
<article class="content">
<p><span class="tag">writing</span></p>
<ul>
<li class="done0"> Todo</li>
<li class="done1"> Outlined</li>
<li class="done2"> Written</li>
<li class="done3"> First pass</li>
<li class="done4"> Second pass</li>
</ul>
<h2 id="collections-universes-and-larger-works">Collections, universes, and larger works</h2>
<ul>
<li class="rejected"> <a href="consequences-of-dissonance/index.html">Consequences of Dissonance</a></li>
<li class="rejected"> <a href="inner-demons/index.html">Inner Demons</a></li>
<li class="done4"> <a href="rum-and-coke/index.html">Rum and Coke</a></li>
<li class="done2"> <a href="on-furry/index.html">On Furry</a></li>
<li class="done3"> <a href="sawtooth/index.html">Sawtooth Universe</a></li>
<li class="done1"> <a href="no-thoughts-our-own/index.html">No Thoughts Our Own</a></li>
<li class="done2"> <a href="jaroudi/index.html">Jaroudi</a></li>
<li class="done3"> <a href="https://ally.id">ally</a></li>
<li class="done3"> <a href="post-self/index.html">Post-Self</a></li>
<li>Poetry:<ul>
<li class="done4"> <a href="eigengrau.html">Eigengrau</a></li>
<li class="done3"> <a href="poetry/index.html">Ongoing</a></li>
</ul>
</li>
</ul>
<h2 id="individual-stories">Individual stories</h2>
<ul>
<li class="done4"> <a href="tu-pater-et-mater.html">Tu Pater Et Mater</a></li>
<li class="done4"> <a href="all-of-time-at-once.html">All of Time at Once</a></li>
<li class="done4"> <a href="light.html">Light</a></li>
<li class="done4"> <a href="missives.html">Missives</a></li>
<li class="done4"> <a href="at-his-whim.html">At His Whim</a></li>
<li class="done4"> <a href="where-the-dust-comes-from.html">Where the Dust Comes From</a></li>
<li class="done1"> <a href="not-all-of-this-is-yours.html">Not All of This Is Yours</a></li>
<li class="done2"> <a href="acethetic.html"><em>untitled ace werewolf thing</em></a></li>
<li class="done4"> <a href="belek.html">The Presence Between the Pages</a></li>
</ul>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2020-04-23</p>
</footer>
</main>
<script type="text/javascript">
document.querySelectorAll('li').forEach(el => {
if (el.querySelectorAll('li').length !== 0) {
el.classList.add('has-nested', 'closed');
el.innerHTML = `<span class="toggle"></span> ${el.innerHTML}`;
}
});
document.querySelectorAll('.toc .has-nested').forEach(el => {
el.classList.remove('has-nested', 'closed');
});
document.querySelectorAll('li.has-nested').forEach(el => {
el.querySelector('.toggle').addEventListener('click', () => {
el.classList.toggle('closed');
});
});
let expanded = false;
document.querySelector('.control').addEventListener('click', (e) => {
expanded = !expanded;
if (expanded) {
e.target.innerText = 'Collapse all';
} else {
e.target.innerText = 'Expand all';
}
document.querySelectorAll('.has-nested').forEach((el) => {
if (expanded) {
el.classList.remove('closed');
} else {
el.classList.add('closed')
}
});
});
</script>
</body>
</html>