first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<div class="site-shell">
|
||||
{{ partial "header.html" . }}
|
||||
<main class="site-main" role="main">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
<section class="content-panel">
|
||||
<div class="panel-header">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ with .Description }}
|
||||
<p class="panel-description">{{ . }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-grid">
|
||||
{{ range .Pages }}
|
||||
<article class="post-card">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<p class="card-meta">{{ .Date.Format "02.01.2006" }}</p>
|
||||
<h3>{{ .Title }}</h3>
|
||||
<p>{{ .Summary }}</p>
|
||||
</a>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<article class="content-panel post-detail">
|
||||
<div class="panel-header detail-header">
|
||||
<p class="card-meta">{{ .Date.Format "02.01.2006" }}</p>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.summary }}
|
||||
<p class="panel-description">{{ . }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-body">{{ .Content }}</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,43 @@
|
||||
{{ define "main" }}
|
||||
<section class="hero-panel">
|
||||
<div>
|
||||
<p class="eyebrow">HOMELAB Docs</p>
|
||||
<h2>Dokumentation, Anleitungen und meinen Senf</h2>
|
||||
<p>
|
||||
Hier findest du meine gesammelten Dokumentationen, Anleitungen und Erfahrungen rund um mein Homelab. Von technischen Artikeln über Service-Dokus bis hin zu Konfigurationen und Projekten – alles, was ich spannend finde, teile ich hier mit dir.
|
||||
</p>
|
||||
</div>
|
||||
<div class="hero-code">
|
||||
<pre><code>$ tree -L 2
|
||||
.
|
||||
├── posts/
|
||||
├── services/
|
||||
├── configs/
|
||||
└── projects/
|
||||
</code></pre>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="content-panel overview-grid">
|
||||
<article class="overview-card">
|
||||
<h3>Blog</h3>
|
||||
<p>Technische Artikel, Insights und How-Tos.</p>
|
||||
<a class="button" href="/posts/">Ansehen</a>
|
||||
</article>
|
||||
<article class="overview-card">
|
||||
<h3>Services</h3>
|
||||
<p>Service-Dokus, Deployments und Monitoring.</p>
|
||||
<a class="button" href="/services/">Ansehen</a>
|
||||
</article>
|
||||
<article class="overview-card">
|
||||
<h3>Configs</h3>
|
||||
<p>Konfigurationen, Best Practices und Snippets.</p>
|
||||
<a class="button" href="/configs/">Ansehen</a>
|
||||
</article>
|
||||
<article class="overview-card">
|
||||
<h3>Projekte</h3>
|
||||
<p>Infra-Setups, Automatisierung und Experimente.</p>
|
||||
<a class="button" href="/projects/">Ansehen</a>
|
||||
</article>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,9 @@
|
||||
<footer class="site-footer">
|
||||
<div>
|
||||
<p>
|
||||
© {{ now.Format "2006" }} Rackaris Blog — Dokumentation &
|
||||
Konfiguration
|
||||
</p>
|
||||
<a href="/impressum/" class="nav-link">Impressum</a>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -0,0 +1,14 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.subtitle }}{{ end }}"
|
||||
/>
|
||||
<link rel="stylesheet" href="/css/styles.css" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
@@ -0,0 +1,14 @@
|
||||
<header class="site-header">
|
||||
<div class="header-inner">
|
||||
<div>
|
||||
<p class="eyebrow">Wilkommen zu</p>
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<p class="subtitle">{{ .Site.Params.subtitle }}</p>
|
||||
</div>
|
||||
<nav class="site-nav" aria-label="Hauptnavigation">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL }}" class="nav-link">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
Reference in New Issue
Block a user