56 lines
2.4 KiB
HTML
56 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | [no subject]</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 | [no subject]</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>So despite having the program for quite a while now, and the fact that I've ridden my bike to work almost every day now, I finally got around to using RunKeeper to track the ride, and whaddayaknow, it's actually really awesome. Check it out: <a href="http://bit.ly/ffYZW">my ride to work</a>. I've been saying seven miles, but I think that was before I started taking the Poudre trail from Timberline. I used go down Summit View, then along prospect, to pick up the Poudre Trail from their, then riding up to the Spring Creek Trail. Inefficient! Oh well, It's less than a mile of non-trail now, which is good for a relaxing commute. I should use RunKeeper for real rides, when I get back to doing them :o) 10.08 miles per day isn't bad, though</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2009-08-21 16:23:27</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>
|