summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/profileMode.css10
-rw-r--r--layouts/_default/index.html5
2 files changed, 15 insertions, 0 deletions
diff --git a/assets/css/profileMode.css b/assets/css/profileMode.css
index 04cf698..78029e8 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 2a1c64f..33fcbdf 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -9,6 +9,11 @@
</div>
{{end}}
<h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}</h1>
+ {{- with .Site.Params.profileMode.socialIcons }}
+ <div class="social-icons">
+ {{ partial "social-icons.html" . }}
+ </div>
+ {{- end }}
</div>
</div>
{{else}} {{/* if not profileMode */}}