diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b10ca8b..878c04a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,7 @@ + {{- partial "identity.html" . }} {{- block "title" . -}} {{ .Site.Title }} {{- end -}} diff --git a/layouts/partials/identity.html b/layouts/partials/identity.html new file mode 100644 index 0000000..b0e33c6 --- /dev/null +++ b/layouts/partials/identity.html @@ -0,0 +1,16 @@ +{{- range .Site.Params.Identity -}} +{{- $relMe := cond .authn "me authn" "me" -}} +{{- if (eq .type "Email") }} + +{{- else if (eq .type "GitHub") }} + +{{- else if (eq .type "GitLab") }} + +{{- else if (eq .type "Twitter") }} + +{{- else if (eq .type "MicroBlog") }} + +{{- else if (eq .type "PGP") }} + +{{- end -}} +{{- end -}} \ No newline at end of file