diff --git a/content/post/2022/11/governmental-infrastructure-website-design-mistakes.md b/content/post/2022/11/governmental-infrastructure-website-design-mistakes.md index 7ca9798a..735738ef 100644 --- a/content/post/2022/11/governmental-infrastructure-website-design-mistakes.md +++ b/content/post/2022/11/governmental-infrastructure-website-design-mistakes.md @@ -15,7 +15,7 @@ Except that it isn't. Infrax came to be in 2006 by merging Interelectra, Iveg, a But the website you're pointed to still comes with the domain name `infrax.be`. Worse, try going to https://infrax.be: you'll be redirected to https://fluvius.be. That's good, right? Except that they forgot to redirect the subdomain `mijn.infrax.be` you use to access your account and register solar panels. To add to the confusion, the logo _did_ change. For people who don't know Infrax equals Fluvius, this site now looks like a phishing attempt. Look at the `?ReturnUrl=` parameter: -![](../infrax.jpg) +![](../infrax.jpg "The old Infrax login screen.") What's up with that, needlessly including the SSL port when it's pointing to `HTTPS` anyway? Things get much worse when trying to log in. The first login attempt failed. I press "back" on the browser to retry and I'm greeted with a "This document is no longer available" expiration error. Breaking that back button is another irritating violation. @@ -25,7 +25,7 @@ Which redirects me to another website to login. Again. Because the cookie at dom The beautiful address I now find myself in is `https://klanten.b2clogin.com/klanten.onmicrosoft.com/b2c_1a_customer_signup_signin/oauth2/v2.0/authorize?client_id=91bb9a0a-f45d-491a-ae0b-43324fbc343a&scope=openid%20profile%20offline_access&redirect_uri=https%3A%2F%2Fmijn.fluvius.be%2Fredirect&client-request-id=0cc2b4d9-ef8f-4478-989f-1af2f4ccfae6&response_mode=fragment&response_type=code&x-client-SKU=msal.js.browser&x-client-VER=2.23.0&client_info=1&code_challenge=oLNa2bV0-9ROEl0F7XG8anOjO4kofUWajxaSFlZwEow&code_challenge_method=S256&nonce=a08fea39-fade-49fd-bef6-2ce17df0c5fd&state=eyJpZCI6IjM4Mjk1YzM2LWQ5ZDctNDk2NS05Zjk4LWZmOTBmNWI2MDIwZiIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D`: -![](../fluvius.jpg) +![](../fluvius.jpg "The shiny new cloud-based Fluvius login screen.") As you all undoubtedly know, `onmicrosoft` has something to do with Microsoft's Office 365 platform, and `b2clogin` is the domain Microsoft uses for their Azure logins. I don't care what tech they use to develop this site, but I do care about transparency and security, and this clearly isn't it. If you choose to login using your electronic identity card, you're again redirected to `idp.iamfas.belgium.be` diff --git a/content/search.md b/content/search.md deleted file mode 100644 index 02eea630..00000000 --- a/content/search.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Search -disableComments: true ---- - -Not finding what you’re looking for? Try your luck here. - -Use `*` to partially match terms. - -{{< searchresults >}} diff --git a/layouts/shortcodes/searchresults.html b/layouts/shortcodes/searchresults.html deleted file mode 100644 index b398aa89..00000000 --- a/layouts/shortcodes/searchresults.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
- - -
-
- -
-
-

- Search results - » -

-
Searching, please wait...
-                                                                                                                                                       -
- - -{{ $p := slice }} -{{ range (where .Site.RegularPages "Section" "!=" "") }} - {{ $post := dict "link" .RelPermalink "title" .Title "content" (substr .Plain 0 200) -}} - {{ $p = $p | append $post -}} -{{ end }} - diff --git a/package.json b/package.json index e7314cc5..df80b148 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "prenote": "node hooks/prenote.js", "precommit": "node hooks/precommit.js", - "search": "echo 'executing Hugo+Pagefind (locally)...' && /opt/homebrew/bin/hugo && /Users/wgroeneveld/.cargo/bin/pagefind --source docs --bundle-dir ../static/_pagefind", + "search": "echo 'executing Hugo+Pagefind (locally)...' && hugo && /usr/local/bin/pagefind --source docs --bundle-dir ../static/_pagefind && hugo serve", "postdeploy": "node hooks/postdeploy.js" }, "repository": { diff --git a/themes/brainbaking-minimal/layouts/_default/_markup/render-image.html b/themes/brainbaking-minimal/layouts/_default/_markup/render-image.html index e9ee4517..9756ddde 100644 --- a/themes/brainbaking-minimal/layouts/_default/_markup/render-image.html +++ b/themes/brainbaking-minimal/layouts/_default/_markup/render-image.html @@ -5,7 +5,7 @@ {{ $url = (printf "%s%s" .Page.Permalink $url) }} {{ end }} - {{ . }} + {{ . }} {{ with .Title }}
{{ . }}
diff --git a/themes/brainbaking-minimal/layouts/_default/single.html b/themes/brainbaking-minimal/layouts/_default/single.html index 6de9fbea..908cd803 100644 --- a/themes/brainbaking-minimal/layouts/_default/single.html +++ b/themes/brainbaking-minimal/layouts/_default/single.html @@ -1,9 +1,9 @@ {{ partial "header" . }} -
+
{{ partial "bigimg" . }} -
+
{{ partial "single-header" . }}
{{ .Content | safeHTML }}