new_site/_layouts/about.html

45 lines
1.1 KiB
HTML

---
layout: default
---
<div class="post">
<header class="post-header">
{% assign name = site.title | split: ' ' %}
<h1 class="post-title"><span class="font-weight-bold">{{ name | first }}</span> {{ name | last }}</h1>
<p class="post-description">{{ page.description }}</p>
</header>
<article>
<div class="row">
<div class="col">
{{ content }}
</div>
{% if page.profile %}
<div class="profile col-4 {% if page.profile.align == 'left' %}order-first{% 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>
{% if page.news %}
{% include news.html %}
{% endif %}
{% if page.social %}
<div class="social">
{% include social.html %}
<div class="contact-note">{{ site.contact_note }}</div>
</div>
{% endif %}
</article>
</div>