File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ <div class =" post" >
2+ <article >
3+ {% if page .profiles %}
4+ {% for profile in page .profiles %}
5+ <hr >
6+ <div class =" profile float-{% if profile .align == 'left' %}left{% else %}right{% endif %}" >
7+ {% if profile .image %}
8+ {% assign profile_image_path = profile .image | prepend: 'assets/img/' %}
9+ {% if profile .image_circular %}
10+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
11+ {% else %}
12+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
13+ {% endif %}
14+ {% capture sizes %}(min-width: {{site .max_width }}) {{ site .max_width | minus: 30 | times: 0.3 }}px, (min-width: 576px) 30vw, 95vw"{% endcapture %}
15+ {% include figure .liquid loading ="eager" path =profile_image_path class =profile_image_class sizes =sizes alt =profile .image %}
16+ {% endif %}
17+ {% if profile .more_info %}
18+ <div class =" more-info" >{{ profile .more_info }}</div >
19+ {% endif %}
20+ </div >
21+
22+ <div class =" clearfix" >
23+ {% if profile .content %}
24+ {% capture profile_content %}{% include_relative {{ profile .content }} %}{% endcapture %}
25+ {{ profile_content | markdownify }}
26+ {% else %}
27+ {{ content }}
28+ {% endif %}
29+ </div >
30+ {% endfor %}
31+ {% endif %}
32+ </article >
33+ </div >
You can’t perform that action at this time.
0 commit comments