File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -168,4 +168,34 @@ Here is the protocol(steps) to reproduce our work with ease.
168168
169169---
170170
171- {% include profiles.liquid %}
171+ <article >
172+ {% if page.profiles %}
173+ {% for profile in page.profiles %}
174+ <hr>
175+ <div class="profile float-{% if profile.align == 'left' %}left{% else %}right{% endif %}">
176+ {% if profile.image %}
177+ {% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
178+ {% if profile.image_circular %}
179+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
180+ {% else %}
181+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
182+ {% endif %}
183+ {% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 30vw, 95vw"{% endcapture %}
184+ {% include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=profile.image %}
185+ {% endif %}
186+ {% if profile.more_info %}
187+ <div class="more-info">{{ profile.more_info }}</div>
188+ {% endif %}
189+ </div>
190+
191+ <div class="clearfix">
192+ {% if profile.content %}
193+ {% capture profile_content %}{% include_relative {{ profile.content }} %}{% endcapture %}
194+ {{ profile_content | markdownify }}
195+ {% else %}
196+ {{ content }}
197+ {% endif %}
198+ </div>
199+ {% endfor %}
200+ {% endif %}
201+ </article >
You can’t perform that action at this time.
0 commit comments