forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
80 lines (68 loc) · 2.78 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
layout: default
---
<!-- about.html -->
<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.subtitle }}</p>
</header>
<article>
{% if page.profile -%}
<div class="profile float-{%- if page.profile.align == 'left' -%}left{%- else -%}right{%- endif -%}">
{%- if page.profile.image %}
{%- assign profile_image_path = page.profile.image | prepend: 'assets/img/' -%}
{% if page.profile.image_circular %}
{%- assign profile_image_class = "img-fluid z-depth-1 rounded-circle" -%}
{% else %}
{%- assign profile_image_class = "img-fluid z-depth-1 rounded" -%}
{% endif %}
{% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 30vw, 95vw"{% endcapture %}
{% include figure.html
path = profile_image_path
class = profile_image_class
sizes = sizes
alt = page.profile.image
cache_bust = true
%}
{% endif -%}
{%- if page.profile.more_info %}
<div class="more-info">
{{ page.profile.more_info }}
</div>
{%- endif %}
</div>
{%- endif %}
<div class="clearfix">
{{ content }}
</div>
<!-- News -->
{% if page.news and site.announcements.enabled -%}
<h2><a href="{{ '/news/' | relative_url }}" style="color: inherit;">news</a></h2>
{%- include news.html limit=true %}
{%- endif %}
<!-- Latest posts -->
{% if page.latest_posts -%}
<h2><a href="{{ '/blog/' | relative_url }}" style="color: inherit;">ostatnie posty</a></h2>
{%- include latest_posts.html %}
{%- endif %}
<!-- Selected papers -->
{% if page.selected_papers -%}
<h2><a href="{{ '/publications/' | relative_url }}" style="color: inherit;">polecane publikacje</a></h2>
{%- include selected_papers.html %}
{%- endif %}
<!-- Social -->
{%- 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>