homeInfo : add socialIcons at bottom

* can be disabled by not having Params.socialIcons as variable
* profileMode overrides homeInfo mode
This commit is contained in:
Aditya Telange 2020-08-27 20:03:00 +05:30
parent faf0ebefa3
commit dbaa709c97
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
3 changed files with 11 additions and 6 deletions

View File

@ -88,4 +88,10 @@
display: inline;
color: var(--secondary);
font-size: 14px;
}
.social-icons a {
margin: 2px;
padding: 6px;
font-size: 1.4em;
}

View File

@ -31,9 +31,3 @@ img {
.social-icons {
padding: 16px;
}
.social-icons a {
margin: 2px;
padding: 6px;
font-size: 1.4em;
}

View File

@ -6,5 +6,10 @@
<section class="entry-content">
<p>{{ .Content | plainify | htmlUnescape }}</p>
</section>
{{- with $.Site.Params.socialIcons }}
<div class="social-icons">
{{ partial "social-icons.html" . }}
</div>
{{- end }}
</article>
{{end}}