Add support for LinkedIn profile
parent
09353cd937
commit
b5369d10d0
|
@ -38,6 +38,11 @@ paginate = 5
|
||||||
value = "MicroBlogUserName"
|
value = "MicroBlogUserName"
|
||||||
authn = false
|
authn = false
|
||||||
|
|
||||||
|
[[params.Identity]]
|
||||||
|
type = "LinkedIn"
|
||||||
|
value = "LinkedInUserName"
|
||||||
|
authn = false
|
||||||
|
|
||||||
[[params.Identity]]
|
[[params.Identity]]
|
||||||
type = "PGP"
|
type = "PGP"
|
||||||
value = "pgp_key_file.txt"
|
value = "pgp_key_file.txt"
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
<link rel="{{ $relMe }}" href="https://twitter.com/{{ .value }}">
|
<link rel="{{ $relMe }}" href="https://twitter.com/{{ .value }}">
|
||||||
{{- 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 "LinkedIn") }}
|
||||||
|
<link rel="{{ $relMe }}" href="https:/linkedin.com/in/{{ .value }}">
|
||||||
{{- else if (eq .type "PGP") }}
|
{{- else if (eq .type "PGP") }}
|
||||||
{{- $relPgp := cond .authn "pgpkey authn" "pgpkey" }}
|
{{- $relPgp := cond .authn "pgpkey authn" "pgpkey" }}
|
||||||
<link rel="{{ $relPgp }}" href="{{ .value }}">
|
<link rel="{{ $relPgp }}" href="{{ .value }}">
|
||||||
|
|
Loading…
Reference in New Issue