1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Add internet.nl badge to awards

This commit is contained in:
Rohan Kumar 2022-09-23 22:37:15 -07:00
parent f630c8b670
commit 112b9bdcdd
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
4 changed files with 16 additions and 0 deletions

BIN
assets/p/internetnl-web.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -65,6 +65,17 @@ This site is featured in some cool directories.
Awards Awards
------ ------
{{<image-figure id="internetnl-web">}}
{{<picture name="internetnl-web" alt="Badge with text: 100% score in website test, internet.nl">}}
<figcaption itemprop="caption">
[Internet.nl](https://internet.nl/) offers an automated website security check. Relevant buzzwords include IPv6, DNSSEC, TLS, HTTP security headers, and RPKI. [See a report for seirdy.one](https://internet.nl/site/seirdy.one/1716116/).
</figcaption>
{{</image-figure>}}
{{<image-figure id="iso-8601">}} {{<image-figure id="iso-8601">}}
{{< picture name="8601" alt="Bitmap font reading: “Viatrix's ISO 8601 Award! Seirdy's Home, awarded 23/17/22”" class="pix" sf=2 >}} {{< picture name="8601" alt="Bitmap font reading: “Viatrix's ISO 8601 Award! Seirdy's Home, awarded 23/17/22”" class="pix" sf=2 >}}

View file

@ -16,6 +16,7 @@
{{- $img_height = (mul $img_height . | math.Round ) -}} {{- $img_height = (mul $img_height . | math.Round ) -}}
{{- end -}} {{- end -}}
<picture> <picture>
{{- if not (in site.BaseURL ".onion") -}}
{{ with $dark_svg -}} {{ with $dark_svg -}}
{{ $dark_svg_src := . | resources.Fingerprint "md5" -}} {{ $dark_svg_src := . | resources.Fingerprint "md5" -}}
<source <source
@ -23,6 +24,7 @@
type="image/svg+xml" type="image/svg+xml"
media="screen and (prefers-color-scheme: dark)" /> media="screen and (prefers-color-scheme: dark)" />
{{ end -}} {{ end -}}
{{ end -}}
{{ with $dark_jxl -}} {{ with $dark_jxl -}}
{{ $dark_jxl_src := . | resources.Fingerprint "md5" -}} {{ $dark_jxl_src := . | resources.Fingerprint "md5" -}}
<source <source
@ -51,12 +53,14 @@
type="image/png" type="image/png"
media="screen and (prefers-color-scheme: dark)" /> media="screen and (prefers-color-scheme: dark)" />
{{ end -}} {{ end -}}
{{- if not (in site.BaseURL ".onion") -}}
{{ with $light_svg -}} {{ with $light_svg -}}
{{ $light_svg_src := . | resources.Fingerprint "md5" -}} {{ $light_svg_src := . | resources.Fingerprint "md5" -}}
<source <source
srcset="{{ $light_svg_src.RelPermalink }}" srcset="{{ $light_svg_src.RelPermalink }}"
type="image/svg+xml" /> type="image/svg+xml" />
{{ end -}} {{ end -}}
{{ end -}}
{{ with $light_jxl -}} {{ with $light_jxl -}}
{{ $light_jxl_src := . | resources.Fingerprint "md5" -}} {{ $light_jxl_src := . | resources.Fingerprint "md5" -}}
<source <source