Fix index page content layout

This commit is contained in:
kayomn 2024-06-24 09:15:13 +01:00
parent a8e1b39023
commit a3edf5449b
1 changed files with 67 additions and 65 deletions

View File

@ -4,7 +4,8 @@
<h1>My Work</h1>
<div class="columns">
<div class="slideshow" style="min-width: 70%;">
<div style="min-width: 70%;">
<div class="slideshow">
<a href="https://store.steampowered.com/app/2399420/Le_Mans_Ultimate/">
<div class="title">Le Mans Ultimate</div>
<img src="/showreel/le-mans-ultimate-hud.png" />
@ -48,18 +49,12 @@
</a>
</div>
<div style="min-width: 30%;">
<div>Here's what I'm working on over at my <a href="https://sauce.pizzawednes.day/kayomn">Gitea instance</a>.</div>
<div id="git-feed"></div>
</div>
</div>
<h1>Articles</h1>
<h1>Articles</h1>
{% set blog_section = get_section(path="blog/_index.md") %}
{% set blog_section = get_section(path="blog/_index.md") %}
{% for page in blog_section.pages %}
<div>
{% for page in blog_section.pages %}
<div>
<a href="{{ page.permalink }}"><h2>{{ page.title }}</h2></a>
{% set day = page.date | date(format="%e") %}
@ -80,8 +75,15 @@
Posted {{ day }}{{ day_suffix }} {{ month }} {{ year }}
<p>{{ page.content | striptags | truncate(length=255) }}</p>
</div>
{% endfor %}
</div>
<div style="min-width: 30%;">
<div>Here's what I'm working on over at my <a href="https://sauce.pizzawednes.day/kayomn">Gitea instance</a>.</div>
<div id="git-feed"></div>
</div>
</div>
{% endfor %}
<style>
.slideshow {