Add new branch (portfolio) - Hogan_pragmatic-bookshelf

This commit is contained in:
Franz Klotsche
2025-11-09 19:09:05 +01:00
commit 16edfac859
21 changed files with 155 additions and 0 deletions

View File

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
<div class="container">
{{- partial "header.html" . -}}
{{- partial "nav.html" . -}}
<main>
{{- block "main" . }}{{- end }}
</main>
{{- partial "footer.html" . -}}
</div>
</body>
</html>

View File

View File

@@ -0,0 +1,7 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
{{ end }}

View File

@@ -0,0 +1,5 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@@ -0,0 +1,3 @@
<footer>
<small>Copyright {{now.Format "2006"}} Me.</small>
</footer>

View File

@@ -0,0 +1,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="{{ "css/style.css"
| relURL }}">
<title>{{ .Site.Title }}</title>
</head>

View File

@@ -0,0 +1,3 @@
<header>
<h1>{{ .Site.Title }}</h1>
</header>

View File

@@ -0,0 +1,6 @@
<nav>
<a href="/">Home</a>
<a href="/about">About</a>
<a href="/resume">Résumé</a>
<a href="/contact"></a>
</nav>