diff --git a/config.go b/config.go index 93cebf0..be2180e 100644 --- a/config.go +++ b/config.go @@ -130,13 +130,14 @@ type comments struct { } type configUser struct { - Nick string `mapstructure:"nick"` - Name string `mapstructure:"name"` - Password string `mapstructure:"password"` - Picture string `mapstructure:"picture"` - Emoji string `mapstructure:"emoji"` - Email string `mapstructure:"email"` - Link string `mapstructure:"link"` + Nick string `mapstructure:"nick"` + Name string `mapstructure:"name"` + Password string `mapstructure:"password"` + Picture string `mapstructure:"picture"` + Emoji string `mapstructure:"emoji"` + Email string `mapstructure:"email"` + Link string `mapstructure:"link"` + Identities []string `mapstructure:"identities"` } type configHooks struct { diff --git a/templates/base.gohtml b/templates/base.gohtml index 83f0479..7be069a 100644 --- a/templates/base.gohtml +++ b/templates/base.gohtml @@ -13,6 +13,11 @@ + {{ with user }} + {{ range .Identities }} + + {{ end }} + {{ end }} {{ include "header" . }} {{ template "main" . }} {{ include "footer" . }}