Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
olvidalo committed Jun 8, 2022
1 parent 4dd7918 commit 7462d52
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions website/_layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
layout: default
---

<div class="home">

<h2>Releases</h2>
<ul>
{% for release in site.data.desktop-winery-releases %}
<li>{{ release.name }}</li>
<ul>
{% for asset in release.assets %}
<li><a href="{{ asset.browser_download_url }}">{{ asset.name }}</a></li>
{% endfor %}
</ul>
{% endfor %}
</ul>

{%- if page.title -%}
<h1 class="page-heading">{{ page.title }}</h1>
{%- endif -%}

{{ content }}

{%- if site.posts.size > 0 -%}
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
<ul class="post-list">
{%- for post in site.posts -%}
<li>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span class="post-meta">{{ post.date | date: date_format }}</span>
<h3>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
</li>
{%- endfor -%}
</ul>

<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
{%- endif -%}

</div>

0 comments on commit 7462d52

Please sign in to comment.