mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2025-10-29 17:50:39 +00:00
Homepage setup for schleppe lab blog
This commit is contained in:
53
_layouts/home.html
Normal file
53
_layouts/home.html
Normal 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 I’ve 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>
|
||||
{%- 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>
|
||||
Reference in New Issue
Block a user