bit-101 Part 3 + config.toml (hugo.toml)

This commit is contained in:
Franz Klotsche
2025-11-05 21:00:45 +01:00
parent b6fc1d45e0
commit 9b763448d3
14 changed files with 335 additions and 16 deletions

View File

@@ -0,0 +1 @@
<div>This is a footer</div>

View File

@@ -0,0 +1,6 @@
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Sum something up</title>
</head>

View File

@@ -0,0 +1,5 @@
<nav>
<a href="/">Home</a>
<a href="/page">LL-CAT</a>
<a href="/tags">Ports and Apps</a>
</nav>

View File

@@ -0,0 +1,16 @@
<li>
<h3>
<a href="{{ .RelPermalink }}">
{{ .Title }}
</a>
</h3>
{{ if .PublishDate }}
<p>Date: {{ .PublishDate }}</p>
{{ end }}
{{ if .Params.Tags }}
<p>Tags: {{ partial "tags.html" . -}}
{{ end }}
{{ if .Summary }}
<p>Summary: {{ .Summary }}</p>
{{ end }}
</li>

View File

@@ -0,0 +1,3 @@
{{ range .Params.tags }}
<a href="{{ add (absURL `tags/`) (.) }}">{{ . }}</a>
{{ end }}