diff --git a/assets/css/profileMode.css b/assets/css/profileMode.css index 04cf6983..78029e89 100644 --- a/assets/css/profileMode.css +++ b/assets/css/profileMode.css @@ -27,3 +27,13 @@ img { } } + +.social-icons { + padding: 16px; +} + +.social-icons a { + margin: 2px; + padding: 6px; + font-size: 1.4em; +} \ No newline at end of file diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 2a1c64fd..33fcbdf5 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -9,6 +9,11 @@ {{end}}

{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}

+ {{- with .Site.Params.profileMode.socialIcons }} +
+ {{ partial "social-icons.html" . }} +
+ {{- end }} {{else}} {{/* if not profileMode */}}