archetypes, list.html layouts, google analyticsafter </head>

This commit is contained in:
Franz Klotsche
2025-11-15 22:06:43 +01:00
parent bf3126ea00
commit 610f30eadf
19 changed files with 183 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
<section class="projects">
{{ range .Pages }}
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ end }}
</section>
{{ end }}

View File

@@ -1,5 +1,10 @@
{{ define "main" }}
{{ .Content }}
<h3>Projekt</h3>
<p>Das letzte Projekt was aktualisiert wurde:
{{ range first 1 (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
</p>
{{ end }}
{{ end }}

View File

@@ -1,7 +1,18 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="author" content="{{ .Site.Params.author }}">
<meta name="description" content="{{ .Site.Params.description }}">
<link rel="stylesheet" href="{{ "css/style.css"
| relURL }}">
<title>{{ .Site.Title }}</title>
</head>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TT2JW5ZYFZ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TT2JW5ZYFZ');
</script>

View File

@@ -1,6 +1,8 @@
<nav>
<a href="/">Home</a>
<a href="/about">About</a>
<a href="/projects">Projects</a>
<a href="/presentations">Presentations</a>
<a href="/resume">Résumé</a>
<a href="/contact"></a>
<a href="/contact">Contact</a>
</nav>

View File

@@ -0,0 +1,16 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
<section class="present">
<p>Gallery</p>
{{ range .Pages }}
<a href="{{ .RelPermalink }}">
<img alt="{{ .Title }}" style="width: 50px; height: 50px;">
</a>
{{ end }}
</section>
{{ end }}

View File

@@ -0,0 +1,12 @@
{{ define "main" }}
<div class="present-container">
<section class="present-thumbs">
<h4>Thumbs</h4>
Minimum vialable product gallery
</section>
<section class="present">
<h2>{{ .Title }}</h2>
{{ .Content }}
</section>
</div>
{{ end }}

View File

@@ -0,0 +1,17 @@
{{ define "main" }}
<div class="project-container">
<section class="project-list">
<h4>What else</h4>
<ul>
{{ range (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</section>
<section class="project">
<h2>{{ .Title }}</h2>
{{ .Content }}
</section>
</div>
{{ end }}