27 lines
689 B
Plaintext
27 lines
689 B
Plaintext
|
|
---
|
||
|
|
layout: base.njk
|
||
|
|
title: Drafts
|
||
|
|
permalink: /drafts/
|
||
|
|
eleventyExcludeFromCollections: true
|
||
|
|
---
|
||
|
|
|
||
|
|
<h1>Drafts</h1>
|
||
|
|
|
||
|
|
<p>Unpublished. Visible on the dev server only — <code>yarn build</code> emits
|
||
|
|
none of this. Promote one with <code>git mv drafts/<file> columns/</code>.</p>
|
||
|
|
|
||
|
|
{%- if collections.drafts.length %}
|
||
|
|
<ul class="toy-list">
|
||
|
|
{%- for draft in collections.drafts %}
|
||
|
|
<li>
|
||
|
|
<a href="{{ draft.url }}">{{ draft.data.title | inlineMarkdown | safe }}</a>
|
||
|
|
<span class="toy-description">
|
||
|
|
{{ draft.date | isoDate }} · {{ draft.data.tags | reject("equalto", "column") | join(", ") }}
|
||
|
|
</span>
|
||
|
|
</li>
|
||
|
|
{%- endfor %}
|
||
|
|
</ul>
|
||
|
|
{%- else %}
|
||
|
|
<p>No drafts.</p>
|
||
|
|
{%- endif %}
|