www

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

commit 27643770251ed7ca52052cf4c51ebe983138b134
parent c7c6c434657b391de644277f9d45d461999d0f7d
author: nathanael <nathanael@dalliard.ch>
date:   Wed, 15 Oct 2025 14:03:59 +0000

back to the roots

diffstat:
Mconfig/_default/config.toml | 11-----------
Dcontent/_index.de.md | 4----
Dcontent/_index.en.md | 4----
Acontent/_index.md | 16++++++++++++++++
Acontent/about.md | 8++++++++
Dcontent/bitcoin.de.md | 13-------------
Dcontent/bitcoin.en.md | 16----------------
Acontent/bitcoin.md | 16++++++++++++++++
Dcontent/compass.de.md | 18------------------
Dcontent/compass.en.md | 17-----------------
Acontent/contact.md | 8++++++++
Dcontent/ethics.de.md | 13-------------
Dcontent/ethics.en.md | 13-------------
Acontent/heal.md | 30++++++++++++++++++++++++++++++
Acontent/openbsd.md | 8++++++++
Mlayouts/404.html | 4+++-
Dlayouts/_partials/footer.html | 16----------------
Dlayouts/_partials/header.html | 7-------
Dlayouts/alias.html | 57---------------------------------------------------------
Mlayouts/baseof.html | 16++++------------
Mlayouts/home.html | 3+--
21 files changed, 94 insertions(+), 204 deletions(-)

diff --git a/config/_default/config.toml b/config/_default/config.toml @@ -1,14 +1,3 @@ baseURL = 'https://dalliard.ch/' -defaultContentLanguage = 'en' -defaultContentLanguageInSubdir = true disableHugoGeneratorInject = true disableKinds = ['taxonomy', 'rss'] - -[markup] -[markup.goldmark] -[markup.goldmark.renderer] -unsafe = true - -[languages] -[languages.en] -[languages.de] diff --git a/content/_index.de.md b/content/_index.de.md @@ -1,4 +0,0 @@ ---- -title: start ---- -[bitcoin](/bitcoin/) [ethik](/de/ethik/) diff --git a/content/_index.en.md b/content/_index.en.md @@ -1,4 +0,0 @@ ---- -title: start ---- -[bitcoin](/bitcoin/) [ethics](/ethics/) diff --git a/content/_index.md b/content/_index.md @@ -0,0 +1,16 @@ +--- +title: nathanael +--- +[nathanael](a) +swiss minimalist + +[bitcoin](b) +voting with money + +[h.e.a.l.](h) +thinking for myself + +[openbsd](o) +computing with trust + +[mail](c) [pgp](p) diff --git a/content/about.md b/content/about.md @@ -0,0 +1,8 @@ +--- +title: about +aliases: +- a +--- +coming soon™ + +[↩ go back](/) diff --git a/content/bitcoin.de.md b/content/bitcoin.de.md @@ -1,13 +0,0 @@ ---- -title: bitcoin -aliases: -- b -- btc ---- -das beste geld -- p2p-netzwerk -- proof of work -- blockchain -- begrenzt - -ich organisiere wöchentlich bitcoin-treffen und -wanderungen im oberwallis ([bitcoin wallis](https://bitcoinwallis.ch)) diff --git a/content/bitcoin.en.md b/content/bitcoin.en.md @@ -1,16 +0,0 @@ ---- -title: bitcoin -aliases: -- b -- btc -- /bitcoin -- /b -- /btc ---- -the best money -- p2p-network -- proof of work -- blockchain -- fixed supply - -i organize weekly bitcoin meetups and walks in upper valais ([bitcoin wallis](https://bitcoinwallis.ch)) diff --git a/content/bitcoin.md b/content/bitcoin.md @@ -0,0 +1,16 @@ +--- +title: bitcoin +aliases: +- b +- btc +--- +there is no second best + +- p2p-network +- proof of work +- blockchain +- fixed supply + +i organize weekly bitcoin meetups and walks in upper valais [bitcoin wallis ↗](https://bitcoinwallis.ch) + +[↩ go back](/) diff --git a/content/compass.de.md b/content/compass.de.md @@ -1,18 +0,0 @@ ---- -title: kompass -slug: kompass -aliases: -- k -- /k -- /kompass ---- -vier instinkte - -|| --|-|- -N|neu|neuheit -O|wir|kollektiv -S|alt|vertrautheit -W|ich|individuell - -sich und andere verstehen diff --git a/content/compass.en.md b/content/compass.en.md @@ -1,17 +0,0 @@ ---- -title: compass -aliases: -- c -- /c -- /compass ---- -four instincts - -|| --|-|- -N|new|novelty -E|us|collective -S|old|familiar -W|me|individual - -grok self and others diff --git a/content/contact.md b/content/contact.md @@ -0,0 +1,8 @@ +--- +title: contact +aliases: +- c +--- +[nathanael@dalliard.ch](mailto:nathanael@dalliard.ch) + +[↩ go back](/) diff --git a/content/ethics.de.md b/content/ethics.de.md @@ -1,13 +0,0 @@ ---- -title: ethik -slug: ethik -aliases: -- e -- /ethik ---- -|| --|-|- -H|edonismus|wohl maximieren -E|mpathie|empathie-[kompass](/de/kompass/) -A|moralismus|subjektive moral -L|aisser-faire|bitten, statt fordern diff --git a/content/ethics.en.md b/content/ethics.en.md @@ -1,13 +0,0 @@ ---- -title: ethics -aliases: -- e -- /e -- /ethics ---- -|| --|-|- -H|edonism|maximize pleasure -E|mpathy|empathy-[compass](/compass/) -A|moralism|subjective morality -L|aisser-faire|ask, not demand diff --git a/content/heal.md b/content/heal.md @@ -0,0 +1,30 @@ +--- +title: h.e.a.l. +aliases: +- h +--- +philosophical framework + +|| +-|-|- +H|edonism|maximize pleasure +E|mpathy|empathy-compass +A|moralism|subjective morality +L|aisser-faire|ask, not demand + +every situation is different + +## compass + +four instincts + +|| +-|-|- +N|new|novelty +E|us|collective +S|old|familiar +W|me|individual + +grok self and others + +[↩ go back](/) diff --git a/content/openbsd.md b/content/openbsd.md @@ -0,0 +1,8 @@ +--- +title: openbsd +aliases: +- o +--- +coming soon™ + +[↩ go back](/) diff --git a/layouts/404.html b/layouts/404.html @@ -1,5 +1,7 @@ {{ define "title" }}404 page not found{{ end }} {{ define "main" }} <h1>404</h1> -<p>not found</p> +not found + +<a href="/">↩ go back</a> {{ end }} diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html @@ -1,16 +0,0 @@ -<nav> - <ul> - <li><a href="mailto:nathanael@dalliard.ch">mail</a></li> - <li><a href="/22b0bce1868386a2cc5b63cac61abf796ebd00e2.asc">pgp</a></li> - {{ if .IsTranslated }} - {{ range .Translations }} - <li><a href="{{ .RelPermalink }}" data-lang="{{ .Language.Lang }}">{{ .Language.Lang }}</a></li> - {{ end }} - {{ with resources.Get "www.js" }} - {{ with . | minify | fingerprint }} - <script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" defer></script> - {{ end }} - {{ end }} - {{ end }} - </ul> -</nav> diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html @@ -1,7 +0,0 @@ -{{ with resources.Get "www.svg" }} -{{ with . | minify | fingerprint }} -<a href="{{ site.Home.Permalink }}"> - <svg><use xlink:href="{{ .RelPermalink }}#logo"></use></svg> -</a> -{{ end }} -{{ end }} diff --git a/layouts/alias.html b/layouts/alias.html @@ -1,57 +0,0 @@ -<!doctype html> -<html lang="{{ site.Language.LanguageCode }}"> - <head> - <title>{{ .Permalink }}</title> - <link rel="canonical" href="{{ .Permalink }}"> - <meta charset="utf-8"> - <noscript> - <meta http-equiv="refresh" content="0; url={{ .Permalink }}"> - </noscript> - <script> - ;(function () { - if (window.location.pathname !== '/') { - window.location.replace('{{ .Permalink }}') - return - } - - var getFirstBrowserLanguage = function () { - var nav = window.navigator, - browserLanguagePropertyKeys = ['language', 'browserLanguage', 'systemLanguage', 'userLanguage'], - i, - language - - if (Array.isArray(nav.languages)) { - for (i = 0; i < nav.languages.length; i++) { - language = nav.languages[i] - if (language && language.length) { - return language - } - } - } - - for (i = 0; i < browserLanguagePropertyKeys.length; i++) { - language = nav[browserLanguagePropertyKeys[i]] - if (language && language.length) { - return language - } - } - return 'en' - } - - const languages = { - 'en': '/en/', - 'de': '/de/' - }; - - const savedLanguage = localStorage.getItem('selectedlanguage'); - if (savedLanguage) { - window.location.replace(languages[savedLanguage]); - } else { - const preferLang = getFirstBrowserLanguage().slice(0, 2); - const url = languages[preferLang] || languages['en']; - window.location.replace(url); - } - })() - </script> - </head> -</html> diff --git a/layouts/baseof.html b/layouts/baseof.html @@ -1,14 +1,6 @@ <!doctype html> -<html lang="en"> -<meta charset="utf-8"> -<meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="data:,"> -{{ with resources.Get "www.css" -}} -{{ with . | minify | fingerprint -}} -<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}"> -{{- end -}} -{{ end }} -<title>{{ block "title" . }}{{ .Title }}{{ end }}</title> -<header>{{ partial "header.html" . }}</header> -<main id="{{ .Title }}">{{ block "main" . }}{{ end }}</main> -<footer>{{ partial "footer.html" . }}</footer> +<meta name="color-scheme" content="dark light"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<title>{{ .Title }}</title> +{{ block "main" . }}{{ end }} diff --git a/layouts/home.html b/layouts/home.html @@ -1,4 +1,3 @@ -{{ define "title" }}nathanael dalliard{{ end }} {{ define "main" }} {{ .Content }} -{{- end -}} +{{ end }}