Umgebaut, dass der PGP Key in <details> und <summary> eingebettet ist.
This commit is contained in:
parent
2ceea76f31
commit
6ac8a3efda
1 changed files with 8 additions and 2 deletions
|
|
@ -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↗</a></small>
|
||||
|
||||
<pre tabindex="0"><code>
|
||||
{{ (print $file ) }}
|
||||
</code></pre>
|
||||
</details>
|
||||
Loading…
Reference in a new issue