From a519d3379c2ed18d7246b000ec81081bd93a34d2 Mon Sep 17 00:00:00 2001 From: steam Date: Fri, 6 Nov 2026 10:46:34 +0100 Subject: [PATCH] Remove links to the author's GitHub profile Drop the GitHub link from the landing page contact block (the only remaining reference to github.com/poweronoff) and add a make-check guard that fails if it ever reaches public/ again. AGENTS.md records the rule. Only remaining github.com link in the output is PaperMod's own repository in the theme footer attribution, which is not the author's profile. --- AGENTS.md | 4 ++++ Makefile | 2 ++ content/_index.md | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 54dbf15..e6d165f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -80,6 +80,10 @@ out to the project's own site. Card styling lives in A German site needs Impressum and Datenschutz; the about page is part of the site's identity. - Email addresses in content use `{{< obfuscate >}}name@example.com{{< /obfuscate >}}`. +- **No links to the author's GitHub profile** (`github.com/poweronoff`) anywhere + in content or config, and no GitHub social icon — the author asked for those + to be removed. `make check` fails if such a link reaches `public/`. Links to + third-party repositories (e.g. PaperMod in the theme footer) are fine. - The site is a single home page: do not add menu entries or sections without being asked. Taxonomies are disabled in `config.yml` for that reason. - `title` in config and in `content/_index.md` must stay identical, otherwise diff --git a/Makefile b/Makefile index b9cb6ec..f65e473 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,8 @@ check: build ## Build, then verify the generated site || { echo "FAIL: placeholder text found in public/"; exit 1; } @! grep -rl "localhost:1313" public --include='*.html' \ || { echo "FAIL: dev baseURL leaked into public/"; exit 1; } + @! grep -rl "github.com/poweronoff" public --include='*.html' \ + || { echo "FAIL: the author's GitHub profile must not be linked"; exit 1; } @python3 scripts/check-links.py public @echo "ok: site checks passed" diff --git a/content/_index.md b/content/_index.md index afd0d53..85f4ce3 100644 --- a/content/_index.md +++ b/content/_index.md @@ -12,4 +12,4 @@ Hallo, ich bin Stan. Hier sammle ich, was ich baue, schreibe oder ausprobiere Fragen, Feedback oder eine Idee für ein gemeinsames Projekt? Schreib mir an {{< obfuscate >}}blog@poweronoff.click{{< /obfuscate >}}. -Mehr über mich: [Über mich](/about/) · [GitHub](https://github.com/poweronoff) · [LinkedIn](https://www.linkedin.com/in/stan-nowogrudski-53aab1169/) +Mehr über mich: [Über mich](/about/) · [LinkedIn](https://www.linkedin.com/in/stan-nowogrudski-53aab1169/)