Initial import of Hugo site to Forgejo
This commit is contained in:
commit
cb1ba0317f
1259 changed files with 236349 additions and 0 deletions
7
layouts/shortcodes/pgpkey.html
Normal file
7
layouts/shortcodes/pgpkey.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{{- /* pgpkey — show your ASCII-armored public key from static/keys/iman-alipour-pgp.asc */ -}}
|
||||
{{- $path := .Get 0 | default "static/keys/iman-alipour-pgp.asc" -}}
|
||||
{{- $key := readFile $path | htmlEscape -}}
|
||||
<details>
|
||||
<summary>Show ASCII-armored key</summary>
|
||||
<pre style="font-size:0.85em; overflow-x:auto; padding:0.75rem;">{{$key}}</pre>
|
||||
</details>
|
||||
Loading…
Add table
Add a link
Reference in a new issue