mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
draft posts
This commit is contained in:
parent
81ec0515bb
commit
d94da4f809
2 changed files with 14 additions and 2 deletions
10
_posts/2024-05-22-draft.md
Normal file
10
_posts/2024-05-22-draft.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: A draft post.
|
||||||
|
excerpt: With a draft summary.
|
||||||
|
highlight_image: /assets/linting.jpg
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
||||||
|
# A draft post
|
||||||
|
|
||||||
|
Content TBD.
|
|
@ -3,7 +3,8 @@ layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="posts">
|
<div class="posts">
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
|
{% unless post.draft %}
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
|
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
|
@ -27,5 +28,6 @@ layout: default
|
||||||
{{ post.date | date: "%b %-d, %Y" | upcase }}
|
{{ post.date | date: "%b %-d, %Y" | upcase }}
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endunless %}
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue