Conditional "authn" for PGP Key
parent
fc7dddfae6
commit
09353cd937
|
@ -11,6 +11,7 @@
|
||||||
{{- else if (eq .type "MicroBlog") }}
|
{{- else if (eq .type "MicroBlog") }}
|
||||||
<link rel="{{ $relMe }}" href="https://micro.blog/{{ .value }}">
|
<link rel="{{ $relMe }}" href="https://micro.blog/{{ .value }}">
|
||||||
{{- else if (eq .type "PGP") }}
|
{{- else if (eq .type "PGP") }}
|
||||||
<link rel="pgpkey authn" href="{{ .value }}">
|
{{- $relPgp := cond .authn "pgpkey authn" "pgpkey" }}
|
||||||
|
<link rel="{{ $relPgp }}" href="{{ .value }}">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
Loading…
Reference in New Issue