Umgebaut, dass der PGP Key in <details> und <summary> eingebettet ist.

This commit is contained in:
edi 2024-02-16 10:58:00 +01:00
parent 2ceea76f31
commit 6ac8a3efda

View file

@ -1,5 +1,11 @@
{{ $filename := (path.Join "/static" (.Get "file")) }}
{{ $file := $filename | readFile }}
[PGP Key Download]({{ .Get "file"}})
{{ (print "```\n" $file "\n```") }}
<details {{ .Get "open" }}>
<summary>PGP Key ID: {{ .Get "id" }} </summary>
<small><a href="{{ .Get "file" }}">Hier runterladen</a> oder auf <a href="https://keys.openpgp.org/search?q={{ .Get "id" }}" target="_blank">keys.openpgp.org&nearr;</a></small>
<pre tabindex="0"><code>
{{ (print $file ) }}
</code></pre>
</details>