File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,16 @@ <h1 class="post-title">
16
16
< div class ="profile float-{%- if page.profile.align == 'left' -%}left{%- else -%}right{%- endif -%} ">
17
17
{%- if page.profile.image %}
18
18
{%- assign profile_image_path = page.profile.image | prepend: 'assets/img/' -%}
19
+
20
+ {% if page.profile.image_cicular %}
21
+ {%- assign profile_image_class = "img-fluid z-dept-1 rounded-circle" -%}
22
+ {% else %}
23
+ {%- assign profile_image_class = "img-fluid z-dept-1 rounded" -%}
24
+ {% endif %}
25
+
19
26
{% include figure.html
20
27
path=profile_image_path
21
- class="img-fluid z-dept-1 rounded"
28
+ class=profile_image_class
22
29
alt=page.profile.image -%}
23
30
{% endif -%}
24
31
{%- if page.profile.address %}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ subtitle: <a href='#'>Affiliations</a>. Address. Contacts. Moto. Etc.
7
7
profile :
8
8
align : right
9
9
image : prof_pic.jpg
10
+ image_cicular : false # crops the image to make it circular
10
11
address : >
11
12
<p>555 your office number</p>
12
13
<p>123 your address street</p>
You can’t perform that action at this time.
0 commit comments