mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2026-07-23 18:12:21 +00:00
Homepage setup for schleppe lab blog
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
||||
|
||||
{%- include head.html -%}
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
{%- include header.html -%}
|
||||
|
||||
<main class="page-content" aria-label="Content">
|
||||
{{ content }}
|
||||
</main>
|
||||
|
||||
{%- include footer.html -%}
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<article class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title | escape }}</h1>
|
||||
</header>
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -0,0 +1,34 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
||||
<p class="post-meta">
|
||||
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
||||
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y, %H:%M:%S" -%}
|
||||
Created: {{ page.date | date: date_format }}
|
||||
</time>
|
||||
<time class="dt-modified" datetime="{{ page.updated | date_to_xmlschema }}" itemprop="dateModified">
|
||||
Updated: {{ page.updated | date: date_format }}
|
||||
</time>
|
||||
{%- if page.author -%}
|
||||
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
||||
{%- endif -%}</p>
|
||||
|
||||
{%- include tags.html -%}
|
||||
</header>
|
||||
|
||||
<div class="post-content e-content" itemprop="articleBody">
|
||||
{% include anchor_headings.html html=content anchorBody="#" %}
|
||||
</div>
|
||||
|
||||
{%- if site.disqus.shortname -%}
|
||||
{%- include disqus_comments.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
||||
</article>
|
||||
|
||||
<script src="/assets/scripts/copyCode.js"></script>
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<h2>{{ page.tag }}</h2>
|
||||
<ul>
|
||||
{% for post in page.posts %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
({{ post.date | date_to_string }} | Tags: {{ post | tags }})
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<div id="tag-cloud">
|
||||
{{ site | tag_cloud }}
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="tags-page">
|
||||
<h1 class="page-heading">Tags</h1>
|
||||
|
||||
<ul>
|
||||
{% for tag in site.tags %}
|
||||
<li>
|
||||
<a href="/tag/{{ tag[0] }}.html">{{ tag[0] }} ({{ tag[1] | size }})</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user