www

website
git clone ssh://anon@src.dalliard.ch/www
log | files | refs

commit 36536e27c523b46bac8524f490248d0356c9902f
parent d28bb60e8a6265b521a6cbba1804a9f9dddeee66
author: nathanael <nathanael@dalliard.ch>
date:   Sat, 22 Nov 2025 16:12:32 +0000

less layouts

diffstat:
Rcontent/uses.md -> content/uses/_index.md | 0
Rcontent/not/_index.md -> content/uses/not/_index.md | 0
Rcontent/not/infomaniak.md -> content/uses/not/infomaniak.md | 0
Rcontent/not/tuta.md -> content/uses/not/tuta.md | 0
Clayouts/section.html -> layouts/log/section.html | 0
Dlayouts/not/page.html | 7-------
Dlayouts/not/section.html | 7-------
Mlayouts/page.html | 4+++-
Mlayouts/section.html | 7+++----
Dlayouts/why/page.html | 7-------
Dlayouts/why/section.html | 7-------
11 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/content/uses.md b/content/uses/_index.md diff --git a/content/not/_index.md b/content/uses/not/_index.md diff --git a/content/not/infomaniak.md b/content/uses/not/infomaniak.md diff --git a/content/not/tuta.md b/content/uses/not/tuta.md diff --git a/layouts/section.html b/layouts/log/section.html diff --git a/layouts/not/page.html b/layouts/not/page.html @@ -1,7 +0,0 @@ -{{ define "main" }} -<h1>{{ .Title }}</h1> -{{ .Content }} -<small> -<a href="/x/">↩</a> -</small> -{{ end }} diff --git a/layouts/not/section.html b/layouts/not/section.html @@ -1,7 +0,0 @@ -{{ define "main" }} -<h1>{{ .Title }}</h1> -{{ .Content }} -<small> -<p><a href="/u/">↩</a></p> -</small> -{{ end }} diff --git a/layouts/page.html b/layouts/page.html @@ -9,6 +9,8 @@ </time> </p> {{ end }} -<a href=/>↩</a> +{{ with .Parent }} +<a href="{{ .RelPermalink }}">↩</a> +{{ end }} </small> {{ end }} diff --git a/layouts/section.html b/layouts/section.html @@ -1,10 +1,9 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} -{{ range .Pages }} -<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> -{{ end }} <small> -<p><a href="/">↩</a></p> +{{ with .Parent }} +<a href="{{ .RelPermalink }}">↩</a> +{{ end }} </small> {{ end }} diff --git a/layouts/why/page.html b/layouts/why/page.html @@ -1,7 +0,0 @@ -{{ define "main" }} -<h1>{{ .Title }}</h1> -{{ .Content }} -<small> -<a href="/w/">↩</a> -</small> -{{ end }} diff --git a/layouts/why/section.html b/layouts/why/section.html @@ -1,7 +0,0 @@ -{{ define "main" }} -<h1>{{ .Title }}</h1> -{{ .Content }} -<small> -<p><a href="/">↩</a></p> -</small> -{{ end }}