Fix index page content layout
This commit is contained in:
parent
a8e1b39023
commit
a3edf5449b
|
@ -4,7 +4,8 @@
|
||||||
<h1>My Work</h1>
|
<h1>My Work</h1>
|
||||||
|
|
||||||
<div class="columns">
|
<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/">
|
<a href="https://store.steampowered.com/app/2399420/Le_Mans_Ultimate/">
|
||||||
<div class="title">Le Mans Ultimate</div>
|
<div class="title">Le Mans Ultimate</div>
|
||||||
<img src="/showreel/le-mans-ultimate-hud.png" />
|
<img src="/showreel/le-mans-ultimate-hud.png" />
|
||||||
|
@ -48,18 +49,12 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="min-width: 30%;">
|
<h1>Articles</h1>
|
||||||
<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>
|
{% 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>
|
<a href="{{ page.permalink }}"><h2>{{ page.title }}</h2></a>
|
||||||
|
|
||||||
{% set day = page.date | date(format="%e") %}
|
{% set day = page.date | date(format="%e") %}
|
||||||
|
@ -80,8 +75,15 @@
|
||||||
Posted {{ day }}{{ day_suffix }} {{ month }} {{ year }}
|
Posted {{ day }}{{ day_suffix }} {{ month }} {{ year }}
|
||||||
|
|
||||||
<p>{{ page.content | striptags | truncate(length=255) }}</p>
|
<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>
|
</div>
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.slideshow {
|
.slideshow {
|
||||||
|
|
Loading…
Reference in New Issue