Skip to content

Commit a8db588

Browse files
committed
fixed bad cascade homepage, added rss
1 parent f1d3aca commit a8db588

File tree

10 files changed

+1933
-322
lines changed

10 files changed

+1933
-322
lines changed

.eleventy.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ module.exports = function (eleventyConfig) {
9090
return collection.getFilteredByGlob("projects/*.md");
9191
});
9292

93+
eleventyConfig.addCollection("cascade", function (collection) {
94+
return collection.getFilteredByGlob("the-cascade/*.md");
95+
});
96+
9397
// Create an array of all tags
9498
eleventyConfig.addCollection("tagList", function (collection) {
9599
let tagSet = new Set();

_data/metadata.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"filename": "essayfeed.xml",
2222
"path": "/essayfeed.xml"
2323
},
24+
"cascadefeed": {
25+
"subtitle": "The Cascade",
26+
"filename": "cascadefeed.xml",
27+
"path": "/cascadefeed.xml"
28+
},
2429
"author": {
2530
"name": "Robin Rendle",
2631
"email": "robinjrendle@gmail.com.com",

_includes/footer.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</svg>
3232
</a>
3333
<div class="window-content window-content-wrapper">
34-
<p>On Sundays I send out a roundup of links from this very website and scratch a few notes down about what I’m thinking about and what I’ve been working on lately.</p>
34+
<p>Every once in a while I send out a roundup of links from this very website and scratch a few notes down about what I’m thinking about and what I’ve been working on lately.</p>
3535
<form
3636
action="https://buttondown.email/api/emails/embed-subscribe/robinrendle"
3737
method="post"

_includes/layouts/base.njk

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
}
505505
506506
.notes-list-extract {
507-
margin: 0;
507+
margin: 0 !important;
508508
line-height: 1.2;
509509
color: var(--color-text-meta);
510510
font-size: var(--font-size-meta);
@@ -912,6 +912,7 @@
912912
padding: calc(var(--space) / 2);
913913
font-size: var(--font-size-meta);
914914
outline: none;
915+
font-family: var(--sans);
915916
}
916917
917918
.inputs input[type="submit"] {
@@ -962,6 +963,42 @@
962963
padding-right: calc(var(--space) / 2);
963964
background: var(--color-window-content-background);
964965
}
966+
967+
.cursor-wrapper {
968+
display: flex;
969+
gap: -4px;
970+
}
971+
972+
.icon-hourglass {
973+
width: 50px;
974+
fill: var(--color-text) !important;
975+
height: 50px;
976+
display: grid;
977+
place-items: center;
978+
animation: 5s turntime linear infinite;
979+
margin-bottom: 5px;
980+
}
981+
982+
.newsletter-title {
983+
margin: 0;
984+
line-height: 1.3;
985+
}
986+
987+
@keyframes turntime {
988+
0% {
989+
transform: rotate(0deg);
990+
} 50% {
991+
transform: rotate(180deg);
992+
} 60% {
993+
transform: rotate(1 80deg);
994+
}
995+
100% {
996+
transform: rotate(180deg);
997+
}
998+
}
999+
.inputs {
1000+
margin-top: 20px;
1001+
}
9651002
</style>
9661003
{# Code Styles #}
9671004
<style>
@@ -1014,7 +1051,7 @@
10141051
/* Code blocks */
10151052
pre[class*="language-"] {
10161053
padding: 1em;
1017-
margin: .5em 0;
1054+
margin: 2rem 0;
10181055
overflow: auto;
10191056
}
10201057
@@ -1160,8 +1197,7 @@
11601197
<a href="/" class="nav-list-item {% if '/about' in page.url %}active{% endif %}">About</a>
11611198
<a href="/notes" class="nav-list-item {% if '/notes' in page.url %}active{% endif %}">Notes</a>
11621199
<a href="/essays" class="nav-list-item {% if '/essays' in page.url %}active{% endif %}">Essays</a>
1163-
{# <a href="/projects" class="nav-list-item {% if '/projects' in page.url %}active{% endif %}">Projects</a> #}
1164-
<a href="/newsletter" class="nav-list-item {% if '/projects' in page.url %}active{% endif %}">Newsletter</a>
1200+
<a href="/the-cascade" class="nav-list-item {% if '/projects' in page.url %}active{% endif %}">The Cascade</a>
11651201
</nav>
11661202
<div>
11671203
<button id="theme-toggle" class="theme-toggle" type="button">

_includes/layouts/cascade-post.njk

Lines changed: 543 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)