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