pages/_layouts/about.html
JD 4849b5a8dc
Issue 183 (#192)
* Issue 183

* CSS fixes for : 
  * Citations
  * Footer
  * Project Cards
  * Code background

* Fix dark mode edge cases (mainly with distill)

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
2021-03-29 11:49:42 -04:00

51 lines
1.3 KiB
HTML

---
layout: default
---
<div class="post">
<header class="post-header">
<h1 class="post-title">
{% if site.title == "blank" %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}
</h1>
<p class="desc">{{ page.description }}</p>
</header>
<article>
{% if page.profile %}
<div class="profile float-{% if page.profile.align == 'left' %}left{% else %}right{% endif %}">
{% if page.profile.image %}
<img class="img-fluid z-depth-1 rounded" src="{{ page.profile.image | prepend: '/assets/img/' | relative_url }}">
{% endif %}
{% if page.profile.address %}
<div class="address">
{{ page.profile.address }}
</div>
{% endif %}
</div>
{% endif %}
<div class="clearfix">
{{ content }}
</div>
{% if page.news %}
{% include news.html %}
{% endif %}
{% if page.selected_papers %}
{% include selected_papers.html %}
{% endif %}
{% if page.social %}
<div class="social">
<div class="contact-icons">
{% include social.html %}
</div>
<div class="contact-note">{{ site.contact_note }}</div>
</div>
{% endif %}
</article>
</div>