mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
move into website/
This commit is contained in:
parent
5a4d38418d
commit
56519361e2
103 changed files with 5 additions and 12 deletions
35
website/blog/index.html
Normal file
35
website/blog/index.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
layout: default
|
||||
title: Blog
|
||||
nav_order: 1000
|
||||
---
|
||||
|
||||
<div class="posts">
|
||||
{% for post in site.posts %}
|
||||
{% unless post.draft %}
|
||||
<article class="post">
|
||||
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
|
||||
<div class="entry">
|
||||
<div class="post-content">
|
||||
{% if post.excerpt %}
|
||||
{{ post.excerpt }}
|
||||
{% else %}
|
||||
{{ post.content | strip_html | truncatewords: 100 }}...
|
||||
{% endif %}
|
||||
{% if post.highlight_image %}
|
||||
<a href="{{ site.baseurl }}{{ post.url }}">
|
||||
<div class="post-highlight">
|
||||
<img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="post-date">
|
||||
{{ post.date | date: "%b %-d, %Y" | upcase }}
|
||||
</p>
|
||||
</article>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue