Homepage setup for schleppe lab blog

This commit is contained in:
2023-05-19 18:08:45 +02:00
commit 445e0eb768
50 changed files with 1756 additions and 0 deletions

53
_layouts/home.html Normal file
View File

@@ -0,0 +1,53 @@
---
layout: default
---
<div class="home">
<div class="intro">
<h1 class="page-heading">Welcome home</h1>
<p>Thank you for venturing into my corner of The Internet, to read my stories of engineering and technology, and explore the projects Ive created and am in the process of creating. I primarily focus on home automation, homelab, and virtualization, but also enjoy building and making things. Feel free to browse the blog for regular updates, project pages for long term project descriptions, and my Youtube and Twitch channels for video content and casual relaxation. I hope you enjoy your journey along the way!</p>
</div>
{{ content }}
{%- if site.posts.size > 0 -%}
<ul class="post-list">
{%- for post in site.posts -%}
<li>
<h3>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span class="post-meta">{{ post.date | date: date_format }}</span>
{%- if post.tags.size > 0 -%}
<div>
<span class="post-tags">
{%- for tag in post.tags -%}
#<a href="/tag/{{ tag }}">{{ tag }}</a>&nbsp;
{%- endfor -%}
</span>
</div>
{%- endif -%}
{%- if site.show_excerpts -%}
<div class="excerpt">
<p>{{ post.excerpt }}</p>
<div>
<a class="read-more" href="{{ post.url | relative_url }}">read more →</a>
</div>
</div>
{%- endif -%}
</li>
{%- endfor -%}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
{%- endif -%}
</div>