Skip to content

Commit 7d36fdf

Browse files
committed
Move socials.
1 parent 8222d5d commit 7d36fdf

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

_layouts/about.liquid

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ layout: default
3939
{% if page.profile.more_info %}
4040
<div class="more-info">{{ page.profile.more_info }}</div>
4141
{% endif %}
42+
{% if page.social %}
43+
<div class="social" style="margin-top: 1rem; text-align: center;">
44+
<div class="contact-icons" style="font-size: 1.6rem;">{% social_links %}</div>
45+
</div>
46+
{% endif %}
4247
</div>
4348
</div>
4449
{% else %}
@@ -79,13 +84,9 @@ layout: default
7984
{% include selected_papers.liquid %}
8085
{% endif %}
8186

82-
<!-- Social -->
83-
{% if page.social %}
84-
<div class="social">
85-
<div class="contact-icons">{% social_links %}</div>
86-
87-
<div class="contact-note">{{ site.contact_note }}</div>
88-
</div>
87+
<!-- Contact Note -->
88+
{% if page.social and site.contact_note %}
89+
<div class="contact-note" style="margin-top: 2rem;">{{ site.contact_note }}</div>
8990
{% endif %}
9091

9192
{% if site.newsletter and site.newsletter.enabled and site.footer_fixed %}

0 commit comments

Comments
 (0)