<small class="collectiontag">article</small>
{% elseif "reviews" in item.data.tags %}
<small class="collectiontag">review</small>
+ {% elseif "links" in item.data.tags %}
+ <small class="collectiontag">link</small>
{% endif %}
{{ item.data.description }}
</dd>
--- /dev/null
+<dl>
+{% if maxPosts %}
+ {% set numPosts = collections.links | length | min(maxPosts) %}
+ {% set linkslist = collections.links | reverse | head(numPosts) %}
+{% else %}
+ {% set linkslist = collections.links | reverse %}
+{% endif %}
+{%- for link in linkslist %}
+ <dt><a href="{{ link.url }}">{{ link.data.title }}</a></dt>
+ <dd>
+ {{ link.data.description }}
+ </dd>
+{%- endfor %}
+</dl>
\ No newline at end of file
<h1><a href="/">{{ metadata.title }}</a></h1>
<menu>
<li><a href="/articles">Articles</a></li>
+ <li><a href="/links">Links</a></li>
<li><a href="/reviews">Reviews</a></li>
</menu>
</nav>
--- /dev/null
+---
+layout: layouts/base.njk
+---
+
+<h1><a href="{{ href }}">{{ title }}</a></h1>
+
+<details>
+ <summary>Metadata</summary>
+ <ul>
+ <li>Published: <time datetime="{{ page.date | htmlDateString }}">{{ page.date | htmlDateString }}</time></li>
+ <li>Description: {{ description }}</li>
+ <li>Tags: {{ tags | reject("equalto", "links") | sort | join(", ") }}</li>
+ {% if posse %}
+ <li>
+ Also Posted To:
+ {% for posse_location, posse_url in posse %}
+ <a href="{{ posse_url }}">{{ posse_location }}</a>
+ {% endfor %}
+ </li>
+ {% endif %}
+ </ul>
+</details>
+
+<article>
+ {{ content | safe }}
+</article>
--- /dev/null
+---
+layout: layouts/base.njk
+title: Links
+---
+
+<h1>Links</h1>
+
+{% include "components/linkslist.njk" %}
--- /dev/null
+{
+ "tags": ["links"],
+ "layout": "layouts/link.njk",
+ "permalink": "links/{{ date | htmlDateString }}-{{ title | slugify }}/"
+}
\ No newline at end of file
--- /dev/null
+---
+title: "we're ripping off-the-cuff about dollar rallying, rates, stargate, and deepseek. listen in 👇"
+href: "https://x.com/CameronOtsuka/status/1882563050374631488"
+date: 2025-01-23
+modified: 2025-01-23
+description: Build Weekly Roundup 2025-01-23
+tags:
+- ai
+- macro
+posse:
+ 𝕏: https://x.com/CameronOtsuka/status/1882563050374631488
+---
+
+> BUILD WEEKLY ROUNDUP https://x.com/i/broadcasts/1YqGovvolLkKv
+>
+> — Matt Dines (@LeveredUSTs) [January 23, 2025](https://twitter.com/LeveredUSTs/status/1882561482535436387)
+
let markdownOptions = {
html: true,
- breaks: true,
+ breaks: false,
linkify: true,
+ typographer: true,
};
let mdLibrary = markdownIt(markdownOptions).use(markdownItFootnote);
eleventyConfig.addCollection("activities", function(collectionApi) {
let collectionSubset = [
...collectionApi.getFilteredByTag("articles"),
+ ...collectionApi.getFilteredByTag("links"),
...collectionApi.getFilteredByTag("reviews"),
];
let sortedSubset = collectionSubset.sort(function(a, b) {
author: globalMetadata['author'],
},
});
+ eleventyConfig.addPlugin(feedPlugin, {
+ type: "atom",
+ outputPath: "/feeds/links.xml",
+ inputPath: "eleventy-plugin-feed-cameron-otsuka-links-atom.njk",
+ collection: {
+ name: "links",
+ limit: 10,
+ },
+ metadata: {
+ language: globalMetadata['language'],
+ title: globalMetadata['title'].concat(" - Links"),
+ subtitle: globalMetadata['subtitle'],
+ base: globalMetadata['base'],
+ author: globalMetadata['author'],
+ },
+ });
eleventyConfig.addPlugin(feedPlugin, {
type: "atom",
outputPath: "/feeds/reviews.xml",