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,12 @@
---
title: "{{ replace .Name "-" " " | title }}"
draft: false
Tags: ["minimum vialable product"]
---
![alt](//via.placeholder.com/640x150)
### Tech used
* item
* item
* item

14
archetypes/projects.md Normal file
View File

@@ -0,0 +1,14 @@
---
title: "{{ replace .Name "-" " " | title }}"
draft: false
---
![alt](//via.placeholder.com/640x150)
Description...
### Tech used
* item
* item
* item

View File

@@ -1,8 +1,13 @@
baseURL = 'http://example.org/'
languageCode = 'en-US'
title = 'Fransz Portfolio'
theme = 'bootstrap5'
# Neocities API-key: 099381b32af21a9c2c68e81968081b26
theme = 'Basic'
[module]
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
[params]
author = 'Franz Klotsche'
description = 'Just another web-experiment'
# [module]
# [[module.imports]]
# path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"

View File

@@ -13,5 +13,5 @@ Wie es mir ergangen ist, wo ich jetzt stehe und wo ich mich in einigen Jahren se
### Andere Websites
gitea, linkace
## Mein Lebenslauf
### Mein Lebenslauf
Tabelarisch mit Kontaktformular?

View File

@@ -0,0 +1,8 @@
---
title: "Presentations"
draft: false
---
![alt](//via.placeholder.com/640x150)
Infographics using SVG (Adobe Illustrator, Inkscape) and/or animations using Processing and Adobe After Effects.

View File

@@ -0,0 +1,13 @@
---
title: "Archive"
draft: false
---
![alt](//via.placeholder.com/640x150)
Art and Technology 2011, in Twente Enschede: [redesign art](https://www.tumblr.com/blog/redesignart)
### Tech used
* item
* item
* item

View File

@@ -0,0 +1,6 @@
---
title: "Projects"
draft: false
---
Auf einem Oracle Virtual Private Server habe ich Ubuntu Noble mit Nginx laufen. Zurzeit befinden sich dort zwei aktive (produktive) Webdienste.

14
content/projects/gitea.md Normal file
View File

@@ -0,0 +1,14 @@
---
title: "Gitea"
draft: false
---
![alt](//via.placeholder.com/640x150)
Description...
### Tech used
* item
* item
* item

View File

@@ -0,0 +1,14 @@
---
title: "Linkace"
draft: false
---
![alt](//via.placeholder.com/640x150)
Description...
### Tech used
* item
* item
* item

View File

@@ -4,4 +4,4 @@ date: 2025-11-02T21:49:23+01:00
draft: false
---
curuculum vitae
curriculum vitae

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 }}

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>
<!-- 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 }}

View File

@@ -22,3 +22,9 @@ nav > a {
@media only screen and (min-width: 768px) {
nav { flex-direction: row; }
}
.project-container { display: flex; }
.project-container .project-list { width: 20%; }
.project-container .project { flex: 1; }

View File

@@ -4,16 +4,11 @@
<body>
<div class="container-fluid p-5 bg-primary text-white text-center">
{{- partial "header.html" . -}}
</div>
{{- partial "nav.html" . -}}
<div class="container mt-5">
<div class="row">
<div class="col-sm-4">
<main>
{{- block "main" . }}{{- end }}
</div>
</div>
</main>
</div>
{{- partial "footer.html" . -}}
</body>
</html>